SNMP - Requested table doesn't exist


#1

Afternoon again folks.

Lets see if this thread turns into one of my others, me solving the problem before anyone have replied. :slight_smile:

This is the problem I have right now, and I’ve tried search for any proper clues but failed.

[blockquote]
nagios:/usr/local/nagios/libexec# snmpget -c public -v 2c host.foo.com system.sysUpTime.0
DISMAN-EVENT-MIB::sysUpTimeInstance = Timeticks: (842110) 2:20:21.10

nagios:/usr/local/nagios/libexec# ./check_snmp_load.pl -H host.foo.com -C public -w 95% -c 98%
ERROR: Description table : Requested table is empty or does not exist.

nagios:/usr/local/nagios/libexec# ./check_snmp_storage.pl -H host.foo.com -C public -m Swap -w 80% -c 90%
ERROR: Description/Type table : Requested table is empty or does not exist.

nagios:/usr/local/nagios/libexec# ./check_snmp -H host.foo.com -C public -o sysUpTime.0
SNMP OK - Timeticks: (880778) 2:26:47.78 | DISMAN-EVENT-MIB::sysUpTimeInstance=Timeticks: (880778) 2:26:47.78
[/blockquote]

So, using snmpget or snmpwalk does work, but trying to query the information using the plugins doesn’t.
And using the standardplugin (check_snmp) works, but using plugins from manubalon doesn’t.
Ideas?

Best Regards
Lars Engstr


#2

yep, 1 idea:
don’t use the plugins from manubalon :slight_smile:

it seems they’re a bit useless anyway; doing SNMP checks is pretty easy :wink:


#3

Well, for check_snmp_load you might well have to give it some more arguments, like -2 to specify SNMP v2 and -T to specify the type of device you are querying… For instance, on our Cisco routers, this doesn’t work…

[root@localhost libexec]# ./check_snmp_load -H w.x.y.z -C wassname -w 50 -c 80 ERROR: Description table : Requested table is empty or does not exist.
But if I specify **-2 **and the -T cisco, lo and behold…

[root@localhost libexec]# ./check_snmp_load -H w.x.y.z -2 -T cisco -C wassname -w 50,50,50 -c 80,80,80 CPU : 2 2 2 : OK [root@localhost libexec]#
NB the cisco check requires multiple warning and critical thresholds as the response is for like 1 min, 5 min and 15 min averages, so thats what the 50,50,50 and 80,80,80 are for…

HTH

/S


#4

[blockquote]yep, 1 idea:
don’t use the plugins from manubalon

it seems they’re a bit useless anyway; doing SNMP checks is pretty easy [/blockquote]

I’ll look into that if I cant get it sorted any other way.

[blockquote]Well, for check_snmp_load you might well have to give it some more arguments, like -2 to specify SNMP v2 and -T to specify the type of device you are querying… For instance, on our Cisco routers, this doesn’t work…
[root@localhost libexec]# ./check_snmp_load -H w.x.y.z -C wassname -w 50 -c 80
ERROR: Description table : Requested table is empty or does not exist.

But if I specify -2 and the -T cisco, lo and behold…
[root@localhost libexec]# ./check_snmp_load -H w.x.y.z -2 -T cisco -C wassname -w 50,50,50 -c 80,80,80
CPU : 2 2 2 : OK
[root@localhost libexec]#

NB the cisco check requires multiple warning and critical thresholds as the response is for like 1 min, 5 min and 15 min averages, so thats what the 50,50,50 and 80,80,80 are for…

HTH

/S[/blockquote]

Tried it both before and now again, didn’t make any difference unfortunately, same error.


#5

Upgraded Net-snmp on the agents from version 5.2.1 to 5.4.1.2 and everything works splendid, thank you.