I'm facing a problem I don't understand.
I'm don't understand which day is starting a week in Nagios. I thought it was Sunday but apparently no.
I use some notification_period to disable notification during certain timeslot.
For example, this monday, a server should not have notified during 02:10 > 04:15.
Code: Select all
# auto_monday_1_0210_0415
define timeperiod{
timeperiod_name auto_monday_1_0210_0415
alias auto_monday_1_0210_0415
monday 00:00-24:00
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
exclude e_monday_1_0210_0415
}
# monday_1_0210_0415
define timeperiod{
timeperiod_name e_monday_1_0210_0415
alias monday_1_0210_0415
monday 1 02:10-04:15
}
But it was last monday, the 1st october !
If Nagios is beginning his week the Sunday, it shouldn't have been enable the 1st october but the 8th.
Am I right ?
Which day a week starts in Nagios ? Sunday (apparently no) ? Monday ?
Can we change it ?
> Nagios 3.5.0
Yann
Thx