Zabbix Monitoring Specific processes

Source: Internet
Author: User

Because some servers run some important programs, need to monitor them, the company is using Zabbix monitoring, before the Zabbix to add a custom script to monitor the specific program, recently looked at Zabbix official documents, found that the original powerful Zabbix can actually monitor whether the program is running and can monitor the size of the memory it uses, here are my practice notes:

1. Create a new monitoring item on a specific machine or template, click the Select button after key, select the following two items, one to monitor the number of specific processes, and the other to monitor the size of the memory used by the process.

650) this.width=650; "src=" http://s3.51cto.com/wyfs02/M01/55/42/wKiom1SJNlfDLqfHAAEVI4rUBGE565.jpg "title=" 1.jpg " alt= "Wkiom1sjnlfdlqfhaaevi4rubge565.jpg"/>

2. The following is the monitoring configuration of the squid process, key parameter description, the first parameter is the process name, no need to fill in, but will make monitoring less accurate (personal test only), the second parameter is the user name of the running process, the third is the status of the process, including: All(default),RunSleepZomb, the fourth parameter is used to specify the characters contained in the process name and to filter the process.


650) this.width=650; "src=" http://s3.51cto.com/wyfs02/M00/55/40/wKioL1SJN4biyniuAAHdbFroWg4830.jpg "title=" 2.jpg " alt= "Wkiol1sjn4biyniuaahdbfrowg4830.jpg"/>

3. After configuring the monitoring item, add the trigger, the following trigger indicates that the last two times the value is 0, indicating that no squid process is running, then set off the alarm.

650) this.width=650; "src=" http://s3.51cto.com/wyfs02/M00/55/42/wKiom1SJNvyRDvdtAAFNxU-Kg9Y766.jpg "title=" 3.jpg " alt= "Wkiom1sjnvyrdvdtaafnxu-kg9y766.jpg"/>


This article is from the "XFICC" blog, make sure to keep this source http://xficc.blog.51cto.com/1189288/1588709

Zabbix Monitoring Specific processes

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.