当前位置:网站首页>zabbix5客户端安装和配置
zabbix5客户端安装和配置
2022-07-02 18:20:00 【gsls200808】
接上一篇docker安装zabbix5 服务端,这一篇来配置客户端
centos7配置
安装
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编辑设置zabbix agent2配置文件
修改如下内容
Server=192.168.3.54
ServerActive=192.168.3.54
HostMetadataItem=system.uname其中Server和ServerActive改成你自己的服务端IP,HostMetadataItem要去掉前面的注释再修改内容
启动 查看状态 开机自启
systemctl start zabbix-agent2
systemctl status zabbix-agent2
systemctl enable zabbix-agent2关闭selinux(可能不需要这步)
命令vi /etc/selinux/config,将SELINUX=enforcing改为SELINUX=disabled
放行防火墙
firewall-cmd --permanent --add-port=10050/tcp
firewall-cmd --reloadubuntu18.04配置
安装
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编辑设置zabbix agent2配置文件
修改如下内容
Server=192.168.3.54
ServerActive=192.168.3.54
HostMetadataItem=system.uname其中Server和ServerActive改成你自己的服务端IP,HostMetadataItem要去掉前面的注释再修改内容
启动 查看状态 开机自启
systemctl start zabbix-agent2
systemctl status zabbix-agent2
systemctl enable zabbix-agent2使用iptables放行端口
iptables -A INPUT -p tcp --dport 10050 -j ACCEPT
iptables -A OUTPUT -p tcp --sport 10050 -j ACCEPT 保存放行端口
# 安装iptables-persistent工具,使端口配置持久化
sudo apt-get install iptables-persistent
#弹出框一路回车
# 端口配置永久生效
sudo netfilter-persistent save
sudo netfilter-persistent reload放行端口配置完后需要重启zabbix-agent2
systemctl restart zabbix-agent2windows配置
windows agent2下载
下载选型页
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
直达
https://cdn.zabbix.com/zabbix/binaries/stable/5.4/5.4.12/zabbix_agent2-5.4.12-windows-amd64-openssl.msi
双击安装,安装后在界面中配置Server和ServerActive为你自己的服务端IP,如图

服务端主机添加
先添加自定义群组名 配置--主机群组-创建群组
主机添加 配置-主机-创建主机
windows主机添加如图

linux主机配置如图,主要是模板不一样

过一段时间zabbix图标就变绿了
边栏推荐
- 教程篇(5.0) 10. 故障排除 * FortiEDR * Fortinet 网络安全专家 NSE 5
- 2022 software engineering final exam recall Edition
- Data dimensionality reduction principal component analysis
- [0701] [paper reading] allowing data imbalance issue with perforated input during influence
- 性能测试如何创造业务价值
- 2022编译原理期末考试 回忆版
- [error record] problems related to the installation of the shuttle environment (follow-up error handling after executing the shuttle doctor command)
- 【测试开发】一文带你了解什么是软件测试
- 开发固定资产管理系统,开发固定资产管理系统用什么语音
- Golang并发编程——goroutine、channel、sync
猜你喜欢

使用 Cheat Engine 修改 Kingdom Rush 中的金钱、生命、星

Chic Lang: completely solve the problem of markdown pictures - no need to upload pictures - no need to network - there is no lack of pictures forwarded to others

Compile oglpg-9th-edition source code with clion

Data dimensionality reduction factor analysis

End to end object detection with transformers (Detr) paper reading and understanding

According to the atlas of data security products and services issued by the China Academy of information technology, meichuang technology has achieved full coverage of four major sectors

Introduction to the paper | application of machine learning in database cardinality estimation

注解开发方式下AutowiredAnnotationBeanPostProcessor的注册时机

性能测试如何创造业务价值

论文导读 | 关于将预训练语言模型作为知识库的分析与批评
随机推荐
[100 cases of JVM tuning practice] 02 - five cases of virtual machine stack and local method stack tuning
Novice must see, click two buttons to switch to different content
What is the MySQL backup suffix_ MySQL backup restore
The difference between interceptor and filter
MySQL表历史数据清理总结
全志A33使用主线U-Boot
Progress progress bar
Compile oglpg-9th-edition source code with clion
开发固定资产管理系统,开发固定资产管理系统用什么语音
Web2.0 giants have deployed VC, and tiger Dao VC may become a shortcut to Web3
Introduction to the paper | analysis and criticism of using the pre training language model as a knowledge base
Page title component
How performance testing creates business value
Transformation of thinking consciousness is the key to the success or failure of digital transformation of construction enterprises
MySQL advanced learning summary 7: MySQL data structure - Comparison of hash index, AVL tree, B tree and b+ tree
新手必看,点击两个按钮切换至不同的内容
Data dimensionality reduction factor analysis
A4988驱动步进电机「建议收藏」
[100 cases of JVM tuning practice] 01 - introduction of JVM and program counter
A4988 drive stepper motor "recommended collection"