=== Zabbix Agent installation =============
# useradd zabbix
# mkdir /opt/zabbix
# mv /tmp/zabbix_agents_for_scada.tar /opt/zabbix/
# cd /opt/zabbix
# tar vfx zabbix_agents_for_scada.tar
# ln -s /opt/zabbix/conf/zabbix_agentd.conf /usr/local/etc/zabbix_agentd.conf
# sed -i 's/Server=127.0.0.1/Server=172.24.90.12/g' /usr/local/etc/zabbix_agentd.conf
# sed -i 's/Hostname=Zabbix server/Hostname='"`hostname`"'/g' /usr/local/etc/zabbix_agentd.conf
=== Startup configuration =============
# cp /opt/zabbix/misc/zabbix-agent /etc/rc.d/init.d/
# chmod +x /etc/rc.d/init.d/zabbix-agent
# /sbin/chkconfig --add zabbix-agent
Check the that service was added
#/sbin/chkconfig --list zabbix-agent
zabbix-agent 0:off 1:off 2:off 3:off 4:off 5:off 6:off
# /sbin/chkconfig zabbix-agent on
# /sbin/chkconfig --list zabbix-agent
zabbix-agent 0:off 1:off 2:on 3:on 4:on 5:on 6:off
# cp /opt/zabbix/misc/zabbix-agent /etc/rc.d/init.d/zabbix-agent
# sed -i 's/exec=\/usr\/sbin\/zabbix_agentd/exec=\/opt\/zabbix\/sbin\/zabbix_agentd/g' /etc/init.d/zabbix-agent
#service zabbix-agent start