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 Scan not populate my OCS

Hi i try to get on OCS Server data from my devices that not support OCS Agent so i setup snmp server on the host and give permissions to my host that are doing the snmp scan to get the values and send do OCS Server.

when i do a snmwalk comand host agent to the snmp host i get the value so snmp is ok.

[root@ocsinventory-ng ~]# snmpwalk -Os -c xxxxx -v 2c 192.168.xx.xx sysName
sysName.0 = STRING: vm-ecreator.example.com
[root@ocsinventory-ng ~]#

My log on ocsagent i see that device is scanning

[Fri Feb  5 03:54:36 2021][debug] [snmpscan] Scanning 192.168.xx.xx device

More logs from my ocs-agent:

[Fri Feb  5 03:52:22 2021][debug] [download] Calling download_start_handler
[Fri Feb  5 03:52:22 2021][debug]  - LWP loaded
[Fri Feb  5 03:52:22 2021][debug]  - LWP::Protocol::https loaded
[Fri Feb  5 03:52:22 2021][debug] [snmpscan] Calling snmp_start_handler
[Fri Feb  5 03:52:22 2021][debug]  - Net::SNMP loaded
[Fri Feb  5 03:52:22 2021][debug] Compress::Zlib is available.
[Fri Feb  5 03:52:22 2021][debug] Calling handlers : `prolog_writer'
[Fri Feb  5 03:52:22 2021][debug] sending XML
[Fri Feb  5 03:52:22 2021][debug] sending: <?xml version="1.0" encoding="UTF-8"?>

    <PARAM CONDITION_VALUE="sysName" CONDITION_OID="1.3.6.1.2.1.1.5" TYPE="SNMP_TYPE" LABEL_NAME="NOME_SERVIDOR" TABLE_TYPE_NAME="snmp_servidores_snmp" OID="1.3.6.1.2.1.1.5" TYPE_NAME="Servidores_SNMP" /> <PARAM USERNAME="" NAME="xxxx" AUTHPASSWD="" AUTHKEY="" TYPE="COMMUNITY" VERSION="2c" />    <NAME>SNMP</NAME>
in OCS Inventory NG agent for Unix by (160 points)

3 Answers

0 votes
Hi,

How have you installed the agent ? manually or with rpm ?

Regards

Frank
by (90.2k points)
0 votes
hi try with both from rpm package and compiling the source. now we are running from package ocsinventory-agent-2.8.0-1.el8.ocs.x86_64
by (160 points)
+1 vote
Hello,

i have same problem i install local agent version 2.8.1 on linux server but not go .

Help please
by (160 points)
 
Powered by Question2Answer
...