Host checks not changing even when system down.
Re: Host checks not changing even when system down.
Did you by any chance censor the IP addresses in that file? All of the host addresses are like "xxx.xxx.xxx.12".
Former Nagios employee
Re: Host checks not changing even when system down.
That is correct.
-
scottwilkerson
- DevOps Engineer
- Posts: 19396
- Joined: Tue Nov 15, 2011 3:11 pm
- Location: Nagios Enterprises
- Contact:
Re: Host checks not changing even when system down.
In your nagios.cfg is the following set?
Code: Select all
execute_host_checks=1Re: Host checks not changing even when system down.
Yes it isscottwilkerson wrote:In your nagios.cfg is the following set?Code: Select all
execute_host_checks=1
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.
What specific host is this occurring for?
Former Nagios employee
Re: Host checks not changing even when system down.
Pretty much all of them.tmcdonald wrote:What specific host is this occurring for?
-
scottwilkerson
- DevOps Engineer
- Posts: 19396
- Joined: Tue Nov 15, 2011 3:11 pm
- Location: Nagios Enterprises
- Contact:
Re: Host checks not changing even when system down.
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?
Also, if you go to "Process Info" in the UI, you do have the following correct?
Code: Select all
Host Checks Being Executed? YESRe: Host checks not changing even when system down.
See attached.
- Attachments
-
nagios.cfg- (44.75 KiB) Downloaded 376 times
Re: Host checks not changing even when system down.
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:
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.
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
Former Nagios employee