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 does not scan the network, what could it be?

I have OCS 2.9.2 Server installed and 2.9.1 the agent, I made the settings according to the documentation, I have no errors in the logs, but snmp cannot perform the scanner on the network, what could it be?

[Tue Mar  1 17:07:28 2022][debug] =END=SERVER RET======

[Tue Mar  1 17:07:28 2022][debug] Calling handlers : `end_handler'

[Tue Mar  1 17:07:28 2022][debug] [snmpscan] Calling snmp_end_handler

[Tue Mar  1 17:27:18 2022][debug] Ocsinventory unified agent for UNIX, Linux and MacOSX 2.9.1

[Tue Mar  1 17:27:18 2022][debug] Log system initialised (File)

[Tue Mar  1 17:27:18 2022][debug] --scan-homedirs missing. Don't scan user directories

[Tue Mar  1 17:27:18 2022][debug] Accountinfo file: /var/lib/ocsinventory-agent/https:__debian_ocsinventory/ocsinv.adm

[Tue Mar  1 17:27:18 2022][debug] A TAG seems to already exist in the ocsinv.adm file. The -t parameter will be ignored. Don't forget that the TAG value wil$

[Tue Mar  1 17:27:18 2022][debug] OCS Agent initialised

[Tue Mar  1 17:27:18 2022][debug] Turns hooks on for /etc/ocsinventory/modules.conf

[Tue Mar  1 17:27:18 2022][debug] Ocsinventory unified agent for UNIX, Linux and MacOSX 2.9.1

[Tue Mar  1 17:27:18 2022][debug] Log system initialised (File)

[Tue Mar  1 17:27:18 2022][debug] Ocsinventory unified agent for UNIX, Linux and MacOSX 2.9.1

[Tue Mar  1 17:27:18 2022][debug] Log system initialised (File)

[Tue Mar  1 17:27:18 2022][debug] Calling handlers : `start_handler'

[Tue Mar  1 17:27:18 2022][debug] [snmpscan] Calling snmp_start_handler

[Tue Mar  1 17:27:18 2022][debug]  - Net::SNMP loaded

[Tue Mar  1 17:27:18 2022][debug] [download] Calling download_start_handler

[Tue Mar  1 17:27:18 2022][debug]  - LWP loaded

[Tue Mar  1 17:27:18 2022][debug]  - LWP::Protocol::https loaded

[Tue Mar  1 17:27:18 2022][debug] Compress::Zlib is available.

[Tue Mar  1 17:27:18 2022][debug] Calling handlers : `prolog_writer'

[Tue Mar  1 17:27:18 2022][debug] checking XML

[Tue Mar  1 17:27:18 2022][debug] sending XML

[Tue Mar  1 17:27:18 2022][debug] sending: <?xml version="1.0" encoding="UTF-8"?>

<REQUEST>

  <DEVICEID>debian-2022-02-26-08-45-50</DEVICEID>

  <QUERY>PROLOG</QUERY>

</REQUEST>

[Tue Mar  1 17:27:18 2022][debug] =BEGIN=SERVER RET======

[Tue Mar  1 17:27:18 2022][debug] $VAR1 = '<?xml version=\'1.0\' encoding=\'UTF-8\'?>

<REPLY>

  <RESPONSE>SEND</RESPONSE>

  <INVENTORY_ON_STARTUP>1</INVENTORY_ON_STARTUP>

  <PROLOG_FREQ>4</PROLOG_FREQ>

  <OPTION>

    <PARAM IPDISC_LAT="100">192.168.1.0</PARAM>

    <NAME>IPDISCOVER</NAME>

[Tue Mar  1 17:27:18 2022][debug] =END=SERVER RET======

[Tue Mar  1 17:27:18 2022][debug] PROLOG_FREQ has not changed since last process

[Tue Mar  1 17:27:18 2022][debug] Calling handlers : `prolog_reader'

[Tue Mar  1 17:27:18 2022][debug] [snmpscan] Calling snmp_prolog_reader

[Tue Mar  1 17:27:18 2022][debug] [download] Calling download_prolog_reader

[Tue Mar  1 17:27:18 2022][debug] [download] <?xml version='1.0' encoding='UTF-8'?>

<REPLY>

  <RESPONSE>SEND</RESPONSE>

  <INVENTORY_ON_STARTUP>1</INVENTORY_ON_STARTUP>

  <PROLOG_FREQ>4</PROLOG_FREQ>

  <OPTION>

    <PARAM IPDISC_LAT="100">192.168.1.0</PARAM>

    <NAME>IPDISCOVER</NAME>

  </OPTION>

  <OPTION>

    <NAME>DOWNLOAD</NAME>

    <PARAM FRAG_LATENCY="10" CYCLE_LATENCY="60" PERIOD_LENGTH="10" TIMEOUT="30" PERIOD_LATENCY="1" EXECUTION_TIMEOUT="120" TYPE="CONF" ON="1" />

  </OPTION>

  <OPTION>

[Tue Mar  1 17:27:18 2022][debug] Running Ocsinventory::Agent::Backend::AccessLog
[Tue Mar  1 17:27:18 2022][debug] Running Ocsinventory::Agent::Backend::DeviceID
[Tue Mar  1 17:27:18 2022][debug] Running Ocsinventory::Agent::Backend::IpDiscover
[Tue Mar  1 17:27:18 2022][debug] Ocsinventory::Agent::Backend::IpDiscover has no run() function -> ignored
[Tue Mar  1 17:27:18 2022][debug] Running Ocsinventory::Agent::Backend::IpDiscover::IpDiscover
[Tue Mar  1 17:27:18 2022][debug] Scanning the 192.168.1.0 network
[Tue Mar  1 17:27:18 2022][debug]  - ip found

in SNMP by (350 points)

1 Answer

–2 votes
Hi,

my company has developed more than 60 exclusive plugins for OCS (predictive maintenance, supervision, helpdesk & IT support, status summary, multiple SNMP device type, geolocation of Windows machines, etc.)

If you want more information, please contact me privately.

Best regards, Stephane
by (32.6k points) 1 flag
 
Powered by Question2Answer
...