当前位置:网站首页>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图标就变绿了
边栏推荐
- Data dimensionality reduction factor analysis
- [test development] software testing - concept
- 2022软件工程期末考试 回忆版
- In pytorch function__ call__ And forward functions
- Yolov3 trains its own data set to generate train txt
- End-to-End Object Detection with Transformers(DETR)论文阅读与理解
- Thread application instance
- 注解开发方式下AutowiredAnnotationBeanPostProcessor的注册时机
- 二进制操作
- 教程篇(5.0) 09. RESTful API * FortiEDR * Fortinet 网络安全专家 NSE 5
猜你喜欢

Web2.0的巨头纷纷布局VC,Tiger DAO VC或成抵达Web3捷径

Stm32g0 USB DFU upgrade verification error -2

数据降维——因子分析
![[0701] [paper reading] allowing data imbalance issue with perforated input during influence](/img/c7/9b7dc4b4bda4ecfe07aec1367fe059.png)
[0701] [paper reading] allowing data imbalance issue with perforated input during influence

Usage of ieda refactor

Talk about the design of red envelope activities in e-commerce system

Transformation of thinking consciousness is the key to the success or failure of digital transformation of construction enterprises

Data dimensionality reduction factor analysis
![[paper reading] Ca net: leveraging contextual features for lung cancer prediction](/img/ef/bb48ee88d5dc6fe876a498ab53106e.png)
[paper reading] Ca net: leveraging contextual features for lung cancer prediction
![[0701] [论文阅读] Alleviating Data Imbalance Issue with Perturbed Input During Inference](/img/c7/9b7dc4b4bda4ecfe07aec1367fe059.png)
[0701] [论文阅读] Alleviating Data Imbalance Issue with Perturbed Input During Inference
随机推荐
日期工具类(不定时更新)
metric_logger小解
守望先锋世界观架构 ——(一款好的游戏是怎么来的)
yolov3 训练自己的数据集之生成train.txt
高频面试题
IDEA编辑器去掉sql语句背景颜色SQL语句警告No data sources are configured to run this SQL...和SQL Dialect is Not Config
[test development] takes you to know what software testing is
Qpropertyanimation use and toast case list in QT
Which video recording software is better for the computer
潇洒郎:彻底解决Markdown图片问题——无需上传图片——无需网络——转发给他人图片无缺失
全志A33使用主线U-Boot
"Patient's family, please come here" reading notes
【pytorch学习笔记】Tensor
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
Fastdfs installation
以太网PHY层芯片LAN8720A简介
PHP非对称加密方法私钥及公钥加密解密的方法
SIFT特征点提取「建议收藏」
The mybatieshelperpro tool can be generated to the corresponding project folder if necessary
[100 cases of JVM tuning practice] 01 - introduction of JVM and program counter