Page 1 of 1

snmp_check not working for some devices

Posted: Fri Apr 29, 2016 5:50 am
by jplamb13
Hi All,

I have what seems to be a strange issue. I set up nagios a few weeks ago and everything was working great, i had snmp_check installed and setup to get a few details from switches however now there is no response from a few of the switches.

All Switches are HP 2010 AL 49 port. all on the latest firmware

i have tried to run the snmp_check command from CLI and dont get a response however if i change the ip address and nothing else the command works with another switch, the community string is the same in all switches and this has been checked.

If i run an snmp command from a windows pc using either mib browser or the prtg snmp tool they get a response from all switches. so the switches are working as they should.

does anybody have any ideas? could nagios have stopped checking that switch even though it says it is still checking? can the switch decide to stop responding?

any clues would be great

cheers!

Re: snmp_check not working for some devices

Posted: Fri Apr 29, 2016 10:18 am
by rkennedy
It sounds like you're hitting a throttle somewhere.

What is the output of top|head -n6?'

Can you attach a screenshot of your 'Performance Info' page?

Do the checks work if you run them from the CLI of Nagios? Can you show us the full input / output you're entering?

Re: snmp_check not working for some devices

Posted: Sat Apr 30, 2016 7:38 am
by jplamb13
Hi Rkennedy, thank you for the response,

the output of top|head -n6? is

Code: Select all

top - 13:28:13 up 10 days,  4:31,  2 users,  load average: 0.00, 0.01, 0.05
Tasks: 145 total,   1 running, 144 sleeping,   0 stopped,   0 zombie
%Cpu(s):  0.2 us,  0.1 sy,  0.0 ni, 99.7 id,  0.0 wa,  0.0 hi,  0.0 si,  0.0 st
KiB Mem :  1884388 total,   921724 free,   273152 used,   689512 buff/cache
KiB Swap:  2097148 total,  2097148 free,        0 used.  1380600 avail Mem


I have attached 2 screen shots of the Performance page.

thank you for looking

Re: snmp_check not working for some devices

Posted: Sun May 01, 2016 10:16 pm
by Box293
jplamb13 wrote:i have tried to run the snmp_check command from CLI and dont get a response however if i change the ip address and nothing else the command works with another switch, the community string is the same in all switches and this has been checked.
If the command isn't working at the CLI, then it removes Nagios from the equation. The CLI test is a good indicator there may be a firewall rule or something in the way.

Are the switches and the XI server on the same subnet? If not, check the device they pass through to ensure there is no connection limiting going on.

I also recommend rebooting the switch and testing again.

Re: snmp_check not working for some devices

Posted: Tue May 03, 2016 4:25 am
by jplamb13
turns out a few of the switches wanted the SNMP response address set, all others worked with out this but these few needed it to be added in.

thanks for all the responses

Re: snmp_check not working for some devices

Posted: Tue May 03, 2016 9:42 am
by bwallace
Thanks for the update and glad to hear you're back on track. I'll close this thread now.