Zabbix Monitor Specific processes

Source: Internet
Author: User

Because some servers running some important programs, need to monitor them, the company is Zabbix monitoring, before the Zabbix to add a custom script to monitor specific programs, recently read the Zabbix official documents, found that the original powerful Zabbix can monitor the program is running , and to monitor the size of the memory it uses, here's my practice record:

1. To create a new monitor on a specific machine or template, click on the Select button following the key to select two items, one to monitor the number of specific processes, and the other to monitor the amount of memory used by the process.

2. The following is a monitoring configuration of the squid process, key in the parameter description, the first parameter is the process name, not necessary to fill in, but will make the monitoring is not very accurate (personal test only), the second parameter is the user name running the process, the third is the state of the process, including: all (default), run , Sleep, Zomb, the fourth parameter is used to specify the characters contained in the process name and to filter the process.

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




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.