Server Fault is a question and answer site for system and network administrators. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

I had nagios configured to know that this was a holiday:

monday -1 may       00:00-24:00 ; Memorial Day (Last Monday in May)

As far as I can tell it didn't work on Monday because I received some alarms, no big deal, I can ignore those. But now I noticed that those alerts were not running today (June 1). I removed the line and now they're running again. This is straight out of the example timeperiods.cfg, but maybe the docs are incorrect.

Does anyone have a timeperiod config for Nagios that works for holidays like "last Monday in may" or "fourth Thursday in November"?

share|improve this question
Sounds like you might have a timezone issue. Do all your other non-24x7 timeperiods work properly? – Mark Wagner Jun 1 '11 at 22:11

I believe that if you look at the example in the distribution.....

 monday -1 may           00:00-00:00     ; Memorial Day (last Monday in May)

Notice that the start and end times are 0000!!

share|improve this answer
Seriously, WTF? If that's significant, couldn't it be an error? I'll give it a try thanks. – Kevin Peterson Jul 20 '11 at 1:29 shows this with 24:00 – Kevin Peterson Aug 1 '11 at 20:00

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.