Nagios notification_options
在nagios的几个触发参数里会有w、d、u、f这样的调用方式。具体每个字母代表的意思如下:
1host_notification_options:
2d = notify on DOWN host states,
3u = notify on UNREACHABLE host states
4r = notify on host recoveries (UP states)
5f = notify when the host starts and stops flapping
6s = send notifications when host or service scheduled downtime starts and ends
7n (none) as an option, the contact will not receive any type of host notifications.
8service_notification_options:
9w = notify on WARNING service states
10u = notify on UNKNOWN service states
11c = notify on CRITICAL service states
12r = notify on service recoveries (OK states)
13f = notify when the service starts and stops flapping
14n (none) as an option, the contact will not receive any type of service notifications.
15常用的设置
16host_notification_options:d,u,r
17service_notification_options:w,u,c,r
捐赠本站(Donate)
如您感觉文章有用,可扫码捐赠本站!(If the article useful, you can scan the QR code to donate))
- Author: shisekong
- Link: https://blog.361way.com/nagios-notification_options/2861.html
- License: This work is under a 知识共享署名-非商业性使用-禁止演绎 4.0 国际许可协议. Kindly fulfill the requirements of the aforementioned License when adapting or creating a derivative of this work.