您也可以在联系人级别执行此操作,方法是禁用 Nagios 联系人的通知。例如:
define contact {
contact_name JohnDoe
email johndoe@example.com
host_notifications_enabled 0
service_notifications_enabled 0
}
Run Code Online (Sandbox Code Playgroud)
给这只猫剥皮的另一种方法是在联系人定义中使用host_notification_options和service_notification_options。将它们设置为n
(无)。