Page 1 of 1

check_snmp_storage checks return Errors

Posted: Mon Aug 19, 2013 2:30 pm
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

Re: check_snmp_storage checks return Errors

Posted: Mon Aug 19, 2013 2:43 pm
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?

Re: check_snmp_storage checks return Errors

Posted: Mon Aug 19, 2013 2:53 pm
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.

Re: check_snmp_storage checks return Errors

Posted: Mon Aug 19, 2013 3:16 pm
by abrist
Is snmpd running on these remote hosts? Have you fully configured snmp?

Code: Select all

service snmpd status

Re: check_snmp_storage checks return Errors

Posted: Mon Aug 19, 2013 3:45 pm
by Abhinav Sharma
Yup, snmpd is running on the host..snmp is configured properly as it is running fine for few similar hosts

Re: check_snmp_storage checks return Errors

Posted: Mon Aug 19, 2013 3:57 pm
by Abhinav Sharma
Any ideas...what i can check here to get this working ?

Re: check_snmp_storage checks return Errors

Posted: Mon Aug 19, 2013 4:15 pm
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>

Re: check_snmp_storage checks return Errors

Posted: Tue Aug 20, 2013 4:03 pm
by Abhinav Sharma
will perform the action & let you know...Thanks Much!

Re: check_snmp_storage checks return Errors

Posted: Tue Aug 20, 2013 4:20 pm
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.