1. Introduction to adding monitoring logic to zabbix
Basic Configuration
1) Add zabbix users (user information contains user email information) (administrations --> users)
2) Configure zabbix Mail Server Information for sending warning emails (used to send emails) (administrations --> media type)
Add monitoring
3) add host information to be monitored (configuration --> hosts)
4) configure the items to be monitored by the host (hosts --> items)
5) When configuring the lower bound conditions of the host monitoring project, it is determined that there is a problem (hosts --> triggers)
How to handle the problem (configuration --> actions) is assumed to be sending an email.
6) create a mail template (configuration --> actions --> action)
7) if there is an email template and an error occurs, you can send the email. Next, define the mail sending conditions (configuration --> actions --> conditions)
8) All the above items are met. Next, configure the frequency at which the warning email will be sent to the recipients (configuration --> actions --> operations)
9) view Monitoring Data
The above is the logic flow of the zabbix server configuration. Only by understanding this can we configure the complete zabbix monitoring mail warning operation.
2. Configure the zabbix server based on the above logic (provided that the zabbix agent has been installed on the server to be monitored)
1) Add zabbix users
2) Configure email server information
3) add monitored hosts
4) Configure host monitoring items
5) configure the trigger
6) configure the alert email template
7) define email sending Conditions
8) configure the frequency and recipient of the alert email.
9) view Monitoring Data