Page 1 of 1

Handling Day Light Savings in Nagios Downtime

Posted: Wed Nov 06, 2019 9:14 am
by vlakshman
We have set of servers which have scheduled downtime both during day light savings & on other days.

is there a way in Nagios to handle downtime which works both a) During Day Light Savings & on other days?

I know we have 'exclude' directive which could be used to define DOWNTIME.
We can define checks for Day Light or other days is what I know.

How to define times that handle day light savings is my question

Re: Handling Day Light Savings in Nagios Downtime

Posted: Wed Nov 06, 2019 4:51 pm
by benjaminsmith
Hello @vlaksham,
is there a way in Nagios to handle downtime which works both a) During Day Light Savings & on other days?
The start/end times will be based on the time of the Nagios server, so you could create separate downtime schedules based upon time zones and adjust the start/stop times.

Let me know if that might work for you or not.

Re: Handling Day Light Savings in Nagios Downtime

Posted: Mon Nov 11, 2019 1:16 am
by vlakshman
Thanks for getting back. My Nagios Server is in UTC & should monitor servers in different time zones which have their own scheduled downtime.

Example: 'Server A' in EST/EDT with it's own downtime. 'Server B' in PST with it's own downtime.

Lets say we have 'Service P' running on 'Server A' which has downtime every wed at 3:00 AM.
How can I monitor this in Nagios during both EST & EDT?

Re: Handling Day Light Savings in Nagios Downtime

Posted: Mon Nov 11, 2019 4:39 pm
by scottwilkerson
Nagios doesn't have any built-in mechanisms to setup separate timeperiods based on different timezones, everything is based off the server time.