1. Purpose
Zabbix monitoring Server, the client has been deployed to complete, the monitored host has been added, Zabiix monitoring operation is normal.
Set the mail alarm on the Zabbix server, when the monitored host is down or when the trigger preset is reached, an alarm message will be sent to the designated mailbox automatically. (can also use other alarm mode, just need to configure)
650) this.width=650; "Src=" Http://s2.51cto.com/wyfs02/M02/89/E7/wKioL1ghZ4vTmoTmAABnVcfd9yE303.png-wh_500x0-wm_3 -wmp_4-s_3631383429.png "title=" 1.png "alt=" Wkiol1ghz4vtmotmaabnvcfd9ye303.png-wh_50 "/>
2, Mail alarm
1, Zabbix service is simply send alarm mail to the designated mailbox, send alarm mail This mailbox account is the Zabbix service side of the local mailbox account, can only send, can not receive external mail.
2. Use a mailbox account that can send and receive mail on the Internet, by setting it in the Zabbix server, so that it can transmit alarm messages to a designated mailbox.
#yum Install mail postfix-y
#echo "Zabbix test! Mail "|mail-s" Zabbix "[email protected]
(Test whether to accept the normal, if the domain name is not certified, you need to find in the trash, and then indicate that it is not a spam mailbox)
3. Service-side configuration
650) this.width=650; "Src=" Http://s5.51cto.com/wyfs02/M01/89/E7/wKioL1ghaL_inGbYAAB-h7y-XRA462.png-wh_500x0-wm_3 -wmp_4-s_2084364618.png "title=" 1.png "alt=" Wkiol1ghal_ingbyaab-h7y-xra462.png-wh_50 "/>
Set Zabbix user Alarm email address
650) this.width=650; "Src=" Http://s5.51cto.com/wyfs02/M02/89/EA/wKiom1ghaRKD78AjAABPrs8W2wk213.png-wh_500x0-wm_3 -wmp_4-s_2914706496.png "title=" 1.png "alt=" Wkiom1gharkd78ajaabprs8w2wk213.png-wh_50 "/>
Set the action of the Zabbix trigger alarm
650) this.width=650; "Src=" Http://s5.51cto.com/wyfs02/M00/89/E7/wKioL1ghaWaTwKN_AACv-dRQOpM120.png-wh_500x0-wm_3 -wmp_4-s_2605195731.png "title=" 1.png "alt=" Wkiol1ghawatwkn_aacv-drqopm120.png-wh_50 "/>
650) this.width=650; "Src=" Http://s4.51cto.com/wyfs02/M02/89/EA/wKiom1ghaa2y_dlHAACPoNnz7gQ123.png-wh_500x0-wm_3 -wmp_4-s_1818173234.png "title=" 1.png "alt=" Wkiom1ghaa2y_dlhaacponnz7gq123.png-wh_50 "/>
4, Analog touch, alarm
650) this.width=650; "src=" Http://s4.51cto.com/wyfs02/M00/89/EA/wKiom1ghajPCBQvNAAD1Rv40O_U762.png "title=" 1.png " alt= "Wkiom1ghajpcbqvnaad1rv40o_u762.png"/>
inspiration from: http://www.osyunwei.com/archives/8113.html
This article is from the "[email protected]" blog, please be sure to keep this source http://renzhiyuan.blog.51cto.com/10433137/1870604
zabbix3.x Mail Alarm Simple notes!