当前位置:网站首页>Zabbix5 client installation and configuration
Zabbix5 client installation and configuration
2022-07-02 19:35:00 【gsls200808】
Connected to a docker install zabbix5 Server side , This is to configure the client
centos7 To configure
install
wget http://repo.zabbix.com/zabbix/5.4/rhel/7/x86_64/zabbix-agent2-5.4.12-1.el7.x86_64.rpm
rpm -ivh zabbix-agent2-5.4.12-1.el7.x86_64.rpmEdit settings zabbix agent2 The configuration file
Modify the following
Server=192.168.3.54
ServerActive=192.168.3.54
HostMetadataItem=system.unameamong Server and ServerActive Change to your own server IP,HostMetadataItem Remove the previous comments and modify the content
start-up Check the status Boot from boot
systemctl start zabbix-agent2
systemctl status zabbix-agent2
systemctl enable zabbix-agent2 close selinux( This step may not be necessary )
command vi /etc/selinux/config, take SELINUX=enforcing Change it to SELINUX=disabled
Let go of the firewall
firewall-cmd --permanent --add-port=10050/tcp
firewall-cmd --reloadubuntu18.04 To configure
install
wget http://repo.zabbix.com/zabbix/5.4/ubuntu/pool/main/z/zabbix/zabbix-agent2_5.4.12-1%2Bubuntu18.04_amd64.deb
sudo dpkg -i zabbix-agent2_5.4.12-1+ubuntu18.04_amd64.debEdit settings zabbix agent2 The configuration file
Modify the following
Server=192.168.3.54
ServerActive=192.168.3.54
HostMetadataItem=system.unameamong Server and ServerActive Change to your own server IP,HostMetadataItem Remove the previous comments and modify the content
start-up Check the status Boot from boot
systemctl start zabbix-agent2
systemctl status zabbix-agent2
systemctl enable zabbix-agent2Use iptables Release port
iptables -A INPUT -p tcp --dport 10050 -j ACCEPT
iptables -A OUTPUT -p tcp --sport 10050 -j ACCEPT Save release port
# install iptables-persistent Tools , Persistent port configuration
sudo apt-get install iptables-persistent
# The pop-up box returns all the way
# The port configuration takes effect permanently
sudo netfilter-persistent save
sudo netfilter-persistent reloadAfter the release port is configured, it needs to be restarted zabbix-agent2
systemctl restart zabbix-agent2windows To configure
windows agent2 download
Download selection page
https://www.zabbix.com/cn/download_agents?version=5.4&release=5.4.12&os=Windows&os_version=Any&hardware=amd64&encryption=OpenSSL&packaging=MSI&show_legacy=0
Through
https://cdn.zabbix.com/zabbix/binaries/stable/5.4/5.4.12/zabbix_agent2-5.4.12-windows-amd64-openssl.msi
Double click installation , Configure in the interface after installation Server and ServerActive For your own server IP, Pictured

Server host add
First add a custom group name To configure -- Host group - Create groups
Host add To configure - host - Create a host
windows Add the host as shown in the figure

linux The host configuration is shown in the figure , The main reason is that the template is different

After a while zabbix The icon turns green
边栏推荐
- Windows2008R2 安装 PHP7.4.30 必须 LocalSystem 启动应用程序池 不然500错误 FastCGI 进程意外退出
- Gmapping code analysis [easy to understand]
- Idea editor removes SQL statement background color SQL statement warning no data sources are configured to run this SQL And SQL dialect is not config
- AcWing 181. 回转游戏 题解(搜索—IDA*搜索)
- 潇洒郎:彻底解决Markdown图片问题——无需上传图片——无需网络——转发给他人图片无缺失
- AcWing 342. Road and route problem solving (shortest path, topological sorting)
- LeetCode 0871.最低加油次数 - 类似于POJ2431丛林探险
- Tutorial (5.0) 10 Troubleshooting * fortiedr * Fortinet network security expert NSE 5
- A4988驱动步进电机「建议收藏」
- 安装单机redis详细教程
猜你喜欢

AcWing 903. 昂贵的聘礼 题解(最短路—建图、dijkstra)

搭建主从模式集群redis

Idea editor removes SQL statement background color SQL statement warning no data sources are configured to run this SQL And SQL dialect is not config

AcWing 342. Road and route problem solving (shortest path, topological sorting)

450-深信服面经1

Markdown基础语法

为什么要做企业固定资产管理系统,企业如何加强固定资产管理

安装单机redis详细教程

Why should we build an enterprise fixed asset management system and how can enterprises strengthen fixed asset management

《MongoDB入门教程》第03篇 MongoDB基本概念
随机推荐
MySQL advanced (Advanced) SQL statement
潇洒郎:彻底解决Markdown图片问题——无需上传图片——无需网络——转发给他人图片无缺失
Pytorch版本、CUDA版本与显卡驱动版本的对应关系
Reading notes of "the way to clean structure" (Part 2)
When converting from list to map, if a certain attribute may cause key duplication and exceptions, you can set the way to deal with this duplication
AcWing 903. 昂贵的聘礼 题解(最短路—建图、dijkstra)
Markdown basic grammar
Data dimensionality reduction principal component analysis
Codeworks round 802 (Div. 2) pure supplementary questions
A4988 drive stepper motor "recommended collection"
Machine learning notes - time series prediction research: monthly sales of French champagne
AcWing 341. 最优贸易 题解 (最短路、dp)
450-深信服面经1
高级性能测试系列《24. 通过jdbc执行sql脚本》
为什么要做企业固定资产管理系统,企业如何加强固定资产管理
AcWing 383. Sightseeing problem solution (shortest circuit)
机器学习笔记 - 时间序列预测研究:法国香槟的月销量
虚拟机初始化脚本, 虚拟机相互免秘钥
C file input operation
定了,就是它!