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.

SNMP isn't working

Hello,

I try to recover my printers and switchs with SNMP but he's not working. I use the command on my server Debian 11 where OCS Inventory Server is install :

ocsinventory-agent --debug --server http://@ip/ocsinventory --nosoftware

Before that, I've configure the SNMP in OCS

When I use this command, I get this error at almost the very end :

Cannot open pid file: Permission denied at /usr/local/share/perl/5.36.0/Ocsinventory/Agent/Modules/Download.pm line 848.

But the file has the permissions.

However the printers and switchs are recovered in IpDiscover

Thanks in advance

in SNMP by (120 points)
edited by

1 Answer

0 votes

for the snmp working you need to use https on the client connection to the server:

https://miloszengel.com/ocs-inventory-ng-2-5-install-guide-on-debian-stretch-with-ssl-and-deployment/5/

by (160 points)
 
Powered by Question2Answer
...