Page 1 of 1

Removing Critical Services

Posted: Fri Nov 30, 2012 6:36 pm
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,

Re: Removing Critical Services

Posted: Sun Dec 02, 2012 4:53 pm
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.