安装agent端
# 离线安装zabbix agent端
安装包链接 (提取码:1314)
rpm -ivhU zabbix-agent-5.0.3-1.el7.x86_64.rpm
1
- 安装后配置文件路径
/etc/zabbix/zabbix_agentd.conf
内容如下:
PidFile=/var/run/zabbix/zabbix_agentd.pid
LogFile=/var/log/zabbix/zabbix_agentd.log
LogFileSize=0
Server=192.168.0.66 //server端ip
ServerActive=192.168.0.66 //同上
Hostname=Zabbix server //server配置的Hostname
Include=/etc/zabbix/zabbix_agentd.d/*.conf
1
2
3
4
5
6
7
8
2
3
4
5
6
7
8
- 添加开机自启
systemctl start zabbix-agent
systemctl enable zabbix-agent
1
2
2