Environment IntroductionOperating system: centos 7.4 Zabbix version: zabbix server 3.4.7 Client: zabbix-agent 3.4.7 Monitoring process: mysqld Monitoring port: 3306 tcp Process MonitoringConfirm that the client has been installed and the agent is running View Process View several processes belonging to that user The mysql process is two processes of the root user Add monitoring items Write any name Type zabbix-client Key value selection process number return number Application selection prosesesses process The following is the monitoring configuration of the MySQL process, and the parameter description in key. The fourth parameter of Confirm Update Create a trigger Select the monitoring item you just created insert Modify for Because we want to test whether the alarm can be triggered, we need to select =2. Normal <1 means it is not running. Wait a few minutes to see if the trigger can be triggered. Receive email warning Change the test process to normal (because mysql runs two processes, I set the trigger to issue an alarm when the number of processes is less than two) Save the update and observe whether it returns to normal Monitoring PortAdd monitoring items Modify port save update Same as monitoring process (test first) Receive trigger warnings Adjust the previous value to 0 Test returned normal This is the end of this article about zabbix monitoring processes and ports through agent. For more relevant zabbix monitoring processes and ports content, please search 123WORDPRESS.COM's previous articles or continue to browse the following related articles. I hope everyone will support 123WORDPRESS.COM in the future! You may also be interested in:
|
<<: JavaScript flow control (branching)
>>: 10 issues that must be considered when designing and building large-scale website architecture
Documentation: https://github.com/hilongjw/vue-la...
[LeetCode] 197.Rising Temperature Given a Weather...
This article introduces how to build a high-avail...
The idea of using token for login verification ...
MySQL master-slave replication allows data from o...
Table of contents 1. Cancel duplicate requests 2....
Encapsulate a navigation bar component in Vue3, a...
Docker usage of gitlab gitlab docker Startup Comm...
Sometimes we need to control whether HTML elements...
In the actual project development process, the pag...
title: vue uses vue-meta-info to set the title an...
This article shares the specific code of jQuery...
The functions of the three attributes flex-grow, ...
Preface: I encountered a requirement to extract s...
*Create a page: two input boxes and a button *Cod...