We are having an issue on occasion, where the following happens:
- We are checking the Host for up/down via check_xi_host_ping
- When the Windows machine performs a time sync and alters its time, the next time the check command occurs, it marks the host as Down, even though it is not. Another check will clear up the down host.
Is this something that others have seen? Is there an easy way around this from happening?
Nagios XI Hosts show as Down after Windows time sync
-
crrussell3
- Posts: 31
- Joined: Tue Oct 10, 2017 9:09 am
-
scottwilkerson
- DevOps Engineer
- Posts: 19396
- Joined: Tue Nov 15, 2011 3:11 pm
- Location: Nagios Enterprises
- Contact:
Re: Nagios XI Hosts show as Down after Windows time sync
I've never seen the ping command fail when a time update occurs on a remote server. It should only fail if the server isn't responding to pings(which I suppose could happen depending on the server), and if it isn't responding properly to the ping, then it should fail.
I would set the max check attempts on the hosts to a higher number if it is set to 1 which would eliminate any notifications
I would set the max check attempts on the hosts to a higher number if it is set to 1 which would eliminate any notifications
-
crrussell3
- Posts: 31
- Joined: Tue Oct 10, 2017 9:09 am
Re: Nagios XI Hosts show as Down after Windows time sync
Scott,
Sorry for the late reply.
We currently have everything set to:
Interval: 5
Retry: 1
Attempts: 2
Sorry for the late reply.
We currently have everything set to:
Interval: 5
Retry: 1
Attempts: 2
-
scottwilkerson
- DevOps Engineer
- Posts: 19396
- Joined: Tue Nov 15, 2011 3:11 pm
- Location: Nagios Enterprises
- Contact:
Re: Nagios XI Hosts show as Down after Windows time sync
If this persists you may want to bump the attempts to 3-5 on these checks to give it some time to come around before sending notifications.crrussell3 wrote:Scott,
Sorry for the late reply.
We currently have everything set to:
Interval: 5
Retry: 1
Attempts: 2