查明原因,是nagios正常报警,但是主动模式不能发邮件,nrpe可以正常收发_nagios邮件报警在作怪,如果有该图标,则为不发送报警信息,即不发邮件或者短信



   nagios正常报警,但是主动模式不能发邮件,nrpe可以正常收发_nagios邮件报警_02


如何让图标消失呢,参考http://dl528888.blog.51cto.com/2382721/763079

但是我修改了以后还是不能发邮件,然后查看配置文件:


define service{
        use                             local-service       
        host_name                       web5
        service_description             HTTP
        check_command                   check_http
        notifications_enabled           0 #此处还为0
        }
define service{
        use                             local-service       
        host_name                       web5
        service_description             GameServer_9002
        check_command                   check_port_9002
        notifications_enabled           0 #此处也是
        }

修改为1 就好了