相关疑难解决方法(0)

Nagios 通过电子邮件发出警告和寻呼机发出 CRITICAL 警报

我想将 Nagios 设置为通过电子邮件发出警告(例如,负载或磁盘使用量略高),但对于关键项目,要通过寻呼机发出警报。

现在,我们同时通过电子邮件和寻呼机通知所有警告。我的通用接触定义如下:

define contact{
    name                            generic-contact
    service_notification_options    w,u,c,r,f,s
    host_notification_options       d,u,r,f,s
    service_notification_commands   notify-service-by-email,notify-service-by-pager
    host_notification_commands      notify-host-by-email,notify-host-by-pager
    register                        0

    service_notification_period     24x7
    host_notification_period        24x7
}
Run Code Online (Sandbox Code Playgroud)

我如何才能使警告和严重的电子邮件通知都发生,但仅对严重的进行分页?

nagios

9
推荐指数
1
解决办法
3万
查看次数

标签 统计

nagios ×1