Hi!
I would like to know if is it possible to 'retire' a server.
What I want is to put a server as 'inactive' or something like that, so it will no longer be monitored but I can check for its history whenever I need to.
Thanks!
'Retire' a server
Re: 'Retire' a server
You can click on the host, then under the "Host Commands", click on "Disable checks of all services on this host"->"Disable For Host Too"->Commit.
Be sure to check out our Knowledgebase for helpful articles and solutions!
-
- Posts: 49
- Joined: Thu Feb 14, 2013 9:32 am
Re: 'Retire' a server
I have done that, but some services still are being shown as "OK" altought the server is turned off.
Current Load (OK)
Current Users (OK)
HTTP (CRITICAL)
PING (CRITICAL)
Root Partition (OK)
SSH (CRITICAL)
Swap Usage (OK)
Total Processes (OK)
Besides that I dont want that this "Critical" states to be counting on Tatical Overview.
Any thoughts?
Current Load (OK)
Current Users (OK)
HTTP (CRITICAL)
PING (CRITICAL)
Root Partition (OK)
SSH (CRITICAL)
Swap Usage (OK)
Total Processes (OK)
Besides that I dont want that this "Critical" states to be counting on Tatical Overview.
Any thoughts?
-
- DevOps Engineer
- Posts: 19396
- Joined: Tue Nov 15, 2011 3:11 pm
- Location: Nagios Enterprises
- Contact:
Re: 'Retire' a server
They will be OK if you disabled the checks before they went down.
There is no way to have it accessible in the UI but not count and not show up as part of the system.
You could force a check to OK by submitting a passive check to the items that are CRITICAL
There is no way to have it accessible in the UI but not count and not show up as part of the system.
You could force a check to OK by submitting a passive check to the items that are CRITICAL
-
- Posts: 49
- Joined: Thu Feb 14, 2013 9:32 am
Re: 'Retire' a server
scottwilkerson,
I did not disabled the checks before turning off the server. Some stucked as OK and never changed.
I did as you advised (submited passive checks) but I put them as UNKNOWN, so it will not mix with real OK and CRITICAL statuses.
I did not disabled the checks before turning off the server. Some stucked as OK and never changed.
I did as you advised (submited passive checks) but I put them as UNKNOWN, so it will not mix with real OK and CRITICAL statuses.
Re: 'Retire' a server
Is disabling all checks on this host and setting them as "UNKNOWN" an acceptable solution to your problem?
Be sure to check out our Knowledgebase for helpful articles and solutions!
-
- Posts: 49
- Joined: Thu Feb 14, 2013 9:32 am
Re: 'Retire' a server
Yes, as Nagios does not have any other feature to put a server as disabled, I think that this solution is satisfatory.
Thanks for the help!
Thanks for the help!