check_snmp_storage checks return Errors
-
- Posts: 5
- Joined: Mon Aug 19, 2013 2:12 pm
check_snmp_storage checks return Errors
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
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
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:
Are you sure you are using the correct community string and if the snmp service is running on the remote box?
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
Be sure to check out our Knowledgebase for helpful articles and solutions!
-
- Posts: 5
- Joined: Mon Aug 19, 2013 2:12 pm
Re: check_snmp_storage checks return Errors
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.
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
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.
"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.
-
- Posts: 5
- Joined: Mon Aug 19, 2013 2:12 pm
Re: check_snmp_storage checks return Errors
Yup, snmpd is running on the host..snmp is configured properly as it is running fine for few similar hosts
-
- Posts: 5
- Joined: Mon Aug 19, 2013 2:12 pm
Re: check_snmp_storage checks return Errors
Any ideas...what i can check here to get this working ?
Re: check_snmp_storage checks return Errors
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
v1
v2c
Code: Select all
snmpwalk -v2c -c public <HOSTNAME>
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.
"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.
-
- Posts: 5
- Joined: Mon Aug 19, 2013 2:12 pm
Re: check_snmp_storage checks return Errors
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.
-
- -fno-stack-protector
- Posts: 4366
- Joined: Mon Nov 19, 2012 12:10 pm
Re: check_snmp_storage checks return Errors
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.