Removing Critical Services

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
HVH - Conor
Posts: 1
Joined: Fri Nov 30, 2012 6:31 pm

Removing Critical Services

Post by HVH - Conor »

Hello,

We are a web hosting company and use Nagios to monitor our servers, and our clients VPS and dedicated servers.
The problem we are currently facing is a simple one.

How can we temporarily, or permanmently disable a host from appearing in a "critical state"?

Lets say, we have a server, "Server A". It has been shutdown (suspended) and is awaiting the clients payment. It'll be unsuspended when paid.
I don't want to remove "Server A" from Nagios and have to re-add it. That'd create workflow and confusion.

How can we set Nagios to not display it as in a "Critical" DOWN state and all it's services as "Critical". It clogs up our productivity and makes it hard to read our Dashboard (it reads from the status.dat) as it is filled with false (intended) "Connection refused or timed out" messages.

Thanks,
User avatar
jsmurphy
Posts: 989
Joined: Wed Aug 18, 2010 9:46 pm

Re: Removing Critical Services

Post by jsmurphy »

There isn't a proper way to do this, you could fudge-it however by disabling active checks and then inject a passive "OK" check that says "Waiting for payment" or something.

Hopefully that will work for you.
Locked