I am trying to set up on call rotating notifications in 3.0.1
I borrowed from the example in the docs at docs/oncallrotation.html
My timeperiods are:
define timeperiod{
alias Weekly on call rotation schedule 1
timeperiod_name oncall-1
2008-04-11 / 14 00:00-24:00 ; Every other Friday
2008-04-12 / 14 00:00-24:00 ; Every other Saturday
2008-04-13 / 14 00:00-24:00 ; Every other Sunday
2008-04-14 / 14 00:00-24:00 ; Every other Monday
2008-04-15 / 14 00:00-24:00 ; Every other Tuesday
2008-04-16 / 14 00:00-24:00 ; Every other Wednesday
2008-04-17 / 14 00:00-24:00 ; Every other Thursday
}
define timeperiod{
alias Weekly on call rotation schedule 2
timeperiod_name oncall-2
2008-04-18 / 14 00:00-24:00 ; Every other Friday
2008-04-19 / 14 00:00-24:00 ; Every other Saturday
2008-04-20 / 14 00:00-24:00 ; Every other Sunday
2008-04-21 / 14 00:00-24:00 ; Every other Monday
2008-04-22 / 14 00:00-24:00 ; Every other Tuesday
2008-04-23 / 14 00:00-24:00 ; Every other Wednesday
2008-04-24 / 14 00:00-24:00 ; Every other Thursday
}
There are two things messed up here. First is these 2 timeperiods show up in the UI (View Config) as being 2 months earlier. So they start at 02-11 instead of 04-11.
Second thing is, they don’t seem to work.
What I am doing is assigning the timeperiod to my contacts:
define contact{
contact_name myUser1
use generic-contact
email [email protected]
service_notification_period oncall-1
host_notification_period oncall-1
}
define contact{
contact_name myUser2
use generic-contact
email [email protected]
service_notification_period oncall-2
host_notification_period oncall-2
}
With this notifications go to both contacts when they should only be going to one at a time.
Anyone know what is going on here?
Thanks,
Josh