monitoring Cisco Switches

This support forum board is for support questions relating to Nagios XI, our flagship commercial network monitoring solution.
Locked
jwu
Posts: 81
Joined: Wed Jul 24, 2013 2:54 pm

monitoring Cisco Switches

Post by jwu »

We are monitoring all our Cisco Network Switches/Routers with the Network Switches/Router wizard,
we are running into issues where if the ports are unplugged, we would get a critical status. Is there a way
to setup where there won't be alerts for unused ports?
slansing
Posts: 7698
Joined: Mon Apr 23, 2012 4:28 pm
Location: Travelling through time and space...

Re: monitoring Cisco Switches

Post by slansing »

Well you could disable critical alerts for those services via the CCM, or via re-configuring the service from home > service detail > 'service name' > configure.

Those checks are essentially only OK or Critical as you noted, from the status of their usage.
jwu
Posts: 81
Joined: Wed Jul 24, 2013 2:54 pm

Re: monitoring Cisco Switches

Post by jwu »

so the script won't provide an ok if it's unplugged?
sreinhardt
-fno-stack-protector
Posts: 4366
Joined: Mon Nov 19, 2012 12:10 pm

Re: monitoring Cisco Switches

Post by sreinhardt »

You could use the negate plugin as described in this document, so that a down interface will show as ok, however if and when it comes up, you would then get a critical alert that it has been brought up. The only other option would be to disable notifications for the service if you wished to keep them critical when down and Ok when up, but not actually get a notification.
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.
jwu
Posts: 81
Joined: Wed Jul 24, 2013 2:54 pm

Re: monitoring Cisco Switches

Post by jwu »

that is what I'm currently doing, you can close this thread, if there's an improvement to this, that would be great.

thanks for your response.
Locked