上篇文章介绍了配置安装了zabbix server,这篇是介绍agent的安装配置

  1. 安装agent

    yum install zabbix-agent

  2. 配置angent

Server=192.168.1.63  server的ip地址

Hostname=ha.com  本机的主机名

BufferSize=1024

StartAgents=3

DebugLevel=2

PidFile=/tmp/zabbix_agentd.pid

LogFile=/tmp/zabbix_agentd.log

LogFileSize=10

EnableRemoteCommands=1

UserParameter=viewESTABLISHED,viewESTABLISHED

UserParameter=viewTIME_WAIT,viewTIME_WAIT

UserParameter=viewLISTEN,viewLISTEN

UserParameter=user.login[*],who|grep $1 &>/dev/null;echo $?

3,启动agent

/usr/sbin/zabbix_agentd  -c /etc/zabbix/zabbix_agentd.conf

4.在server网页端添加agent

  添加host

Centos 6.4 下 安装配置zabbix2.2.9(二)_agent

Centos 6.4 下 安装配置zabbix2.2.9(二)_centos_02

Centos 6.4 下 安装配置zabbix2.2.9(二)_centos_03

关联模板

Centos 6.4 下 安装配置zabbix2.2.9(二)_安装配置_04

Centos 6.4 下 安装配置zabbix2.2.9(二)_安装配置_05

Centos 6.4 下 安装配置zabbix2.2.9(二)_安装配置_06