Multiple notification_periods?
Posted: Wed Dec 28, 2011 3:37 pm
Here is my scenario:
I have a user that does not want to get alerts during business hours. However, I need to.
Currently, I have a host with the following:
service_description PING
check_command check_ping!100.0,20%!500.0,60%
max_check_attempts 1
notifications_enabled 1
check_interval 1
retry_interval 1
check_period 24x7
notification_interval 30
notification_period 24x7
notification_options u,w,c,r
contact_groups admins
Is it possible to have multiple notification_periods and multiple contact_groups?
I have created a time period that is only for after hours:
define timeperiod{
timeperiod_name nonworkhours
alias Non work hours
sunday 00:00-24:00
monday 00:00-08:00,17:00-24:00
tuesday 00:00-08:00,17:00-24:00
wednesday 00:00-08:00,17:00-24:00
thursday 00:00-08:00,17:00-24:00
friday 00:00-08:00,17:00-24:00
saturday 00:00-24:00
}
And a separate contact group.
Am I approaching this the right way? Any help would be great.
I have a user that does not want to get alerts during business hours. However, I need to.
Currently, I have a host with the following:
service_description PING
check_command check_ping!100.0,20%!500.0,60%
max_check_attempts 1
notifications_enabled 1
check_interval 1
retry_interval 1
check_period 24x7
notification_interval 30
notification_period 24x7
notification_options u,w,c,r
contact_groups admins
Is it possible to have multiple notification_periods and multiple contact_groups?
I have created a time period that is only for after hours:
define timeperiod{
timeperiod_name nonworkhours
alias Non work hours
sunday 00:00-24:00
monday 00:00-08:00,17:00-24:00
tuesday 00:00-08:00,17:00-24:00
wednesday 00:00-08:00,17:00-24:00
thursday 00:00-08:00,17:00-24:00
friday 00:00-08:00,17:00-24:00
saturday 00:00-24:00
}
And a separate contact group.
Am I approaching this the right way? Any help would be great.