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?
Host is grey instead of green or red?
Re: Host is grey instead of green or red?
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:
- Or you could have database corruption in one or more tables in mysql:
http://assets.nagios.com/downloads/nagi ... irdatabase
- 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 starthttp://assets.nagios.com/downloads/nagi ... irdatabase
Re: Host is grey instead of green or red?
I think the hosts are active checked (Host Management > Hostname > Check Settings > Active checks enabled = ON) ?Active hosts checks may not be enabled for these hosts -> verify this in the host details for these hosts
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?
-
scottwilkerson
- DevOps Engineer
- Posts: 19396
- Joined: Tue Nov 15, 2011 3:11 pm
- Location: Nagios Enterprises
- Contact:
Re: Host is grey instead of green or red?
Do the hosts have a check command set?
Configure -> CCM -> Hosts -> Modify
Configure -> CCM -> Hosts -> Modify
Re: Host is grey instead of green or red?
There is no Check Command attached to the host. Actually there is none of my hosts with a check_command - everything goes through Services.
-
scottwilkerson
- DevOps Engineer
- Posts: 19396
- Joined: Tue Nov 15, 2011 3:11 pm
- Location: Nagios Enterprises
- Contact:
Re: Host is grey instead of green or red?
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
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?
well, that did it. I just wonder why all the others are green and do not have this setting applied 
-
scottwilkerson
- DevOps Engineer
- Posts: 19396
- Joined: Tue Nov 15, 2011 3:11 pm
- Location: Nagios Enterprises
- Contact:
Re: Host is grey instead of green or red?
Because they may have a template applied and are getting the check command from the template