Talk:OCS Inventory Tools

From SME Server
Revision as of 23:39, 4 November 2007 by Cool34000 (talk | contribs)
Jump to navigation Jump to search

a. A big warning needs to be added that deployment does not work. (building a package)

b. /glpi logs in but there is nothing to see, are there other steps to do ?

c. cactus, did you revert more than you intended ?
see http://wiki.contribs.org/index.php?title=OCS_Reports_and_GLPI&oldid=5868
and the current fr version, there are manual references and OCS usage
I was going to remove the deployment section when i couldn't get it to work but it was all gone ;-)


Snoble 06:46, 4 November 2007 (MST)


Yes, deployment does not work right now. I'm trying to fix it. First thing, you need to delete this line on Apache template 97ocs:

php_admin_value open_basedir /opt/inventory/ocs/

Now the problem is that OCS locates the "download" folder in /home/e-smith/files/ibays/Primary/html/download/ instead of /opt/inventory/ocs/download

I think they use the Apache real "DocumentRoot" to locate this folder... If you know a workaround, I'm listening! Adding the download folder in Primary ibay with www:www 0770 corrected the upload problem but this folder shouldn't go in the Primary ibays for many reasons!


Cool34000

Stefen, I've added a few pics for GLPI. It's not very detailled but at least people will know how to sync GLPI with OCS.

Maybe we should add back IP discovery and deployment sections and make a warning box to warn people that ipdiscovery has not been tested yet and that deployment do not work right now. That's what I did in the French article (as I translated the modified article into French while you were reverting changes) As soon as I will find a fix for the download folder, I will build a new RPM.


Cool34000

Hi again...

I've made a new RPM with a few modifications. New RPM&SRPM can be found here (as soon as mirors will sync)

  • index.php was fixed by adding the following line to fix the location of the download folder:
$_SERVER["DOCUMENT_ROOT"]="/opt/inventory/ocs";
  • ocsagent.exe was added to ./ocs/files/ (found this info in guide.pdf)
  • Apache template was modified to allow upload. I don't know if the 1st modification is useful:
Alias /download /opt/inventory/ocs/download
...
php_admin_value open_basedir /opt/inventory/ocs:/tmp

Cool34000