SNMP poll for CPU utlization

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
PolleroM
Posts: 24
Joined: Wed Aug 12, 2015 1:33 am

SNMP poll for CPU utlization

Post by PolleroM »

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
gormank
Posts: 1114
Joined: Tue Dec 02, 2014 12:00 pm

Re: SNMP poll for CPU utlization

Post by gormank »

I did a quick search and I think .1 is CPU %. Maybe try adding .1 to your OID?
Locked