No notification when state changes :Warning to Critical
Posted: Mon Jun 10, 2013 2:36 am
My Alert has been ,configures this way.
My alert uses a generic service template , with the following options:
check_freshness 0 ; Default is to NOT check service 'freshness'
notifications_enabled 1 ; Service notifications are enabled
event_handler_enabled 1 ; Service event handler is enabled
flap_detection_enabled 1 ; Flap detection is enabled
failure_prediction_enabled 1 ; Failure prediction is enabled
process_perf_data 1 ; Process performance data
retain_status_information 1 ; Retain status information across program restarts
retain_nonstatus_information 1 ; Retain non-status information across program restarts
notification_interval 0 ; Only send notifications on status change by default.
is_volatile 0
check_period 24x7
normal_check_interval 5
retry_check_interval 1
max_check_attempts 4
notification_period 24x7
notification_options w,u,c,r
contact_groups infra-team, oncall, smsoncallworkhours
Now I also have service Escalations for the servicegroup I am using here.
define serviceescalation{
servicegroups oncall-monitored
first_notification 1
last_notification 1
notification_interval 180
contact_groups oncall,smsoncallworkhours
escalation_options w
}
define serviceescalation{
servicegroups oncall-monitored
first_notification 1
last_notification 0
notification_interval 180
contact_groups only-oncall-grp
escalation_options w
}
define serviceescalation{
servicegroups oncall-monitored
first_notification 1
last_notification 1
notification_interval 30
contact_groups oncall
escalation_options c,u
}
define serviceescalation{
servicegroups oncall-monitored
first_notification 1
last_notification 0
notification_interval 30
contact_groups only-oncall-grp,smsoncallworkhours
escalation_options c,u
I need to send a mail to the my ticketing service (oncall) everytime there is a state change, [Even from warning to Critical]. But I am not getting mail to my ticketing service in that case.
I suspect that the Notification number which the escalation checks is not set to '1' when the state changes from warning to critical. Please help me figure out the issue. Please give me some solutions , if any.
Thank you
My alert uses a generic service template , with the following options:
check_freshness 0 ; Default is to NOT check service 'freshness'
notifications_enabled 1 ; Service notifications are enabled
event_handler_enabled 1 ; Service event handler is enabled
flap_detection_enabled 1 ; Flap detection is enabled
failure_prediction_enabled 1 ; Failure prediction is enabled
process_perf_data 1 ; Process performance data
retain_status_information 1 ; Retain status information across program restarts
retain_nonstatus_information 1 ; Retain non-status information across program restarts
notification_interval 0 ; Only send notifications on status change by default.
is_volatile 0
check_period 24x7
normal_check_interval 5
retry_check_interval 1
max_check_attempts 4
notification_period 24x7
notification_options w,u,c,r
contact_groups infra-team, oncall, smsoncallworkhours
Now I also have service Escalations for the servicegroup I am using here.
define serviceescalation{
servicegroups oncall-monitored
first_notification 1
last_notification 1
notification_interval 180
contact_groups oncall,smsoncallworkhours
escalation_options w
}
define serviceescalation{
servicegroups oncall-monitored
first_notification 1
last_notification 0
notification_interval 180
contact_groups only-oncall-grp
escalation_options w
}
define serviceescalation{
servicegroups oncall-monitored
first_notification 1
last_notification 1
notification_interval 30
contact_groups oncall
escalation_options c,u
}
define serviceescalation{
servicegroups oncall-monitored
first_notification 1
last_notification 0
notification_interval 30
contact_groups only-oncall-grp,smsoncallworkhours
escalation_options c,u
I need to send a mail to the my ticketing service (oncall) everytime there is a state change, [Even from warning to Critical]. But I am not getting mail to my ticketing service in that case.
I suspect that the Notification number which the escalation checks is not set to '1' when the state changes from warning to critical. Please help me figure out the issue. Please give me some solutions , if any.
Thank you