Hello,
I've got a case where I need to create a check that fails if an SSH login succeeds and is OK if the login fails. Just wanted to check to see if there's anything existing that can do this before I re-invent the wheel.
Thanks!
Inverting standard SSH login checks
Re: Inverting standard SSH login checks
Hi @keiferb and thank you for your post.
It appears that something like this exists already, on exchange.nagios.com.
https://exchange.nagios.org/directory/D ... in/details
This plugin can be 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
Hope this helps!
-Brandon Gelhaye
It appears that something like this exists already, on exchange.nagios.com.
https://exchange.nagios.org/directory/D ... in/details
This plugin can be 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
Hope this helps!
-Brandon Gelhaye
- Brandon Gelhaye
Re: Inverting standard SSH login checks
This seems like exactly what I needed. Thank you!