« mysql 表生成 nagios 配置 | Main | 换了液晶显示器 开始玩网游 »
January 17, 2007
nagios 报警次数控制 hostescalation serviceescalation
版权声明:可以任意转载,转载时请务必以超链接形式标明文章原始出处和作者信息及本声明。 https://windtear.net/archives/2007/01/17/001193.html http://windtear.net/archives/2007/01/17/001193.html nagios 报警次数控制 hostescalation serviceescalation define serviceescalation { host_name service_description first_notification 3 last_notification 5 contact_groups notification_interval 60 escalation_period 24x7 escalation_options c } disable: first_notification 5 last_notification 6 notification_interval 0 不过 nagios 2.8 之前 serviceescalation 判断有个 bug base/notifications.c - line 1640 /* else use the shortest of all valid escalation intervals */ else if(temp_se->notification_interval<interval_to_use) interval_to_use=svc->notification_interval; 应为 (nagios 2.8 已修正) interval_to_use=temp_se->notification_interval; |
Posted by windtear at January 17, 2007 11:33 PM