Zabbix custom key value monitoring

Source: Internet
Author: User

1. Generally, zabbix can be used for monitoring zabbix. It is also possible to use custom monitoring. See the introduction in zabbix. agentd. conf.

650) This. width = 650; "src =" http://s3.51cto.com/wyfs02/M01/49/03/wKiom1QNKxPig2jZAAEoONhRuUo521.jpg "Title =" 32.png" style = "float: none;" alt = "wkiom1qnkxpig2jzaaeoonhruo521.jpg"/>

2. userparameter = <key>, <shell command> This is the custom monitoring command. The key and monitoring options are as follows:

 

650) This. width = 650; "src =" http://s3.51cto.com/wyfs02/M01/49/03/wKiom1QNK3TwBbO0AABMBRtFKVY669.jpg "Title =" image 1.png "alt =" wkiom1qnk3twbbo0aabmbrtfkvy669.jpg "/> 650) This. width = 650; "src =" http://s3.51cto.com/wyfs02/M02/49/03/wKiom1QNKxPTCKUIAAGrndR05XI992.jpg "Title =" 31.png" style = "float: none;" alt = "wkiom1qnkxptckuiaagrndr05xi992.jpg"/>

3. Restart the instance after the configuration is changed, and then test the instance on the server.

650) This. width = 650; "src =" http://s3.51cto.com/wyfs02/M01/49/03/wKiom1QNK-jwnrYPAABMBRtFKVY552.jpg "Title =" image 1.png "alt =" wKiom1QNK-jwnrYPAABMBRtFKVY552.jpg "/>

Here we can see that there is output, but there is little access

 

4. Add monitoring on the Web end below, and select "Project-create monitoring item"

650) This. width = 650; "src =" http://s3.51cto.com/wyfs02/M02/49/04/wKioL1QNKx7x2uWgAAPHnY2HGnk037.jpg "Title =" 34.png" style = "float: none;" alt = "wkiol1qnkx7x2uwgaaphny2hgnk037.jpg"/>

 

650) This. width = 650; "src =" http://s3.51cto.com/wyfs02/M02/49/03/wKiom1QNKxOxG-ScAAKfl1j-67I414.jpg "Title =" 35.png" style = "float: none;" alt = "wKiom1QNKxOxG-ScAAKfl1j-67I414.jpg"/>

 

 

 

Enter the name and key value here.

650) This. width = 650; "src =" http://s3.51cto.com/wyfs02/M00/49/04/wKioL1QNKx7Tj2dFAAJILCfWm8g790.jpg "Title =" 36.png" style = "float: none;" alt = "wkiol1qnkx7tj2dfaajilcfwm8g790.jpg"/>

Then archive the file.

 

5. Add another image to facilitate viewing. Select "image-Create Image". here we can see that the httpcount project has been created successfully.

 

650) This. width = 650; "src =" http://s3.51cto.com/wyfs02/M00/49/04/wKioL1QNKx6BqM-sAAJoGlWM_e8077.jpg "Title =" 37.png" style = "float: none;" alt = "wKioL1QNKx6BqM-sAAJoGlWM_e8077.jpg"/>


650) This. width = 650; "src =" http://s3.51cto.com/wyfs02/M00/49/03/wKiom1QNKxTDPaM-AARGiAboQkg696.jpg "Title =" 38.png" style = "float: none;" alt = "wKiom1QNKxTDPaM-AARGiAboQkg696.jpg"/>

 

6. Write a name here and add the selected project. The archive will be OK.

650) This. width = 650; "src =" http://s3.51cto.com/wyfs02/M00/49/03/wKiom1QNKxSABDmEAAbVV55xKlI269.jpg "Title =" 39.png" style = "float: none;" alt = "wkiom1qnkxsabdmeaabvv55xkli269.jpg"/>

 

7. You can see the image in the preview, but the box is garbled below.

650) This. width = 650; "src =" http://s3.51cto.com/wyfs02/M01/49/04/wKioL1QNKy6z7dUPAAKJT66HrHw839.jpg "Title =" 40.png" alt = "wkiol1qnky6z7dupaakjt66hrhw839.jpg"/>

 

 

8. The Garbled text here can be uploaded to the zabbix_server/var/www/html/zabbix/fonts/and replaced by dejavusans from the control panel-font under windows. TTF, the name should be the same. If it is garbled, it will be OK.


650) This. width = 650; "src =" http://s3.51cto.com/wyfs02/M01/49/04/wKioL1QNKyDBQzkUAAK7yOcMbto312.jpg "style =" float: none; "Title =" 41.png" alt = "wkiol1qnkydbqzkuaak7yocmbto312.jpg"/>

 


This article is from the "change from now on" blog, please be sure to keep this source http://peaceweb.blog.51cto.com/3226037/1549887

Zabbix custom key value monitoring

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.