check_snmp_storage checks return Errors

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
Abhinav Sharma
Posts: 5
Joined: Mon Aug 19, 2013 2:12 pm

check_snmp_storage checks return Errors

Post by Abhinav Sharma »

while running check_snmp_storage, i am getting errors :
ERROR: Description/Type table : The requested table is empty or does not exist. 

Is there any port that needs to be opened for this service to run ? or Any idea would be a great help!

Thanks in Advance
User avatar
lmiltchev
Former Nagios Staff
Posts: 13587
Joined: Mon May 23, 2011 12:15 pm

Re: check_snmp_storage checks return Errors

Post by lmiltchev »

Can you show us the exact command that you are running from the command line, along with the output of it? Are you running a command, similar to this one:

Code: Select all

/usr/local/nagios/libexec/check_snmp_storage.pl -H <ip>  -C <community> -m \^C: -w 80 -c 95 -f
C:\ Label:OS  Serial Number 92279c2d: 39%used(183072MB/463828MB) (<80%) : OK | 'C:\_Label:OS__Serial_Number_92279c2d'=183072MB;371062;440637;0;463828
Are you sure you are using the correct community string and if the snmp service is running on the remote box?
Be sure to check out our Knowledgebase for helpful articles and solutions!
Abhinav Sharma
Posts: 5
Joined: Mon Aug 19, 2013 2:12 pm

Re: check_snmp_storage checks return Errors

Post by Abhinav Sharma »

Thanks for quick reply!

This is the command that i am executing:
./check_snmp_storage.pl -H <HOSTNAME> -C public -m / -w 90% -c 95% -r

Output : ERROR: Description/Type table : The requested table is empty or does not exist.


For some hosts it's working fine but for some it is giving the above exception. These are Linux boxes.. Not sure, if something needs to be configured on Remote HOSTS because i can see ping, ssh services are running fine.

community string seems to be correct.
abrist
Red Shirt
Posts: 8334
Joined: Thu Nov 15, 2012 1:20 pm

Re: check_snmp_storage checks return Errors

Post by abrist »

Is snmpd running on these remote hosts? Have you fully configured snmp?

Code: Select all

service snmpd status
Former Nagios employee
"It is turtles. All. The. Way. Down. . . .and maybe an elephant or two."
VI VI VI - The editor of the Beast!
Come to the Dark Side.
Abhinav Sharma
Posts: 5
Joined: Mon Aug 19, 2013 2:12 pm

Re: check_snmp_storage checks return Errors

Post by Abhinav Sharma »

Yup, snmpd is running on the host..snmp is configured properly as it is running fine for few similar hosts
Abhinav Sharma
Posts: 5
Joined: Mon Aug 19, 2013 2:12 pm

Re: check_snmp_storage checks return Errors

Post by Abhinav Sharma »

Any ideas...what i can check here to get this working ?
abrist
Red Shirt
Posts: 8334
Joined: Thu Nov 15, 2012 1:20 pm

Re: check_snmp_storage checks return Errors

Post by abrist »

Lets try just a plain old walk on one of the problematic hosts to make sure the oid used by the plugin is even available:

v2c

Code: Select all

snmpwalk -v2c -c public <HOSTNAME>
v1

Code: Select all

snmpwalk -v1 -c public <HOSTNAME>
Former Nagios employee
"It is turtles. All. The. Way. Down. . . .and maybe an elephant or two."
VI VI VI - The editor of the Beast!
Come to the Dark Side.
Abhinav Sharma
Posts: 5
Joined: Mon Aug 19, 2013 2:12 pm

Re: check_snmp_storage checks return Errors

Post by Abhinav Sharma »

will perform the action & let you know...Thanks Much!
Last edited by Abhinav Sharma on Tue Aug 20, 2013 5:04 pm, edited 1 time in total.
sreinhardt
-fno-stack-protector
Posts: 4366
Joined: Mon Nov 19, 2012 12:10 pm

Re: check_snmp_storage checks return Errors

Post by sreinhardt »

Well, it looks like your snmpd config is restricting what you can reach. You need to modify the remote /etc/snmp/snmpd.conf to allow this host and community string access to all snmp data. Then do another walk like above please.
Nagios-Plugins maintainer exclusively, unless you have other C language bugs with open-source nagios projects, then I am happy to help! Please pm or use other communication to alert me to issues as I no longer track the forum.
Locked