码迷,mamicode.com
首页 > 其他好文 > 详细

zabbix服务正常,但未收到sendmail邮件告警

时间:2015-11-25 01:17:38      阅读:374      评论:0      收藏:0      [点我收藏+]

标签:zabbix监控   sendmail   未收到   告警   

最近的zabbix服务器上的sendmail服务运行正常,但发送邮件失败。

查看日志截取部分显示如下:

May 20 16:58:30 localhost sendmail[31269]: t4K8wUMm031269: from=root, size=226, class=0, nrcpts=1, msgid=<201505200858.t4K8wUMm031269@localhost.localdomain>, relay=root@localhost

May 20 16:58:30 localhost sendmail[31270]: t4K8wUaO031270: from=<root@localhost.localdomain>, size=482, class=0, nrcpts=1, msgid=<201505200858.t4K8wUMm031269@localhost.localdomain>, proto=ESMTP, daemon=MTA, relay=wonhot30.com [127.0.0.1]

May 20 16:58:30 localhost sendmail[31269]: t4K8wUMm031269: to=admin@test.com, ctladdr=root (0/0), delay=00:00:00, xdelay=00:00:00, mailer=relay, pri=30226, relay=[127.0.0.1] [127.0.0.1], dsn=2.0.0, stat=Sent (t4K8wUaO031270 Message accepted for delivery)

后将

/etc/mail/hosts_local_name

/etc/hosts

/etc/sysconfig/network

三者中的hostname统一后,重启sendmail服务恢复正常


本文出自 “疯子的守望” 博客,请务必保留此出处http://mrthanks.blog.51cto.com/1764573/1716472

zabbix服务正常,但未收到sendmail邮件告警

标签:zabbix监控   sendmail   未收到   告警   

原文地址:http://mrthanks.blog.51cto.com/1764573/1716472

(0)
(0)
   
举报
评论 一句话评论(0
登录后才能评论!
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!