当前位置:网站首页>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
边栏推荐
- Microservice technology - distributed global ID in high concurrency
- NPOI导出Excel2007
- Educational Codeforces Round 129 (Rated for Div. 2) 补题题解
- AcWing 383. Sightseeing problem solution (shortest circuit)
- 4274. Suffix expression - binary expression tree
- PHP asymmetric encryption method private key and public key encryption and decryption method
- MySQL表历史数据清理总结
- Codeforces Round #802 (Div. 2) 纯补题
- AcWing 1128. 信使 题解(最短路—Floyd)
- 中缀表达式转换为后缀表达式(C语言代码+详解)
猜你喜欢

Tutoriel (5.0) 10. Dépannage * fortiedr * fortinet Network Security expert NSE 5

450-深信服面经1

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

Tutorial (5.0) 10 Troubleshooting * fortiedr * Fortinet network security expert NSE 5

Windows2008R2 安装 PHP7.4.30 必须 LocalSystem 启动应用程序池 不然500错误 FastCGI 进程意外退出

SQLite 3.39.0 发布,支持右外连接和全外连接

Quanzhi A33 uses mainline u-boot

Yunna | why use the fixed asset management system and how to enable it
![[error record] problems related to the installation of the shuttle environment (follow-up error handling after executing the shuttle doctor command)](/img/c1/a00425f2e1824a50644c8fbb15fe38.jpg)
[error record] problems related to the installation of the shuttle environment (follow-up error handling after executing the shuttle doctor command)

Watchful pioneer world outlook Architecture - (how does a good game come from)
随机推荐
安装单机redis详细教程
PHP-Parser羽毛球预约小程序开发require线上系统
AcWing 383. 观光 题解(最短路)
函数高阶-柯里化实现
《MongoDB入门教程》第03篇 MongoDB基本概念
metric_ Logger urination
Tutorial (5.0) 09 Restful API * fortiedr * Fortinet network security expert NSE 5
Implementation of 452 strcpy, strcat, StrCmp, strstr, strchr
机器学习笔记 - 时间序列预测研究:法国香槟的月销量
Is there any security guarantee for the ranking of stock and securities companies
450-深信服面经1
Web2.0 giants have deployed VC, and tiger Dao VC may become a shortcut to Web3
横向越权与纵向越权[通俗易懂]
程序猿入门攻略(十二)——数据的存储
以太网PHY层芯片LAN8720A简介
冒泡排序数组
AcWing 903. 昂贵的聘礼 题解(最短路—建图、dijkstra)
451-memcpy、memmove、memset的实现
数据湖(十二):Spark3.1.2与Iceberg0.12.1整合
AcWing 1125. 牛的旅行 题解(最短路、直径)