• Nagios设置只监控不报警


    设置全部监控项都开启邮件报警:

    vim /usr/local/nagios/etc/nagios.cfg 

    设置
    enable_notifications=1    1为开启,0为关闭
     
     
    如个别监控项只监控不报警:
    例如负载load只监控不报警
    vim /usr/local/nagios/etc/objects/services.cfg
     
    define service{
            use                             local-service-15x7,services-pnp
            host_name                       sy_frxz_center_121.10.138.31_遂溪新生代
            service_description             Check Load
            servicegroups                   check_load
            check_command                   check_nrpe!check_load!50,40,30!80,70,60
            notifications_enabled           0
            }
     
    notifications_enabled设置为0则不发邮件报警
  • 相关阅读:
    js入门之DOM
    js入门之字符串常用的方法
    js入门之内置数组对象 Array
    js入门之内置对象Date
    js入门之内置对象Math
    js入门之对象
    js入门之函数
    js入门之数组
    js入门第二篇之流程控制语句
    js入门第一篇
  • 原文地址:https://www.cnblogs.com/fjping0606/p/4429044.html
Copyright © 2020-2023  润新知