Good morning, how are you?
What settings should I adjust so that I can import an .ocs file generated by the agent installed on the computer, choosing the option when installing "local inventory"?
My server is configured in https, but I have already changed the configuration from http: // localhost: 80 / ocsinventory
for:
https: // localhost: 443 / ocsinventory
I'm currently using this:
https: // server-ip: 443 / ocsinventory
Error: Erro 0 / php_network_getaddresses: getaddrinfo failed: Temporary failure in name resolution
https: // localhost / ocsinventory
https: // server-ip / ocsinventory
But whenever I try to import I get different errors.
Do I need to adjust something in Apache?
When I use the script it works, see:
root @ ocsweb: ~ / scripts #
root @ ocsweb: ~ / scripts # perl ocsinventory-injector.pl -v -f /home/usuario/PCX-XX-2020-09-01-16-06-20.ocs --cafile / root / certificate / cacert. pem -u https: // IP-SERVER: 443 / ocsinventory
Loading /home/usuario/PCX-XX-2020-09-01-16-06-20.ocs...OK
root @ ocsweb: ~ / scripts #
Thank you.