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!
snmp_check not working for some devices
Re: snmp_check not working for some devices
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?
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?
Former Nagios Employee
Re: snmp_check not working for some devices
Hi Rkennedy, thank you for the response,
the output of top|head -n6? is
I have attached 2 screen shots of the Performance page.
thank you for looking
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 MemI have attached 2 screen shots of the Performance page.
thank you for looking
- Box293
- Too Basu
- Posts: 5126
- Joined: Sun Feb 07, 2010 10:55 pm
- Location: Deniliquin, Australia
- Contact:
Re: snmp_check not working for some devices
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.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.
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.
As of May 25th, 2018, all communications with Nagios Enterprises and its employees are covered under our new Privacy Policy.
Re: snmp_check not working for some devices
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
thanks for all the responses
Re: snmp_check not working for some devices
Thanks for the update and glad to hear you're back on track. I'll close this thread now.
Be sure to check out the Knowledgebase for helpful articles and solutions!