check_snmp_temperature.pl OID Issue

This support forum board is for support questions relating to Nagios XI, our flagship commercial network monitoring solution.
User avatar
gshergill
Posts: 231
Joined: Tue Aug 07, 2012 5:08 am

check_snmp_temperature.pl OID Issue

Post by gshergill »

Hi Nagios Community,

I was wondering if you know what the following error is about;

Code: Select all

./check_snmp_temperature.pl -H <dellserver>.<domain> -C public -N .1.3.6.1.4.1.674.10892.1.700.20.1.8 -D .1.3.6.1.4.1.674.10892.1.700.20.1.6 -i 10C -o C -u 0 -a Temperature -w 0 -c 0 -f 
ERROR: Problem retrieving OID .1.3.6.1.4.1.674.10892.1.700.20.1.8 table: Requested table is empty or does not exist.
I'm assuming it is an issue with the OID used being wrong, but I don't really know how to find the right OID, a google search gives me the impression that the OIDs are standardly set by dell.

Note that snmp is definitely installed on the dell server, and the OID 1.3.6.1.4.1.2021.13.16 works (but gives back temperature as 0)

Thank you.

Kind Regards,

gshergill

EDIT: forgot to mention;
coolingDeviceLocationName 1.3.6.1.4.1.674.10892.1.700.12.1.8

coolingDeviceReading 1.3.6.1.4.1.674.10892.1.700.12.1.6
slansing
Posts: 7698
Joined: Mon Apr 23, 2012 4:28 pm
Location: Travelling through time and space...

Re: check_snmp_temperature.pl OID Issue

Post by slansing »

Have you tried searching to make sure you have the correct OID? These are updated and changed frequently in some cases:

http://www.oidview.com/mibs/674/md-674-1.html
User avatar
gshergill
Posts: 231
Joined: Tue Aug 07, 2012 5:08 am

Re: check_snmp_temperature.pl OID Issue

Post by gshergill »

Hi slansing,

I've been using the link http://www.oidview.com/mibs/674/MIB-Dell-10892.html to find the OID numbers.

I've ran the following command with the result;

Code: Select all

snmpwalk -v2c -cpublic <server>.<domain> system
SNMPv2-MIB::sysDescr.0 = STRING: Linux <server> 2.6.32-bpo.5-amd64 #1 SMP Mon May 2 11:40:03 UTC 2011 x86_64
SNMPv2-MIB::sysObjectID.0 = OID: NET-SNMP-MIB::netSnmpAgentOIDs.10
DISMAN-EVENT-MIB::sysUpTimeInstance = Timeticks: (24777245) 2 days, 20:49:32.45
SNMPv2-MIB::sysContact.0 = STRING: Root <root@localhost> (configure /etc/snmp/snmpd.local.conf)
SNMPv2-MIB::sysName.0 = STRING: <server>
SNMPv2-MIB::sysLocation.0 = STRING: Unknown (configure /etc/snmp/snmpd.local.conf)
SNMPv2-MIB::sysORLastChange.0 = Timeticks: (217) 0:00:02.17
SNMPv2-MIB::sysORID.1 = OID: SNMP-FRAMEWORK-MIB::snmpFrameworkMIBCompliance
SNMPv2-MIB::sysORID.2 = OID: SNMP-MPD-MIB::snmpMPDCompliance
SNMPv2-MIB::sysORID.3 = OID: SNMP-USER-BASED-SM-MIB::usmMIBCompliance
SNMPv2-MIB::sysORID.4 = OID: SNMPv2-MIB::snmpMIB
SNMPv2-MIB::sysORID.5 = OID: TCP-MIB::tcpMIB
SNMPv2-MIB::sysORID.6 = OID: IP-MIB::ip
SNMPv2-MIB::sysORID.7 = OID: UDP-MIB::udpMIB
SNMPv2-MIB::sysORID.8 = OID: SNMP-VIEW-BASED-ACM-MIB::vacmBasicGroup
SNMPv2-MIB::sysORDescr.1 = STRING: The SNMP Management Architecture MIB.
SNMPv2-MIB::sysORDescr.2 = STRING: The MIB for Message Processing and Dispatching.
SNMPv2-MIB::sysORDescr.3 = STRING: The management information definitions for the SNMP User-based Security Model.
SNMPv2-MIB::sysORDescr.4 = STRING: The MIB module for SNMPv2 entities
SNMPv2-MIB::sysORDescr.5 = STRING: The MIB module for managing TCP implementations
SNMPv2-MIB::sysORDescr.6 = STRING: The MIB module for managing IP and ICMP implementations
SNMPv2-MIB::sysORDescr.7 = STRING: The MIB module for managing UDP implementations
SNMPv2-MIB::sysORDescr.8 = STRING: View-based Access Control Model for SNMP.
SNMPv2-MIB::sysORUpTime.1 = Timeticks: (217) 0:00:02.17
SNMPv2-MIB::sysORUpTime.2 = Timeticks: (217) 0:00:02.17
SNMPv2-MIB::sysORUpTime.3 = Timeticks: (217) 0:00:02.17
SNMPv2-MIB::sysORUpTime.4 = Timeticks: (217) 0:00:02.17
SNMPv2-MIB::sysORUpTime.5 = Timeticks: (217) 0:00:02.17
SNMPv2-MIB::sysORUpTime.6 = Timeticks: (217) 0:00:02.17
SNMPv2-MIB::sysORUpTime.7 = Timeticks: (217) 0:00:02.17
SNMPv2-MIB::sysORUpTime.8 = Timeticks: (217) 0:00:02.17
To be honest I'm not really expert at OID numbers or what this code actually means.

Thank you.

Kind Regards,

gshergill
scottwilkerson
DevOps Engineer
Posts: 19396
Joined: Tue Nov 15, 2011 3:11 pm
Location: Nagios Enterprises

Re: check_snmp_temperature.pl OID Issue

Post by scottwilkerson »

Can you run this

./check_snmp_temperature.pl -H <dellserver>.<domain> -C public -N .1.3.6.1.4.1.674.10892.1.700.12.1.6 -D
Former Nagios employee
Creator:
Human Design Website
Get Your Human Design Chart
User avatar
gshergill
Posts: 231
Joined: Tue Aug 07, 2012 5:08 am

Re: check_snmp_temperature.pl OID Issue

Post by gshergill »

Hi scottwilkerson,

The result from the command is;

Code: Select all

./check_snmp_temperature.pl -H grumbler.gltd.local -C public -N .1.3.6.1.4.1.674.10892.1.700.12.1.6 -D -a Temperature -w 0 -c 0
ERROR: Problem retrieving OID .1.3.6.1.4.1.674.10892.1.700.12.1.6 table: Requested table is empty or does not exist.
-a was required to run the command.

I think, as mentioned in the other thread, I will give the nagios plugins a small break and try to integrate with Munin to see how that goes. Munin seems to have some great graphs available.

For reference, this is the guide I am using;

http://munin-monitoring.org/wiki/HowToContactNagios

Thank you.

Kind Regards,

gshergill