itop-tickets.htm 3.9 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108
  1. <html>
  2. <head>
  3. <title>iTop Installation Help</title>
  4. <style>
  5. body {
  6. font-family: Verdana,Arial,Helvetica,Sans-Serif;
  7. font-size: 10pt;
  8. margin: 0;
  9. padding: 0;
  10. }
  11. #banner {
  12. display: block;
  13. height: 60px;
  14. padding: 5px;
  15. line-height: 24px;
  16. vertical-align: middle;
  17. background: url(../images/itop-logo.png) no-repeat #f6f6f6;
  18. background-position: 5px 5px;;
  19. }
  20. #banner span {
  21. margin-left: 150px;
  22. padding-top: 12px;
  23. text-align: center;
  24. font-size: 24px;
  25. line-height: 24px;
  26. font-weight: bold;
  27. color: #1C94C4;
  28. display: block;
  29. }
  30. #content {
  31. margin: 20px;
  32. }
  33. h2 {
  34. padding-left: 60px;
  35. line-height: 48px;
  36. }
  37. #Config {
  38. background: url(../modules/itop-config-mgmt-1.0.0/images/database.png) no-repeat transparent;
  39. }
  40. #Service {
  41. background: url(../modules/itop-service-mgmt-1.0.0/sla.png) no-repeat transparent;
  42. }
  43. #Request {
  44. background: url(../modules/itop-request-mgmt-1.0.0/images/user-request-deadline.png) no-repeat transparent;
  45. }
  46. #Incident {
  47. background: url(../modules/itop-incident-mgmt-1.0.0/images/incident-escalated.png) no-repeat transparent;
  48. }
  49. #Change {
  50. background: url(../modules/itop-change-mgmt-1.0.0/images/change.png) no-repeat transparent;
  51. }
  52. #Problem {
  53. background: url(../modules/itop-problem-mgmt-1.0.0/images/problem.png) no-repeat transparent;
  54. }
  55. #KnownErrors {
  56. background: url(../modules/itop-knownerror-mgmt-1.0.0/images/known-error.png) no-repeat transparent;
  57. }
  58. a.internal {
  59. color: #1C94C4;
  60. text-decoration: none;
  61. }
  62. a.internal:hover {
  63. text-decoration: underline;
  64. }
  65. .code {
  66. background-color: #ccc;
  67. padding: 10px;
  68. border: 1px solid #999;
  69. font-family: Courier, Courier-New, monospace;
  70. }
  71. </style>
  72. </head>
  73. <body>
  74. <div id="banner"><span>Installation Help</span></div>
  75. <div id="content">
  76. <h1>Completing the iTop installation for workflow management</h1>
  77. <h2>Overview</h2>
  78. <p>In order to operate properly, iTop maintenance operations and asynchronous tasks must be executed on a regular basis.
  79. In order to ease the installation, all the background tasks have been grouped to be launched from a single file: <tt>webservices/cron.php</tt></p>
  80. <p>The following features require the activation of cron.php</p>
  81. <ul>
  82. <li><b>Asynchronous emails</b>. By default, this option is disabled. To enable it, set 'email_asynchronous' to 1 in the configuration file</li>
  83. <li><b>Check ticket SLA</b>. Tickets reaching the limits will be passed into Escalation TTO/TTR states</li>
  84. </ul>
  85. </p>
  86. <p>For more information about cron.php, check the <a href="http://wiki.openitop.org/doku.php">iTop Wiki</a></p>
  87. <h2>Scheduling cron.php on Windows</h2>
  88. <ol>
  89. <li>Edit the file <em>&lt;itop root&gt</em>/webservices/<b>cron.params</b> to set the credentials used for cronified tasks (requires administator privileges)</li>
  90. <li>Edit the file <em>&lt;itop root&gt</em>/webservices/<b>cron.cmd</b>, and set the relevant path for your installation of PHP. If you care about security, it is recommended to change also the path to the parameters file <em>&lt;itop root&gt</em>/webservices/<b>cron.params</b> and move this file to a place where its content is not served by the web server.</li>
  91. <li>Schedule the execution of cron.cmd:
  92. <pre>schtasks.exe /create /tn "iTop CRON" /sc minute /mo 1 /tr "\"<em>&lt;itop root&gt</em>/webservices/cron.cmd\""</pre>
  93. </li>
  94. </ol>
  95. <h2>Scheduling cron.php on Linux/Unix</h2>
  96. <ol>
  97. <li>Edit the file <em>&lt;itop root&gt</em>/webservices/<b>cron.params</b> to set the credentials used for cronified tasks (requires administator privileges)</li>
  98. <li>If you care about security: move the file <em>&lt;itop root&gt</em>/webservices/<b>cron.params</b> into a directory not in the scope of the web server (Apache), and make it be readable only by the account that will execute the cron</li>
  99. <li>Edit the crontab and add the following line:
  100. <pre>* * * * * /usr/bin/php <em>&lt;itop root&gt</em>/webservices/cron.php --param_file=<em>&lt;itop root&gt</em>/webservices/cron.params</pre>
  101. </li>
  102. </ol>
  103. </div><!-- End of content -->
  104. </body>
  105. </html>