unoccupied switch ports

This support forum board is for support questions relating to Nagios XI, our flagship commercial network monitoring solution.
Locked
dslaughter
Posts: 140
Joined: Wed Feb 20, 2019 3:46 pm

unoccupied switch ports

Post by dslaughter »

I've got a switch port that is normally empty so an alert is created and sits acknowledged. What kind of check can I configure that will alert when something is plugged into the switch port?
User avatar
tgriep
Madmin
Posts: 9190
Joined: Thu Oct 30, 2014 9:02 am

Re: unoccupied switch ports

Post by tgriep »

What you could do is to create a new command using the negate plugin which will change the output of the interface status plugin to generate a Critical when something is plugged in.

Negate is used to execute other plugins, the state returned by the other plugin can be changed by the negate
plugin. For example when a check is normally considered to be in a Critical or Warning state, but the system
administrator would instead prefer to see an OK when in such a state. Understand that this will not turn any
check consistently to an OK state, but will reverse a critical to OK or an OK to critical, depending on the actual
check being run.

Check out this video for an overview on what it does.
https://support.nagios.com/kb/article/n ... n-287.html

And a detailed document on it's use.
https://assets.nagios.com/downloads/nag ... ios-XI.pdf
Be sure to check out our Knowledgebase for helpful articles and solutions!
dslaughter
Posts: 140
Joined: Wed Feb 20, 2019 3:46 pm

Re: unoccupied switch ports

Post by dslaughter »

Thanks! Sounds like what I'm looking for.



Lock it.
Locked