Zabbix version: 2.2.5
Development language: Perl
System Environment: Redhat 6.7
I. Main realization function: 1. Email Alert Content Personalization
2. The recipient displays multiple contacts at the same time
3. Add alarm (1 hours) to the message
Two, the two places needing attention:
1.zabbix_server.conf Open your own alarm script path
Alertscriptspath=/wls/zabbix/alertscripts
2. Permissions issues
Give file 777 permissions to the Alertscriptspath=/wls/zabbix/alertscripts directory
chmod 777-r alertscriptspath=/wls/zabbix/alertscripts
Here to write the link content
http://blog.csdn.net/jackm1688/article/details/51729490
Vi.. Monitoring template content:
Itemid:{item. ID1}
Dengji:{trigger. SEVERITY}
[Kt]key:{item. KEY1}[KN]
[Hs]host:{host. NAME1}[HN]
cn_st[xxxx@xxxan.com.cn;xxxx@xxxan.com.cn;] EN_CN
Alarm entry name #^{item. NAME1}
Alarm host #^{host. NAME1}
Alarm key key value #^{item. KEY1}
alarm trigger rule #^{trigger. EXPRESSION}
Alarm Time #^{event. DATE} {EVENT. TIME}
alarm level #^{trigger. SEVERITY}
Alarm value #^{item. VALUE1}
Latest acquisition value #^{{hostname}:{trigger. Key}.last (0)}
problem description #^{trigger. DESCRIPTION}
Effect Diagram: