SNMP issues on Nagios

Support forum for Nagios Core, Nagios Plugins, NCPA, NRPE, NSCA, NDOUtils and more. Engage with the community of users including those using the open source solutions.
Locked
mozer
Posts: 1
Joined: Wed Jun 24, 2020 5:33 am

SNMP issues on Nagios

Post by mozer »

Hello all,
I have a problem with SNMP and nagios, i try to check a IBM x3850 X5 server with the following command,
/usr/local/nagios/libexec/check_snmp -m /usr/share/snmp/mibs/imm.mib -H 172.30.25.21 -C community_1 -p 161 -o .1.3.6.1.4.1.2.3.51.3.1.4.1
I get

Code: Select all

External command error: Error in packet
Reason: (noSuchName) There is no such variable name in this MIB.
Failed object: IMM-MIB::systemHealthStat
The name of the trap is really “systemHealthStat”, but a get an error

The MIB is tested on Windows with reasoning MIB browser with the same parameters, community, ports, IP etc
I can do a walk from Nagios
snmpwalk -v1 -c community_1 172.30.25.21
and the response is something like
iso.3.6.1.2.1.1.2.0 = OID: iso.3.6.1.4.1.8072.3.2.10
iso.3.6.1.2.1.1.3.0 = Timeticks: (6507012) 18:04:30.12
Starts with “iso”…don’t really know why, also the OID i see on reasoning browser are not in the MIB file, how can that be possible?
I must do this with nagios and there are other alarms with this plugin that are working well,

Can anyone help¿
Locked