[HowTo]Setup Zabbix Agent for Linux

July 30, 2008 · Filed Under Linux 

1. wget http://prdownloads.sourceforge.net/zabbix/zabbix-1.4.5.tar.gz?download

2. tar -vxzf zabbix-1.4.5.tar.gz

3. cd zabbix-1.4.5

4. ./configure –enable-agent –with-mysql –with-libcurl

5. make install

6. mkdir /etc/zabbix

7. cp misc/conf/zabbix_agentd.conf /etc/zabbix/

8. cp misc/init.d/redhat/8.0/zabbix_agentd /etc/init.d/

9. chmod +x /etc/init.d/zabbix_agentd

10. adduser zabbix

11. chkconfig zabbix_agentd on

12. Edit /etc/zabbix/zabbix_agentd.conf, set Server to your Zabbix Server ip/domain and Hostname to your agent hostname.

13. Edit /etc/init.d/zabbix_agentd, set progdir to /usr/local/sbin

14. /etc/init.d/zabbix_agentd start

15. After than add the host to zabbix server and you can start monitor your agent server now.

Comments

Leave a Reply