Welcome to OCS Inventory NG community support, where you can ask questions and receive answers from other members of the community.

Please ask questions only in English or French.

Release 2.12.3 available

The official documentation can be found on https://wiki.ocsinventory-ng.org. Read it before asking your question.

independent databases on same server

hello to all, I would like to know if I can configure ocs to have the inventory separately of three companies in the same server in independent databases.
localhost / company1, localhost / company2, localhost / company3. I was doing tests and I managed to create different databases and redirect to each company separately. But when sending data with the agent does not work, since the only address that you recognize the agent is http: //xx.xx.xx.xx.xx/ocsreports. Is there a way to modify this? If it is not possible, I would like to know if, when uploading an inventory created manually (xml), each one can be sent to a different database.
I tried to change in the options of server configuration in interface By default (http: // localhost: 80 / ocsinventory), by http: // localhost: 80 / company1 but it does not work, on local importation, show the message Error HTTP/1.1 301 Moved Permanently To server: http://localhost:80/company1
Any suggestions?
regards

in Administrative console by (450 points)

1 Answer

0 votes
 
Best answer
OCS can inventory many different network on same database : just need to put a tag for each network and then allow user to see only their tag.
by (22k points)
selected by
 
Powered by Question2Answer
...