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 Inventory Error:

Hi, Team thanks for this greate tool i am trying to use the SNMP Scan Option but i don't see the informacion in the Ocs Inventory Server

Server Information:

OCS Server Version 2.12.1

Ocsinventory unified agent for UNIX, Linux and MacOSX 2.10.0

1 - Log of the Client

';

[Mon Jan 22 10:08:12 2024][debug] =END=SERVER RET======

[Mon Jan 22 10:08:12 2024][debug] Calling handlers : `end_handler'

[Mon Jan 22 10:08:12 2024][debug] [snmpscan] Calling snmp_end_handler

[Mon Jan 22 10:08:12 2024][debug] [snmpscan] Snmp: Scanning network

[Mon Jan 22 10:08:12 2024][debug]  - Net::Netmask loaded

[Mon Jan 22 10:08:12 2024][debug]  - nmap found

[Mon Jan 22 10:08:12 2024][debug]  - Net::Ping loaded

[Mon Jan 22 10:08:12 2024][debug] [snmpscan] Scanning 192.168.255.253/30 with ping

[Mon Jan 22 10:08:12 2024][debug] [snmpscan] Found 192.168.255.253

[Mon Jan 22 10:08:12 2024][debug] [snmpscan] Found 192.168.255.254

[Mon Jan 22 10:08:12 2024][debug] [snmpscan] Snmp: Ending Scanning network

[Mon Jan 22 10:08:12 2024][debug] [snmpscan] Scanning 192.168.255.253 device

[Mon Jan 22 10:08:12 2024][debug] [snmpscan] Scanning 192.168.255.254 device

[Mon Jan 22 10:08:12 2024][info] [snmpscan] No more SNMP device to scan

[Mon Jan 22 10:08:12 2024][debug] checking XML

[Mon Jan 22 10:08:12 2024][debug] sending XML

[Mon Jan 22 10:08:12 2024][debug] sending: <?xml version="1.0" encoding="UTF-8"?>

<REQUEST>

  <DEVICEID>bditinv01-2024-01-18-18-48-04</DEVICEID>

  <QUERY>SNMP</QUERY>

</REQUEST>

[Mon Jan 22 10:08:12 2024][debug] [snmpscan] End snmp_end_handler :)

[Mon Jan 22 10:08:12 2024][debug] [download] Calling download_end_handler

[Mon Jan 22 10:08:12 2024][info] [download] Beginning work. I am 69726.

[Mon Jan 22 10:08:12 2024][info] [download] Option turned off. Exiting.

[Mon Jan 22 10:08:12 2024][debug] [download] End of work...

2 - TCPDUMP In the Agent Server

in Tcp Dump i see the request and response (OK) no Error 

3 - SNMPWALK

snmpwalk -v2c -c snmpadmin 192.168.255.253 1.3.6.1.2.1.1.5

SNMPv2-MIB::sysName.0 = STRING: SW_FO_MF_01 

in OCS Inventory NG agent for Unix by (160 points)
edited by

1 Answer

0 votes
Hi,

Did you configure the server part ?

Consult the documentation here => https://wiki.ocsinventory-ng.org/06.Network-Discovery-with-OCS-Inventory-NG/Using-SNMP-scan-feature/

Regards
by (90.4k points)
 
Powered by Question2Answer
...