The company recently built the Nagios platform to send a warning email, check the configuration file is not a problem, check the mail log found the following error:
650) this.width=650; "src=" Http://s5.51cto.com/wyfs02/M01/89/1D/wKioL1gIaaaTWdhwAABQRHNQTBk710.png "title=" 2$wpc[ Vlv4yb.png "alt=" Wkiol1giaaatwdhwaabqrhnqtbk710.png "/>
Later query good hostname name and/etc/hosts name is not the same.
And then try to add it under/etc/hosts.
650) this.width=650; "src=" Http://s1.51cto.com/wyfs02/M02/89/1D/wKioL1gIacbD8CXdAAAPWAeD4O8988.png "title=" 2.png " alt= "Wkiol1giacbd8cxdaaapwaed4o8988.png"/>
Note: 100.105.0.17 is native IP
After saving, normal receive mail
This article is from the "My Linux Learning Journey" blog, so be sure to keep this source http://dousi.blog.51cto.com/9827926/1863870
Nagios alarm does not solve the problem