sdoghds88888 发表于 2019-1-14 07:42:29

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

  查明原因,是http://s3.运维网.com/wyfs02/M01/23/B0/wKioL1M-bP3wrguqAAAGq7A6upI226.jpg在作怪,如果有该图标,则为不发送报警信息,即不发邮件或者短信
  

  

http://s3.运维网.com/wyfs02/M02/23/AF/wKiom1M-bSag-ypuAAFRq-eSACI070.jpg
  

  如何让图标消失呢,参考http://dl528888.blog.运维网.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 就好了

  




页: [1]
查看完整版本: nagios正常报警,但是主动模式不能发邮件,nrpe可以正常收发