Bootstrap

Zabbix agent 安装

1.应用场景:

Zabbix监控系统提供两种监控Linux主机的方法,一种是启用主机上的SNMP协议,另一种是在主机上安装Zabbix Agent服务,本篇介绍Linux系统下Zabbix Agent的安装与使用

2.下载agent rpm包(官网找到合适的版本)

CentOS/RHEL 6:

#rpm -Uvh http://repo.zabbix.com/zabbix/3.0/rhel/6/x86_64/zabbix-agent-3.0.9-1.el6.x86_64.rpm

3.编辑Zabbix Agent 配置文件

vim /etc/zabbix/zabbix_agentd.conf

Server=[zabbix server ip]

ServerActive=[zabbix server ip]
Hostname=[ Hostname of client system ]

4.重启Zabbix Agent

service zabbix-agent restart

5.添加开机启动

chkconfig zabbix-agent on

;