SNMP poll for CPU utlization
Posted: Thu Sep 24, 2020 11:15 am
Hello Team.
I need to read CPU utilization from a HP Network Switch.
OID to read is 1.3.6.1.4.1.11.2.14.11.5.1.9.6 and trying it using SNMPWALK command result is good
snmpwalk -v1 -c public X.Y.Z.W 1.3.6.1.4.1.11.2.14.11.5.1.9.6, where X.Y.Z.W is IP address of switch
I'm encoutering difficulties to get same result using CHECK_SNMP command.
I tried
/usr/local/nagios/libexec/check_snmp -H X.Y.Z.W -C public -o 1.3.6.1.4.1.11.2.14.11.5.1.9.6 -w 90 -m RFC1155-SMI
This is the error:
[root@localhost ~]# /usr/local/nagios/libexec/check_snmp -H 10.239.34.209 -C public -o 1.3.6.1.4.1.11.2.14.11.5.1.9.6 -w 90 -m RFC1155-SMI
External command error: Error in packet
Reason: (noSuchName) There is no such variable name in this MIB.
Failed object: RFC1155-SMI::enterprises.11.2.14.11.5.1.9.6
I'm using NAGIOS Core on CENTOS 6.5
What's my error?
Thanks
I need to read CPU utilization from a HP Network Switch.
OID to read is 1.3.6.1.4.1.11.2.14.11.5.1.9.6 and trying it using SNMPWALK command result is good
snmpwalk -v1 -c public X.Y.Z.W 1.3.6.1.4.1.11.2.14.11.5.1.9.6, where X.Y.Z.W is IP address of switch
I'm encoutering difficulties to get same result using CHECK_SNMP command.
I tried
/usr/local/nagios/libexec/check_snmp -H X.Y.Z.W -C public -o 1.3.6.1.4.1.11.2.14.11.5.1.9.6 -w 90 -m RFC1155-SMI
This is the error:
[root@localhost ~]# /usr/local/nagios/libexec/check_snmp -H 10.239.34.209 -C public -o 1.3.6.1.4.1.11.2.14.11.5.1.9.6 -w 90 -m RFC1155-SMI
External command error: Error in packet
Reason: (noSuchName) There is no such variable name in this MIB.
Failed object: RFC1155-SMI::enterprises.11.2.14.11.5.1.9.6
I'm using NAGIOS Core on CENTOS 6.5
What's my error?
Thanks