5

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"?

1
  • Sounds like you might have a timezone issue. Do all your other non-24x7 timeperiods work properly? Jun 1, 2011 at 22:11

1 Answer 1

2

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!!

2

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .