Set service's default state as Off/Critical

Support forum for Nagios Core, Nagios Plugins, NCPA, NRPE, NSCA, NDOUtils and more. Engage with the community of users including those using the open source solutions.
Locked
v3ct0r
Posts: 5
Joined: Wed Oct 30, 2013 1:46 am

Set service's default state as Off/Critical

Post by v3ct0r »

Hey, all,

I'm pretty new to Nagios and Linux, so my apologies if this has been covered. I have searched for this for quite a bit, with no success.

I am trying to set up Nagios to see a service's down status as good. For example, the SSH on ESX servers should be off, which Nagios currently sees as critical, but that's the state I want it to be.

Anyone has ideas how to set this up, if at all possible?

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

Re: Set service's default state as Off/Critical

Post by sreinhardt »

There is a nifty plugin called negate that should do the trick for you! The documentation is written for XI however you should be able to adapt the commands and ideas for your core installation without issue. Take a look and let us know if you have questions.

http://exchange.nagios.org/directory/Do ... in/details
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.
v3ct0r
Posts: 5
Joined: Wed Oct 30, 2013 1:46 am

Re: Set service's default state as Off/Critical

Post by v3ct0r »

Thanks a bunch, brother.
Locked