Page 2 of 2
Re: Host checks not changing even when system down.
Posted: Wed Jun 04, 2014 12:41 pm
by tmcdonald
Did you by any chance censor the IP addresses in that file? All of the host addresses are like "xxx.xxx.xxx.12".
Re: Host checks not changing even when system down.
Posted: Wed Jun 04, 2014 12:43 pm
by EchoKev
That is correct.
Re: Host checks not changing even when system down.
Posted: Thu Jun 05, 2014 12:54 pm
by scottwilkerson
In your nagios.cfg is the following set?
Re: Host checks not changing even when system down.
Posted: Thu Jun 05, 2014 12:58 pm
by EchoKev
scottwilkerson wrote:In your nagios.cfg is the following set?
Yes it is
Code: Select all
# HOST CHECK EXECUTION OPTION
# This determines whether or not Nagios will actively execute
# host checks when it initially starts. If this option is
# disabled, checks are not actively made, but Nagios can still
# receive and process passive check results that come in. Unless
# you're implementing redundant hosts or have a special need for
# disabling the execution of host checks, leave this enabled!
# Values: 1 = enable checks, 0 = disable checks
execute_host_checks=1
Re: Host checks not changing even when system down.
Posted: Thu Jun 05, 2014 1:00 pm
by tmcdonald
What specific host is this occurring for?
Re: Host checks not changing even when system down.
Posted: Thu Jun 05, 2014 1:02 pm
by EchoKev
tmcdonald wrote:What specific host is this occurring for?
Pretty much all of them.
Re: Host checks not changing even when system down.
Posted: Thu Jun 05, 2014 3:36 pm
by scottwilkerson
Would it be possible for you to share your nagios.cfg?
Also, if you go to "Process Info" in the UI, you do have the following correct?
Re: Host checks not changing even when system down.
Posted: Mon Jun 09, 2014 8:31 am
by EchoKev
See attached.
Re: Host checks not changing even when system down.
Posted: Mon Jun 09, 2014 5:26 pm
by tmcdonald
Do you mean all or pretty much all hosts? Because if it is pretty much all there might be a pattern.
And we might want to enable some really verbose debugging and run nagios for a bit:
Code: Select all
service nagios stop
<edit debug_level to be 16 in nagios.cfg>
service nagios start
Let it run for 60 seconds, then stop it again, turn debugging back to 0, and send us your /usr/local/nagios/var/nagios.debug and /usr/local/nagios/var/nagios.log files. During this time, manually re-schedule a host check in Core.