'Disable Host Checks' not working?
Andreas Ericsson
ae at op5.se
Tue Jun 14 10:54:44 CEST 2005
Steve Shipway wrote:
> Hi - I appear to have found something which is not working as expected.
>
> As I understand it, if you disable host checks for a host, then it will
> remain in its current state and no checks will be attempted.
>
> However, even with host checks disabled, they are still occuring! See this:
>
> Host Status: DOWN (Has been acknowledged)
> Status Information: (No Information Returned From Host Check)
> Last Status Check: 14-06-2005 15:47:37
> Status Data Age: 0d 0h 0m 40s
> Last State Change: 14-06-2005 10:22:26
> Current State Duration: 0d 5h 25m 51s
> Last Host Notification: 14-06-2005 10:22:26
> Current Notification Number: 1
> Is This Host Flapping? NO
> Percent State Change: 0.00%
> In Scheduled Downtime? NO
> Last Update: 14-06-2005 15:47:56
>
> Host Checks: DISABLED
> Host Notifications: ENABLED
> Event Handler: ENABLED
> Flap Detection: ENABLED
>
> The current time is 14-06-05 15:50. As you see, it last ran a host check 3
> minutes ago, despire the fact that host checks have been disabled for five
> hours now. As a side effect of this, the timeout on a ping for the host
> check is causing the Latency to increase on all the services.
>
> System is Linux kernel 2.4.20, running Nagios 1.2. Host check in question
> is a default check_ping
>
> Has anyone come across this before? Is there a reason for the host checks
> being carried out regardless of the settings?
>
Multiple instances of Nagios is the most common reason for
configurations not "biting". Do
/etc/init.d/nagios stop
killall -9 nagios
/etc/init.d/nagios start
and see if that works. State-retention is another reason that's a fairly
common culprit. If the gui tells you host-checks are enabled, that means
it has been given a command to enable them sometime in the past and
nagios remembers it.
--
Andreas Ericsson andreas.ericsson at op5.se
OP5 AB www.op5.se
Lead Developer
-------------------------------------------------------
This SF.Net email is sponsored by: NEC IT Guy Games. How far can you shotput
a projector? How fast can you ride your desk chair down the office luge track?
If you want to score the big prize, get to know the little guy.
Play to win an NEC 61" plasma display: http://www.necitguy.com/?r=20
_______________________________________________
Nagios-users mailing list
Nagios-users at lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/nagios-users
::: Please include Nagios version, plugin version (-v) and OS when reporting any issue.
::: Messages without supporting info will risk being sent to /dev/null
More information about the Users
mailing list