Page 1 of 3
Switch Monitoring
Posted: Tue Jul 23, 2013 10:53 am
by Mike
Hello,
I want to monitoring switch
Scenario :
Nagioserver ==> Switch1 ==> Switch2
The community string and version is different for two switch
Basically i want to monitor switch2 from nagios server , i have given community string and version of switch2 but still i am not able to monitor switch2
i am getting error :
No ports were detected on the switch
1) Switch is ON and pingable
2) Switch SNMP is enabled
3) Switch IP is proper
Re: Switch Monitoring
Posted: Tue Jul 23, 2013 1:44 pm
by slansing
Once again we are going to need a bit more information, how are you trying to monitor this switch? Via a custom plugin, or via the Switch / Router Monitoring Wizard?
Re: Switch Monitoring
Posted: Tue Jul 23, 2013 2:08 pm
by Mike
hi,
Through switch router monitoring
Re: Switch Monitoring
Posted: Tue Jul 23, 2013 4:02 pm
by sreinhardt
What kind of a switch is this? There are certain switches that do not store port information at the same oids that mrtg is expecting, and we may have to do some digging.
Re: Switch Monitoring
Posted: Tue Jul 23, 2013 4:14 pm
by Mike
HI,
It's a CISCO Switch .
i tried this
nmap -sU -p 161 Ip address of switch
#nmap -sU -p 161 10.187.210.13
Starting Nmap 5.21 (
http://nmap.org ) at 2013-07-24 02:42 IST
Nmap scan report for 10.187.210.13
Host is up (0.00082s latency).
PORT STATE SERVICE
161/udp open snmp
Nmap done: 1 IP address (1 host up) scanned in 11.38 seconds
Thanks,
Re: Switch Monitoring
Posted: Tue Jul 23, 2013 4:20 pm
by sreinhardt
Specifically, what make and model? while cisco is generally supported, there are some that have issues, especially stacked switches.
Re: Switch Monitoring
Posted: Tue Jul 23, 2013 4:26 pm
by Mike
hi,
the same switch is being monitored by different tools and its not the stacked switch as you said
Thanks
Re: Switch Monitoring
Posted: Tue Jul 23, 2013 4:39 pm
by sreinhardt
What tools are you using? They could be querying different oids than mrtg is set to use. I must ask, are you being intentionally vague, as without detailed information especially for snmp, it is extremely difficult to work with and get a resolution for you.
Re: Switch Monitoring
Posted: Tue Jul 23, 2013 4:50 pm
by Mike
Hi,
Can you send me the list of details required for troubleshooting the issue as i can send the questions to client and get back to you.
They are using some free tools to monitor the switch. they asically want to shift to nagiosxi.
Thanks,
Re: Switch Monitoring
Posted: Wed Jul 24, 2013 9:56 am
by abrist
Can you snmpwalk the switch? Or run an snmpget on the proper OID?