Page 1 of 1
Host is grey instead of green or red?
Posted: Mon Nov 12, 2012 5:19 am
by staun
I have a few Hosts in my Status Grid (BBMap) that has the grey status light (host Pending) and they never change. The services are working fine for the Hosts
Any idea why this is?
Re: Host is grey instead of green or red?
Posted: Mon Nov 12, 2012 10:50 am
by mguthrie
There could be a couple of causes for this:
- Active hosts checks may not be enabled for these hosts -> verify this in the host details for these hosts
- Nagios and Ndoutils may need to be restarted:
Code: Select all
service nagios stop
killall -9 nagios
service ndo2db restart
service nagios start
- Or you could have database corruption in one or more tables in mysql:
http://assets.nagios.com/downloads/nagi ... irdatabase
Re: Host is grey instead of green or red?
Posted: Tue Nov 13, 2012 2:21 am
by staun
Active hosts checks may not be enabled for these hosts -> verify this in the host details for these hosts
I think the hosts are active checked (Host Management > Hostname > Check Settings > Active checks enabled = ON) ?
I looked at the other hosts that have a green light and they are set to SKIP?
Did a repair of the database, but they are still grey?
Re: Host is grey instead of green or red?
Posted: Tue Nov 13, 2012 11:29 am
by scottwilkerson
Do the hosts have a check command set?
Configure -> CCM -> Hosts -> Modify
Re: Host is grey instead of green or red?
Posted: Wed Nov 14, 2012 1:51 am
by staun
There is no Check Command attached to the host. Actually there is none of my hosts with a check_command - everything goes through Services.
Re: Host is grey instead of green or red?
Posted: Wed Nov 14, 2012 8:21 am
by scottwilkerson
This is why it is grey, because it doesn't have a check command.
If you would like it green you can set the "Initial state" to o in
Configure -> CCM -> Hosts -> Modify -> Check Settings
Or you can set the check command to check_dummy and set
$ARG1$ = 0
$ARG2$ = OK
Re: Host is grey instead of green or red?
Posted: Wed Nov 14, 2012 8:38 am
by staun
well, that did it. I just wonder why all the others are green and do not have this setting applied

Re: Host is grey instead of green or red?
Posted: Wed Nov 14, 2012 10:49 am
by scottwilkerson
Because they may have a template applied and are getting the check command from the template