当前位置:网站首页>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
边栏推荐
- Which video recording software is better for the computer
- 【pytorch学习笔记】Tensor
- 2022.7.1-----leetcode. two hundred and forty-one
- AcWing 1129. 热浪 题解(最短路—spfa)
- Yunna | why use the fixed asset management system and how to enable it
- Binary operation
- End-to-End Object Detection with Transformers(DETR)论文阅读与理解
- mybatiesHelperPro工具必须的可以生成到对应项目文件夹下
- Codeworks round 802 (Div. 2) pure supplementary questions
- 线程应用实例
猜你喜欢
Bubble sort array
AcWing 342. 道路与航线 题解 (最短路、拓扑排序)
xml开发方式下AutowiredAnnotationBeanPostProcessor的注册时机
450-深信服面经1
Registration opportunity of autowiredannotationbeanpostprocessor under annotation development mode
AcWing 903. 昂贵的聘礼 题解(最短路—建图、dijkstra)
Data dimensionality reduction factor analysis
《架构整洁之道》读书笔记(下)
潇洒郎:彻底解决Markdown图片问题——无需上传图片——无需网络——转发给他人图片无缺失
zabbix5客户端安装和配置
随机推荐
[error record] problems related to the installation of the shuttle environment (follow-up error handling after executing the shuttle doctor command)
What is the MySQL backup suffix_ MySQL backup restore
Usage of ieda refactor
Use cheat engine to modify money, life and stars in Kingdom rush
为什么要做企业固定资产管理系统,企业如何加强固定资产管理
Binary operation
mysql备份后缀是什么_mysql备份还原
AcWing 903. 昂贵的聘礼 题解(最短路—建图、dijkstra)
SIFT特征点提取「建议收藏」
Windows2008r2 installing php7.4.30 requires localsystem to start the application pool, otherwise 500 error fastcgi process exits unexpectedly
《重构:改善既有代码的设计》读书笔记(下)
A4988 drive stepper motor "recommended collection"
SQLite 3.39.0 发布,支持右外连接和全外连接
Web2.0的巨头纷纷布局VC,Tiger DAO VC或成抵达Web3捷径
《代码整洁之道》读书笔记
GMapping代码解析[通俗易懂]
AcWing 1125. Cattle travel problem solution (shortest path, diameter)
Is there any security guarantee for the ranking of stock and securities companies
Markdown基础语法
AcWing 1126. 最小花费 题解(最短路—dijkstra)