Zabbix trigger avg usage example

Source: Internet
Author: User

The average value of items during the defined evaluation period.

Format: avg (sec | # num, <time_shift>)

Sec or # num)

Supported value types: floating, INT

Example:
Avg (#5): 5 latest average values
Avg (1 h): Average value within one hour
Avg (1 h, 1d): Average value of one hour before a day

I. Example:

1, hourly average

{Www.111cn.net: nginx. http. avg (1 h) }= 30000
The hourly average value of nginx http key is triggered if = 30000

2, number of times in time

{Www.111cn.net: nginx. http. avg (#20) }= 300000
The nginx http key is triggered when the average value of the last 10 times is 300000 (assume that the value of each time is 30 seconds, that is, the value of 30 at a time is 300000, and a total of 20 times are obtained)

3, time_thrift

{Www.111cn.net: nginx. http. avg (1 h, 1d }= 30000
The average value of the nginx http key in one hour before one day is 30000.

4, within minutes

{Www.111cn.net: nginx. http. avg (#30000 m)} <
If the average value of nginx http key is less than 30000 in the last 10 minutes (in this period, if the value is updated to 1 minute, #10 is equal to, 1 ~ 10 minutes)

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.