当前位置:网站首页>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.rpm
Edit settings zabbix agent2 The configuration file
Modify the following
Server=192.168.3.54
ServerActive=192.168.3.54
HostMetadataItem=system.uname
among 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 --reload
ubuntu18.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.deb
Edit settings zabbix agent2 The configuration file
Modify the following
Server=192.168.3.54
ServerActive=192.168.3.54
HostMetadataItem=system.uname
among 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
Use 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 reload
After the release port is configured, it needs to be restarted zabbix-agent2
systemctl restart zabbix-agent2
windows 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
边栏推荐
- Tutorial (5.0) 09 Restful API * fortiedr * Fortinet network security expert NSE 5
- A4988驱动步进电机「建议收藏」
- 机器学习笔记 - 时间序列预测研究:法国香槟的月销量
- Function high order curry realization
- AcWing 1137. Select the best line solution (the shortest circuit)
- [pytorch learning notes] tensor
- AcWing 340. 通信线路 题解(二分+双端队列BFS求最短路)
- 虚拟机初始化脚本, 虚拟机相互免秘钥
- Markdown basic grammar
- End-to-End Object Detection with Transformers(DETR)论文阅读与理解
猜你喜欢
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
Markdown basic grammar
AcWing 1126. 最小花费 题解(最短路—dijkstra)
AcWing 342. Road and route problem solving (shortest path, topological sorting)
Web2.0的巨头纷纷布局VC,Tiger DAO VC或成抵达Web3捷径
嵌入式(PLD) 系列,EPF10K50RC240-3N 可编程逻辑器件
《重构:改善既有代码的设计》读书笔记(上)
教程篇(5.0) 10. 故障排除 * FortiEDR * Fortinet 網絡安全專家 NSE 5
Yunna | why use the fixed asset management system and how to enable it
线程应用实例
随机推荐
Advanced performance test series "24. Execute SQL script through JDBC"
Data dimensionality reduction factor analysis
AcWing 341. 最优贸易 题解 (最短路、dp)
MySQL advanced (Advanced) SQL statement
程序猿入门攻略(十二)——数据的存储
xml开发方式下AutowiredAnnotationBeanPostProcessor的注册时机
Watchful pioneer world outlook Architecture - (how does a good game come from)
mysql备份后缀是什么_mysql备份还原
A4988 drive stepper motor "recommended collection"
守望先锋世界观架构 ——(一款好的游戏是怎么来的)
Quanzhi A33 uses mainline u-boot
Notes de lecture sur le code propre
AcWing 1125. Cattle travel problem solution (shortest path, diameter)
Microservice technology - distributed global ID in high concurrency
Reading notes of code neatness
4274. Suffix expression - binary expression tree
AcWing 1128. 信使 题解(最短路—Floyd)
Bubble sort array
冒泡排序数组
metric_ Logger urination