nagios不报警,怎么回事
环境centos7 nagios4.0.8 postfix
首先手动发邮件没有问题,nagios服务通知也启用了,contact.cfg的email也改过来,不知道哪里出错了,查看maillog里只有自己测试的邮件,nagios日志里也没有邮件的信息,也没有报错,不知道什么情况了,求大神看下,下面是我关掉http服务后的日志
[1481523495] SERVICE ALERT: localhost;SSH;CRITICAL;SOFT;1;connect to address 127.0.0.1 and port 22: Connection refused
[1481523502] SERVICE ALERT: localhost;HTTP;CRITICAL;SOFT;3;connect to address 127.0.0.1 and port 80: Connection refused
[1481523555] SERVICE ALERT: localhost;SSH;CRITICAL;SOFT;2;connect to address 127.0.0.1 and port 22: Connection refused
[1481523562] SERVICE ALERT: localhost;HTTP;CRITICAL;HARD;4;connect to address 127.0.0.1 and port 80: Connection refused
[1481523615] SERVICE ALERT: localhost;SSH;CRITICAL;SOFT;3;connect to address 127.0.0.1 and port 22: Connection refused
[1481523675] SERVICE ALERT: localhost;SSH;CRITICAL;HARD;4;connect to address 127.0.0.1 and port 22: Connection refused
[1481524162] SERVICE ALERT: localhost;HTTP;OK;HARD;4;HTTP OK: HTTP/1.1 200 OK - 276 bytes in 0.002 second response time
[1481524224] Caught SIGTERM, shutting down...
[1481524224] Successfully shutdown... (PID=6223)
[1481524224] Event broker module 'NERD' deinitialized successfully.
[1481524224] Nagios 4.0.8 starting... (PID=6627)
[1481524224] Local time is Mon Dec 12 14:30:24 CST 2016
[1481524224] LOG VERSION: 2.0
[1481524224] qh: Socket '/usr/local/nagios/var/rw/nagios.qh' successfully initialized
[1481524224] qh: core query handler registered
[1481524224] nerd: Channel hostchecks registered successfully
[1481524224] nerd: Channel servicechecks registered successfully
[1481524224] nerd: Channel opathchecks registered successfully
[1481524224] nerd: Fully initialized and ready to rock!
[1481524224] wproc: Successfully registered manager as @wproc with query handler
[1481524224] wproc: Registry request: name=Core Worker 6631;pid=6631
[1481524224] wproc: Registry request: name=Core Worker 6632;pid=6632
[1481524224] wproc: Registry request: name=Core Worker 6630;pid=6630