Switch Monitoring

This support forum board is for support questions relating to Nagios XI, our flagship commercial network monitoring solution.
Mike
Posts: 76
Joined: Wed Apr 03, 2013 11:37 am

Switch Monitoring

Post 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
slansing
Posts: 7698
Joined: Mon Apr 23, 2012 4:28 pm
Location: Travelling through time and space...

Re: Switch Monitoring

Post 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?
Mike
Posts: 76
Joined: Wed Apr 03, 2013 11:37 am

Re: Switch Monitoring

Post by Mike »

hi,

Through switch router monitoring
sreinhardt
-fno-stack-protector
Posts: 4366
Joined: Mon Nov 19, 2012 12:10 pm

Re: Switch Monitoring

Post 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.
Nagios-Plugins maintainer exclusively, unless you have other C language bugs with open-source nagios projects, then I am happy to help! Please pm or use other communication to alert me to issues as I no longer track the forum.
Mike
Posts: 76
Joined: Wed Apr 03, 2013 11:37 am

Re: Switch Monitoring

Post 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,
sreinhardt
-fno-stack-protector
Posts: 4366
Joined: Mon Nov 19, 2012 12:10 pm

Re: Switch Monitoring

Post by sreinhardt »

Specifically, what make and model? while cisco is generally supported, there are some that have issues, especially stacked switches.
Nagios-Plugins maintainer exclusively, unless you have other C language bugs with open-source nagios projects, then I am happy to help! Please pm or use other communication to alert me to issues as I no longer track the forum.
Mike
Posts: 76
Joined: Wed Apr 03, 2013 11:37 am

Re: Switch Monitoring

Post by Mike »

hi,

the same switch is being monitored by different tools and its not the stacked switch as you said


Thanks
sreinhardt
-fno-stack-protector
Posts: 4366
Joined: Mon Nov 19, 2012 12:10 pm

Re: Switch Monitoring

Post 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.
Nagios-Plugins maintainer exclusively, unless you have other C language bugs with open-source nagios projects, then I am happy to help! Please pm or use other communication to alert me to issues as I no longer track the forum.
Mike
Posts: 76
Joined: Wed Apr 03, 2013 11:37 am

Re: Switch Monitoring

Post 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,
abrist
Red Shirt
Posts: 8334
Joined: Thu Nov 15, 2012 1:20 pm

Re: Switch Monitoring

Post by abrist »

Can you snmpwalk the switch? Or run an snmpget on the proper OID?
Former Nagios employee
"It is turtles. All. The. Way. Down. . . .and maybe an elephant or two."
VI VI VI - The editor of the Beast!
Come to the Dark Side.
Locked