I’m attempting to create escalations that will step up the notification interval when the service state becomes critical. I thought the below would work, but it’s not sending any notifications when the service goes critical. I could be using the first_notification wrong on the critical, I was assuming that they would reset when it became critical, but I’m not sure. Any help would be appreciated.
define service{
name diskdrive-service
use generic-service
max_check_attempts 3
normal_check_interval 20
retry_check_interval 5
notification_interval 20
register 0
}
define service{
use diskdrive-service
host_name Server_Name
service_description G:\ Drive Space
servicegroups Disk_Drives
check_command check_nt!COUNTER!-l"\\LogicalDisk(G:)\\Free Megabytes","Free Space",MB -w 321600.00 -c 321550.00
}
define serviceescalation{
servicegroup_name Disk_Drives
first_notification 3
last_notification 5
notification_interval 15
escalation_options w
contact_groups Default_Contact, Escalation1
}
define serviceescalation{
servicegroup_name Disk_Drives
first_notification 1
last_notification 6
notification_interval 5
escalation_options c
contact_groups Default_Contact, Escalation1
}
define serviceescalation{
servicegroup_name Disk_Drives
first_notification 7
last_notification 0
notification_interval 5
escalation_options c
contact_groups Default_Contact, Escalation1, Escalation2
}
The servicegroup doesn’t have any definitions defined, so I didn’t copy here.