Monitoring service status in reverse

This support forum board is for support questions relating to Nagios XI, our flagship commercial network monitoring solution.
Locked
Tx243
Posts: 36
Joined: Wed Oct 16, 2013 11:33 am

Monitoring service status in reverse

Post by Tx243 »

I want to make sure that server does not accept any requests via http how do you change the $arg1$ to make it check that a status is not accepting those connections and to notify if it does begin to?
sreinhardt
-fno-stack-protector
Posts: 4366
Joined: Mon Nov 19, 2012 12:10 pm

Re: Monitoring service status in reverse

Post by sreinhardt »

Take a look at our negate plugin documentation. Just run a standard check_http -H [host\IP] and use negate prior to that. Any warning or critical state will show as OK and OK from check_http will show as critical. I believe this is what you are looking for.
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.
Locked