check_snmp_storage checks return Errors

Engage with the community of users including those using the open source solutions.
Includes Nagios Core, Plugins, and NCPA

check_snmp_storage checks return Errors

Postby Abhinav Sharma » Mon Aug 19, 2013 2:30 pm

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

Re: check_snmp_storage checks return Errors

Postby lmiltchev » Mon Aug 19, 2013 2:43 pm

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!
User avatar
lmiltchev
QA Manager
 
Posts: 13582
Joined: Mon May 23, 2011 12:15 pm

Re: check_snmp_storage checks return Errors

Postby Abhinav Sharma » Mon Aug 19, 2013 2:53 pm

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

Re: check_snmp_storage checks return Errors

Postby abrist » Mon Aug 19, 2013 3:16 pm

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.
abrist
Red Shirt
 
Posts: 8334
Joined: Thu Nov 15, 2012 1:20 pm

Re: check_snmp_storage checks return Errors

Postby Abhinav Sharma » Mon Aug 19, 2013 3:45 pm

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

Postby Abhinav Sharma » Mon Aug 19, 2013 3:57 pm

Any ideas...what i can check here to get this working ?
Abhinav Sharma
 
Posts: 5
Joined: Mon Aug 19, 2013 2:12 pm

Re: check_snmp_storage checks return Errors

Postby abrist » Mon Aug 19, 2013 4:15 pm

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.
abrist
Red Shirt
 
Posts: 8334
Joined: Thu Nov 15, 2012 1:20 pm

Re: check_snmp_storage checks return Errors

Postby Abhinav Sharma » Tue Aug 20, 2013 4:03 pm

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

Re: check_snmp_storage checks return Errors

Postby sreinhardt » Tue Aug 20, 2013 4:20 pm

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.
sreinhardt
-fno-stack-protector
 
Posts: 4366
Joined: Mon Nov 19, 2012 12:10 pm


Return to Community Support

Who is online

Users browsing this forum: Google [Bot] and 17 guests