Centos 6.4 下 安装配置zabbix2.2.9(二)
上篇文章介绍了配置安装了zabbix server,这篇是介绍agent的安装配置[*] 安装agent
yum install zabbix-agent
[*] 配置angent
Server=192.168.1.63server的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
http://s3.运维网.com/wyfs02/M01/5B/AA/wKiom1UPt1OxmpLzAADcd-9lCEU814.jpg
http://s3.运维网.com/wyfs02/M02/5B/A4/wKioL1UPuISi6-NQAAKGhWkepAA763.jpg
http://s3.运维网.com/wyfs02/M02/5B/AA/wKiom1UPt1TAqwZGAAQRxQwI_vw109.jpg
关联模板
http://s3.运维网.com/wyfs02/M00/5B/A4/wKioL1UPuISjyRNAAAGv2LslC-Q244.jpg
http://s3.运维网.com/wyfs02/M00/5B/AA/wKiom1UPt1STcq0OAAK6Iqbphmg082.jpg
http://s3.运维网.com/wyfs02/M00/5B/AA/wKiom1UPt1SyWZk_AAHLmAGXw2o755.jpg
页:
[1]