nagios 报警频率控制:
前提是定义好servicegroup和hostgroup。contact_groups 为联系人组
服务组频率控制:
define serviceescalation{servicegroup_name utt
service_description check_ping
first_notification 3
last_notification 5
notification_interval 60
contact_groups utt
}
define serviceescalation{
servicegroup_name utt
service_description check_ping
first_notification 6
last_notification 0
notification_interval 0
escalation_options u,c,r
contact_groups utt
}
主机组服务控制:
define serviceescalation{
hostgroup_name utt
first_notification 3
last_notification 5
notification_interval 30
contact_groups utt
}
define serviceescalation{
hostgroup_name utt
first_notification 6
last_notification 0
notification_interval 0
escalation_options u,c,r
contact_groups utt
}