Detailed explanation of Linux zabbix agent deployment and configuration methods

Detailed explanation of Linux zabbix agent deployment and configuration methods

1. Install zabbix-agent on web01

Deploy zabbix warehouse

rpm -Uvh https://mirrors.aliyun.com/zabbix/zabbix/5.0/rhel/7/x86_64/zabbix-release-5.0-1.el7.noarch.rpm

Change the URL address in the warehouse

sed -i 's#http://repo.zabbix.com#https://mirrors.aliyun.com/zabbix#' /etc/yum.repos.d/zabbix.repo

Install the agent

yum -y install zabbix-agent

Modify the configuration file /etc/zabbix/zabbix_agentd.conf

Server=192.168.1.71

ListenPort=10050

#StartAgents=0

#ServerActive=192.168.1.71

Hostname=web01

illustrate:

  • Server: The IP address of the zabbix-server accessed in passive mode
  • ServerActive: The IP address of the zabbix-server accessed in active mode
  • StartAgents: The number of instances of zabbix_agentd used to handle passive checks. If set to 0, passive mode checks are disabled and the agent no longer listens on any TCP port.

Open ports in firewall

Start the service

systemctl start zabbix-agent systemctl enable zabbix-agent

2. Click Configuration---Host on the zabbix-server web page

Click Create Host in the upper right corner:

Click Template and select Template OS Linux by Zabbix agent

Click Update, and the host list will appear as follows:

Select Monitoring---Host---web01 to start viewing various monitoring data and graphics.

The above is the full content of this article. I hope it will be helpful for everyone’s study. I also hope that everyone will support 123WORDPRESS.COM.

You may also be interested in:
  • How to deploy zabbix_agent in docker
  • Installation and configuration method of Zabbix Agent on Linux platform
  • Zabbix uses PSK shared key to encrypt communication between Server and Agent
  • Install and configure Zabbix Agentd on Windows
  • Installation process of zabbix-agent on Kylin V10

<<:  Implementing simple tabs with js

>>:  Detailed explanation of MySQL InnoDB index extension

Recommend

Understanding v-bind in vue

Table of contents 1. Analysis of key source code ...

Nginx routing forwarding and reverse proxy location configuration implementation

Three ways to configure Nginx The first method di...

Several principles for website product design reference

The following analysis is about product design pr...

CSS flex several multi-column layout

Basic three-column layout .container{ display: fl...

MySQL 8.0.11 Installation Tutorial under Windows

This article records the installation tutorial of...

WeChat applet development practical skills: data transmission and storage

Combining the various problems I encountered in m...

MySQL download and installation details graphic tutorial

1. To download the MySQL database, visit the offi...

MySQL full-text search Chinese solution and example code

MySQL full text search Chinese solution Recently,...

The principle and implementation of two-way binding in Vue2.x

Table of contents 1. Implementation process 2. Di...

Vue parent-child component mutual value transfer and call

Table of contents 1. Parent passes value to child...

VMware vSphere 6.7 (ESXI 6.7) graphic installation steps

Environment: VMware VCSA 6.7 (VMware-VCSA-all-6.7...

MySQL graphical management tool Navicat installation steps

Table of contents Preface 1. Arrange the installa...

What does input type mean and how to limit input

Common methods for limiting input 1. To cancel the...

Basic tutorial on using explain statement in MySQL

Table of contents 1. Overview 1. Explain statemen...

Java programming to write a JavaScript super practical table plug-in

Table of contents Effects Documentation first ste...