Configuring clients
Install Agent
Linux, UX Agent is compiled, do not install
#useradd Zabbix
#cd/usr/local/zabbix
#tar ZXVF zabbix_agents_1.8.linux2_6.i386.tar.gz
To get a copy of the zabbix_agnetd.conf from the server to the local, and then follow the instructions, we simply modify the following parameters:
Hostname= This machine name
Server=zabbix Server IP
logfile= Native AGENTD Log save file
After the modification is complete, run Agentd
#/usr/local/zabbix/sbin/zabbix-agentd–c/usr/local/zabbix/zabbix_agentd.conf &
#ps Ef|grep Zabbix_agentd
If the process does not rise, you can view the Agentd.log log to troubleshoot the problem. (Note: The full path is recommended at startup, or it may be wrong)
Join Boot Run
#echo '/usr/local/zabbix/sbin/zabbix-agentd–c/usr/local/zabbix/zabbix_agentd.conf &
' >>/ETC/RC
Add ports to Services
Zabbix-agent 10050/tcp # Zabbix Agent
Zabbix-agent 10050/UDP # Zabbix Agent
Zabbix-trapper 10051/tcp # Zabbix Trapper
Zabbix-trapper 10051/UDP # Zabbix Trapper