install agent

yum install zabbix-agentd

config example

PidFile=/var/run/zabbix/zabbix_agentd.pid
LogFile=/data/zabbix/log/zabbix_agentd.log
LogFileSize=1
Server=monitor
ServerActive=monitor
Hostname=ncs1
Timeout=10
Include=/etc/zabbix/zabbix_agentd.d/
UnsafeUserParameters=1

日志目录

mkdir /data/zabbix/log -p
chown -R zabbix:zabbix /data/zabbix

start the process

/etc/init.d/zabbix-agent restart
Copyright © opschina.org 2017 with zzlyzq@gmail.com all right reserved,powered by Gitbook该文件修订时间: 2017-07-11 11:32:48

results matching ""

    No results matching ""