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
Folding display multi-line text component Fold an...
Set a background image for the table. You can use...
1. First create the file (cd to the directory whe...
Preface During the development process, you will ...
Currently implemented are basic usage, clearable,...
This article example shares the specific code of ...
Table of contents Arithmetic operators Abnormal s...
First, the server environment information: Reason...
Prerequisites: Docker is already installed 1. Fin...
<br />The color of a web page is one of the ...
Volume Label, Property Name, Description 002 <...
The css animation of the rotating flip effect, th...
MJML is a modern email tool that enables develope...
1. Introduction By enabling the slow query log, M...
Table of contents 1. Environmental Preparation 2....