Configure the email sending Method for zabbix

Source: Internet
Author: User

ZabbixConfigurationEmailThe sending method is to avoid measures that are not around when the alarm is triggered!

Zabbix Installation Platform: ubuntu

Step 1:

Run the following command to install sendmail. (You can also install the mail server when installing ubuntu. I am using the command to install sendmail)

Sudo apt-get install sendmail

Step 2:

If an associated package is prompted during the mail test, follow the prompts to install the package. At this time, you will see some help prompts on the screen. You can use the following command to send a simple mail

Mail recipient address press ENTER

Enter the title and press ENTER

Press ENTER

Ctrl + d

Step 3: Configure zabbix

Administrator-> Media Type-> Create Media Type

Note the following points:

SMTP Server: Your company's email Server (for example, mail.china.com)

SMTP helo: email server domain (for example, china.com)

SMTP email: XXX@china.com (Note: XXX custom)

Step 4: zabbix create a user, add media-type email, enter the email address you want to send to your company (such as: zs@china.com)

Step 5: Create an Action (see the official zabbix API for details)

Step 6: Create a Trigger (same as above)

If a trigger is triggered, Action sends an alarm to the email address of the zabbix user you specified.

Install the above six steps, and you will be able to set up zabbix email sending!

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.