Zabbix mail configuration, zabbix mail
I. System and version
Operating System: centos7
Zabbix version: 3.2.5
Ii. Install sendmail
Yum-y install sendmail
Systemctl enable sendmail
Systemctl start sendmail
1. if the error "My unqualified host name vim/etc/hosts xxx" is reported during startup. xxx. xxx. xxx hostname.com local name +. com because sendmail is running, it needs to read the FQDN of a local machine from hosts. 2. the DSN error occurs when the test email is sent. DSN: Service unavailable: Name the hostname of the linux Server xxx.com hostnamectl set-hostname zabbix.ym.com. 3. Configure zabbix mailbox settings. ---> alarm media type
Zabbix.ym.com is the host name of the zabbix server.
4. Configure users
Management ---> User
5. Configure actions
Configure ---> action ---> Create action
Content of default information
Fault {TRIGGER. STATUS}, server {HOSTNAME1}: {TRIGGER. NAME} fault! Alert time: {EVENT. DATE} {EVENT. TIME} alert HOST: {HOST. NAME} host ip: {HOST. IP} Current status: {TRIGGER. STATUS} alert information: {TRIGGER. NAME} problem details: {ITEM. NAME }:{ ITEM. VALUE} alert level: {TRIGGER. SEVERITY} event id: {EVENT. ID}