Monitoring Linux hosts:
1. Install the development Kit
Yum-y Groupinstall "Development Tools"
Yum–y installntpdate
2, synchronization of client time, to prevent inconsistencies with the server, resulting in the detection of unavailable monitoring data
Ntpdate pool.ntp.org
3. Create the user and group required to run the Zabbix
GROUPADD-G 201 Zabbix
Useradd-g zabbix-g 201-m Zabbix
4, decompression installation Zabbix agent side
cd/usr/src/
Tar zvxf zabbix-2.2.3.tar.gz
CD zabbix-2.2.3
./configure--sysconfdir=/etc/zabbix--enable-agent
Make && make install
5. Copy the script required to run the agent side
CP misc/init.d/tru64/zabbix_agentd/etc/init.d/
chmod +x/etc/init.d/zabbix_agentd
6. Configure agent-side configuration file
Vim/etc/zabbix/zabbix_agentd.conf #此处千万别写成了zabbix_agent. conf, otherwise the configuration does not take effect
server=192.168.239.130 #填写Server的IP地址
serveractive=192.168.239.130 #修改为Server的IP地址
Hostname=centos-03 #填写本机的HostName, note that the server side should be able to parse
Unsafeuserparameters=1 #是否允许自定义的key, 1 for allow, 0 for not allowed
Include= etc/zabbix/zabbix_agentd.conf.d/#自定义的agentd配置文件 (key) can be written in this area;
7. Start Zabbix Agent Side
/etc/init.d/zabbix_agentd start
This article is from "Moonlight Blast" blog, please be sure to keep this source http://skykws8023.blog.51cto.com/4514277/1545504
Zabbix monitoring how Windows Linux host Agent is installed