Timeperiod exclusion not working
Posted: Thu Jun 20, 2013 9:36 pm
Hi all
I am having problems with a timeperiod exclusion not working as expected.
I have setup a 24x7 timeperiod and another timeperiod with the times to be excluded.
I set my Service Notifications timeperiod with 'Non Backup Timeperiod" expecting that the exclude will stop any notifications during the "Backup Periods" - however it doesn't, I'm still getting notifications during the Backup Period times.
Researching this through my good friend google, I found another person with the same issue who posted the following in June last year:
Regards... Fred
I am having problems with a timeperiod exclusion not working as expected.
I have setup a 24x7 timeperiod and another timeperiod with the times to be excluded.
Code: Select all
define timeperiod {
timeperiod_name Non-Backup Periods
alias 24x7 except during backups
exclude Backup Periods
tuesday 00:00-24:00
wednesday 00:00-24:00
thursday 00:00-24:00
friday 00:00-24:00
saturday 00:00-24:00
sunday 00:00-24:00
monday 00:00-24:00
}
define timeperiod {
timeperiod_name Backup Periods
alias Backup Periods
wednesday 18:00-24:00
wednesday 00:00-02:00
tuesday 18:00-24:00
tuesday 00:00-02:00
monday 18:00-24:00
monday 00:00-02:00
thursday 00:00-02:00
thursday 18:00-24:00
friday 00:00-02:00
friday 18:00-24:00
saturday 00:00-02:00
saturday 18:00-24:00
sunday 00:00-02:00
sunday 18:00-24:00
}Researching this through my good friend google, I found another person with the same issue who posted the following in June last year:
I'm running Nagios XI 2012R2.0 and this is definitely still an issue for me.Eventually I found my way into the Nagios Core bug database and found this entry. The resolution, added by user egalstad was:
Known issue. Exclude statement don’t work they way they were originally intended. No idea if a patch will be available.![]()
Regards... Fred