Add zabbix computing type project calculated items

Source: Internet
Author: User

The info Command provided by redis can be used to monitor the values keyspace_hits and keyspace_misses, but the hit rate of redis cannot be obtained directly. The hit rate of redis can be monitored through calculated items of zabbix.

Https://www.zabbix.com/documentation/2.2/manual/config/items/itemtypes/calculated

Zabbix supports this function from 1.8.1.

When creating a new item, you need to select type as calculated.

Enter the name of the new key in the key column.

Enter the calculation expression of the new key in the formula column.

func(<key>|


Func is a function supported in the https://www.zabbix.com/documentation/2.2/manual/appendix/triggers/functions documentation

Key is another item that needs to be used. It is best to use double quotation marks "" to expand the key value. If there is a quotation mark in the key value, use \ escape.

Other parameters required for Parameter


Example:

1. zabbix calculates the ratio of the nearest available disk space to the total disk space.


  1. 100*last("vfs.fs.size[/,free]",0)/last("vfs.fs.size[/,total]",0)

2. Calculate the zabbix processed in an average of 10 minutes

This article is from the "Linux SA John" blog, please be sure to keep this source http://john88wang.blog.51cto.com/2165294/1557019

Add zabbix computing type project calculated items

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.