7. Configuring Zabbix Alarms

Source: Internet
Author: User

1. Configure the alarm media:

(1) Click Media Types below administration

(2) Click Create Media type in the top right corner


E-Mail Alerts we use CentOS SendMail

650) this.width=650; "src=" Http://s1.51cto.com/wyfs02/M01/79/3E/wKioL1aMrcvj4mZoAAAy6p3kMoU511.png "title=" QQ picture 20160106140056.png "alt=" Wkiol1amrcvj4mzoaaay6p3kmou511.png "/>


SMS Alarm We use the Cloud network SMS Channel

650) this.width=650; "src=" Http://s3.51cto.com/wyfs02/M02/79/40/wKiom1aMrl7hVe2fAAA1GVpWPHE891.png "title=" QQ picture 20160106140404.png "alt=" Wkiom1amrl7hve2faaa1gvpwphe891.png "/>


The location of the alarm script can be confirmed by checking the zabbix_server.conf:


[Email protected] ~]# cat/etc/zabbix/zabbix_server.conf | grep Alert

Alertscriptspath=/usr/lib/zabbix/alertscripts


Place the script under the specified directory and grant permissions


Ps:

(1) Zabbix when invoking the script, it will pass three variables, namely the recipient, the $ $ theme, the $ content

(2) cloud network SMS channel does not support%


2. Associate the user and the alarm media:

(1) Click the users below administration

(2) Top right corner drop-down box Select users

(3) Click Media under Admin


Mail alerts receive only high and disaster:

650) this.width=650; "src=" Http://s5.51cto.com/wyfs02/M00/79/41/wKioL1aMw4zAjgAqAAC4nM4mdyk537.png "title=" QQ picture 20160106153118.png "alt=" Wkiol1amw4zajgaqaac4nm4mdyk537.png "/>


SMS alarm only receive disaster:

650) this.width=650; "src=" Http://s2.51cto.com/wyfs02/M01/79/41/wKioL1aMxCKxV8IvAACyAlRdWec271.png "title=" QQ picture 20160106153201.png "alt=" Wkiol1amxckxv8ivaacyalrdwec271.png "/>


Overall effect:

650) this.width=650; "src=" Http://s3.51cto.com/wyfs02/M00/79/41/wKioL1aMxGzSd-eEAACroZRSPx0504.png "title=" QQ picture 20160106153319.png "alt=" Wkiol1amxgzsd-eeaacrozrspx0504.png "/>


3. Configure the trigger triggered action:

(1) Click Actions below the configuration

(2) upper right corner drop-down box select triggers

(3) Click Create action in the top right corner


Alarm subject and alarm information can be customized, select the macro you need

650) this.width=650; "src=" Http://s4.51cto.com/wyfs02/M00/79/43/wKiom1aM0_6Tao9PAABv3lYj1nw197.png "title=" QQ picture 20160106164435.png "alt=" Wkiom1am0_6tao9paabv3lyj1nw197.png "/>


To configure an alarm upgrade:

Alarm 1–2 step, send SMS to Operation dimension

Alarm 第1-10 step, send mail to Operation Dimension

If the problem remains unresolved after 6 hours, send mail to Ops

If the problem remains unresolved after 12 hours, continue sending mail to Ops

650) this.width=650; "src=" Http://s4.51cto.com/wyfs02/M01/79/42/wKioL1aMz3ax2DGrAADQITzcjcs532.png "title=" QQ picture 20160106162407.png "alt=" Wkiol1amz3ax2dgraadqitzcjcs532.png "/>

This article is from the "11062687" blog, please be sure to keep this source http://11072687.blog.51cto.com/11062687/1732176

7. Configuring Zabbix Alarms

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.