Open grcamposdev opened 4 months ago
Hi @grcamposdev ,
Since the unix agent 2.8 version, the Ocsinventory::Agent::Modules::Snmp;
not being used.
Check your agent modules.conf
file and replace the old module by the newest Ocsinventory::Agent::Modules::SnmpScan;
.
Launch your agent and now, in your agent log file you should see [debug][snmpscan]
instead of [debug][snmp]
.
Best regards, Charlene
Hi @charleneauger
Thank you I did as you mentioned, I enabled snmpscan and it showed an error as shown in the image below.
Could you direct me to validate what might be happening?
Hi @grcamposdev ,
Did you configure the SNMP on the administration console ?
You will find all documentations with the following links:
Also, do you have any error on your apache error log on your OCS server communication ?
Best regards, Charlene
General information
Operating system: Ubuntu 22.04.04 PHP Version: 8.1.2 Web Server: Apache/2.4.52 (Ubuntu)
Server information
Perl version: 5, version 34, subversion 0 (v5.34.0) MySQL/Mariadb/Percona version: 10.6.16-MariaDB-0ubuntu0.22.04.1
OCS inventory information
Ocs server version: 2.12.1
Problem's description
Problem: SNMP inventory does not appear in the database after sending xml.
LINUX AGENT SCAN
When performing the SNMP scan, the agent can list the devices and their properties. However, when sending the XML at the end of the scan, the data is not stored in the database, but it is possible to see the data in the XML generated by the agent.
Note: there are no errors in the webserver, bank or OCS agent logs.
Below is a screenshot of the agent being executed