Hi,
We are trying to setup monitoring for a switch, nagios can ping the switch fine , firewall rules have been setup to allow.
SNMP is enabled on the switch but looks like nagios is having problems retrieving information from the SNMP for details of ports.
see attached errors
unable to monitor switch SNMP error
unable to monitor switch SNMP error
You do not have the required permissions to view the files attached to this post.
Re: unable to monitor switch SNMP error
Try doing an snmpwalk on the switch.
snmpwalk -t 300 -v 2c -Cc -On -c <cstring> <host>
snmpwalk -t 300 -v 2c -Cc -On -c <cstring> <host>
Re: unable to monitor switch SNMP error
Some of the common things to look for that cause the inability to monitor a device using SNMP are an incorrect community string, the wrong SNMP version selected when polling the device.
Also, some devices you have to enable the IP address of the Nagios server to poll it's SNMP information. Check that to see if that is true.
Also, some devices you have to enable the IP address of the Nagios server to poll it's SNMP information. Check that to see if that is true.
Be sure to check out our Knowledgebase for helpful articles and solutions!
Re: unable to monitor switch SNMP error
SNMP is enabled and has the correct version on the switch the firewall open to the SNMP.
firewall on Nagios server has been disabled
Ran nmap on the switch ip address
firewall on Nagios server has been disabled
Ran nmap on the switch ip address
You do not have the required permissions to view the files attached to this post.
Re: unable to monitor switch SNMP error
SNMP uses port 161 UDP for monitoring so this is how you need to run the nmap command to scan that port.
Post the output please.
Can you login to the Nagios server and run a snmpwalk against the device?
Code: Select all
nmap xxx.xxx.xxx.xxx -sU -p 161Can you login to the Nagios server and run a snmpwalk against the device?
Be sure to check out our Knowledgebase for helpful articles and solutions!
Re: unable to monitor switch SNMP error
See attached
You do not have the required permissions to view the files attached to this post.
Re: unable to monitor switch SNMP error
It looks like the port is open. Lets try and run a snmpwalk against the device and see if we get any response from it.
Login to the XI server and run the following snmpwalk command.
Replace xxx.xxx.xxx.xxx with the IP address of your device and change the community string to the value you are using.
What is the make and model number of the device you are trying to monitor?
Login to the XI server and run the following snmpwalk command.
Code: Select all
snmpwalk xxx.xxx.xxx.xxx -v2c -c communityWhat is the make and model number of the device you are trying to monitor?
Be sure to check out our Knowledgebase for helpful articles and solutions!
Re: unable to monitor switch SNMP error
Getting a timeout: No response message
SNMP read only is enabled on the switch
SNMP read only is enabled on the switch
Re: unable to monitor switch SNMP error
What is the make and model number of the device you are trying to monitor?
Are there any errors on the device?
What snmp version is enabled on the device?
Are there any errors on the device?
What snmp version is enabled on the device?
Be sure to check out our Knowledgebase for helpful articles and solutions!
Re: unable to monitor switch SNMP error
cisco switch 2960
snmp v 2C
No errors on switch
snmp v 2C
No errors on switch
You do not have the required permissions to view the files attached to this post.