首页 > 其他 > 详细

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

时间:2015-11-25 01:15:45      阅读:657      评论:0      收藏:0      [点我收藏+]

最近的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邮件告警

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

(0)
(0)
   
举报
评论 一句话评论(0
关于我们 - 联系我们 - 留言反馈 - 联系我们:wmxa8@hotmail.com
© 2014 bubuko.com 版权所有
打开技术之扣,分享程序人生!