Zabbix------define trigger trigger and action action

Source: Internet
Author: User

11 Perfect monitoring system needs a certain alarm mechanism, when the alarm needs a trigger, how to alarm, in what case how to alarm depends on the action

2 Definition Trigger

650) this.width=650; "src=" http://s3.51cto.com/wyfs02/M02/72/F1/wKiom1XwAqzA2HLgAAGrcxd1ElQ106.jpg "title=" 20.png "alt=" Wkiom1xwaqza2hlgaagrcxd1elq106.jpg "/>

I'm sure the last 3 seconds when the traffic is greater than 50M, the NIC.trigger.transfer state transitions to warning

3 defines the action, that is, when the trigger state changes, the task is executed

Determine the name of the action

650) this.width=650; "src=" http://s3.51cto.com/wyfs02/M01/72/F0/wKiom1Xv-OjTEj3WAAGrRcB_3gs939.jpg "title=" 13.png "alt=" Wkiom1xv-ojtej3waagrrcb_3gs939.jpg "/>

Then modify the situation, what conditions will trigger this action to meet the trigger status of problem

650) this.width=650; "src=" http://s3.51cto.com/wyfs02/M00/72/F0/wKiom1Xv-m3iV-4fAALzaA3h76w913.jpg "title=" 17.png "alt=" Wkiom1xv-m3iv-4faalzaa3h76w913.jpg "/>

Then set the action, such as sending mail to the system user's Liuliancao

650) this.width=650; "src=" http://s3.51cto.com/wyfs02/M02/72/ED/wKioL1Xv_CSwIg69AAIUynZHrcQ760.jpg "title=" 16.png "alt=" Wkiol1xv_cswig69aaiuynzhrcq760.jpg "/>


This is after going to download a postfix to start the service

Then just wait for that threshold to appear, you can watch-n 1 ' ifconfig eth0 ' in the shell, if you want to test lo directly, through AB pressure test, that flow just, or directly to screen, when we define the threshold, then there is a line

650) this.width=650; "src=" http://s3.51cto.com/wyfs02/M01/72/F1/wKiom1Xv_wzglXS4AAGEtcUWfmI290.jpg "title=" 18.png "alt=" Wkiom1xv_wzglxs4aagetcuwfmi290.jpg "/>

As a reminder, if you have previously applied a template, then the template is later modified to become a template v2.0, but your host is still v1.0, so please re-hang the template or add the appropriate entries.

And then I found out.


As for media, I'll try a different version in a few days.














This article is from the "Learning Path of Kai Learning" blog, please make sure to keep this source http://qixue.blog.51cto.com/7213178/1693240

Zabbix------define trigger trigger and action action

Related Article

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.