Line 72: |
Line 72: |
| yum localinstall smeserver-inventory-tools-1-'''x'''.i386.rpm | | yum localinstall smeserver-inventory-tools-1-'''x'''.i386.rpm |
| Where'' "'''x'''" ''is the new version number | | Where'' "'''x'''" ''is the new version number |
| + | ==Special commands== |
| + | To view OCS and GLPI's configuration, you can type the following at the prompt: |
| + | config show ocs |
| + | config show glpi |
| + | You can change a few parameters: |
| + | DB parameter | Options | Default | Explanation |
| + | # HTTPS | on/off | off | Enable/Disable forced https mode of web interfaces |
| + | # PublicAccess | local/global | local | Accessibility of web interfaces |
| + | # MaxUpload | xM | 100M | Max uploadable file size |
| + | # InventoryAccess | local/global | global | Accessibility of OCS Server (to receive inventories) |
| + | # InventoryDelay | >1 | 600 | Time to wait (sec) to avoid server overload (Agent cron) |
| | | |
| + | After any change to OCS or GLPI configuration, you should apply modifications by typing the following at the prompt: |
| + | signal-event domain-modify |
| + | It will expand and restart needed templates and services in one command! |
| ==Uninstallation== | | ==Uninstallation== |
| To uninstall OCS Reports and GLPI, just hit the following command: | | To uninstall OCS Reports and GLPI, just hit the following command: |
Line 151: |
Line 165: |
| For troubleshooting, look at the log file in ''C:\ocs-ng\COMPUTER_NAME.log'' | | For troubleshooting, look at the log file in ''C:\ocs-ng\COMPUTER_NAME.log'' |
| ---- | | ---- |
− | ===MySQL importation=== | + | ===Importing ''ocsagent.exe'' in MySQL=== |
| The main advantage of this method is that you can send the standalone executable by Internet very quickly or even put the standalone executable on a floppy disk as it's only 65KB! How powerful looks your old floppy disk drive now? | | The main advantage of this method is that you can send the standalone executable by Internet very quickly or even put the standalone executable on a floppy disk as it's only 65KB! How powerful looks your old floppy disk drive now? |
| | | |
Line 357: |
Line 371: |
| [[Image:GLPI-sync-OCS-2.png]]<br> | | [[Image:GLPI-sync-OCS-2.png]]<br> |
| ---- | | ---- |
− |
| |
− | =Special commands=
| |
− | To view OCS and GLPI's configuration, you can type the following at the prompt:
| |
− | config show ocs
| |
− | config show glpi
| |
− | You can change a few parameters:
| |
− | DB parameter | Options | Default | Explanation
| |
− | # HTTPS | on/off | off | Enable/Disable forced https mode of web interfaces
| |
− | # PublicAccess | local/global | local | Accessibility of web interfaces
| |
− | # MaxUpload | xM | 100M | Max uploadable file size
| |
− | # InventoryAccess | local/global | global | Accessibility of OCS Server (to receive inventories)
| |
− | # InventoryDelay | >1 | 600 | Time to wait (sec) to avoid server overload (Agent cron)
| |
− |
| |
− | After any change to OCS or GLPI configuration, you should apply modifications by typing the following at the prompt:
| |
− | signal-event domain-modify
| |
− | It will expand and restart needed templates and services in one command!
| |
− |
| |
| =Additional information= | | =Additional information= |
| *[http://www.ocsinventory-ng.org/ OCS website] | | *[http://www.ocsinventory-ng.org/ OCS website] |