Page 1 of 1
Network switch/ router monitoring wizard
Posted: Tue Jan 07, 2014 8:19 am
by deepavaidya
Hi,
I am trying to discover a router using network switch/ router monitoring wizard. It is not able to auto-scan the ports. But the Nagios IP has been added as the SNMP host in the router. I am also trying to discover it using correct community string and version. Please can you help me troubleshoot this issue.
Re: Network switch/ router monitoring wizard
Posted: Tue Jan 07, 2014 10:19 am
by sreinhardt
Well lets start by making sure snmp is open on that device. Please run the following command, replace the item in [ ] with your ip or hostname, and send us back the results.
Re: Network switch/ router monitoring wizard
Posted: Tue Jan 07, 2014 11:04 am
by deepavaidya
ya port 161 and 162 are open.
Re: Network switch/ router monitoring wizard
Posted: Tue Jan 07, 2014 11:17 am
by slansing
Did you set your community string on that device to accept the Nagios address? It sounds like you did but it would be good to verify. Can you walk the device from the nagios CLI?:
Code: Select all
snmpwalk -v 2c address.of.remote.switch/router -C community string
Make sure that you use the correct version, if you are not using v2c be sure to change that.
Re: Network switch/ router monitoring wizard
Posted: Wed Jan 08, 2014 12:02 am
by deepavaidya
snmpwalk -v 2c 172.25.28.221 -c TEST
SNMPv2-SMI::mib-2 = No more variables left in this MIB View (It is past the end of the MIB tree)
Re: Network switch/ router monitoring wizard
Posted: Wed Jan 08, 2014 7:32 am
by deepavaidya
Hi,
The problem got resolved. The issue was because the community string did not have the Read Only access. After adding this in the router config, I was able to do snmpwalk and also discover it by auto-scanning its port details.