- build
tar zxvf zabbix-1.4.4.tar.gz
cd zabbix-1.4.4
./configure --enable-agent
make
su
make install
- zabbix user
groupadd zabbix
- config file
su
mkdir /etc/zabbix
cp misc/conf/zabbix_agentd.conf /etc/zabbix/
- log/id files
mkdir /var/run/zabbix
mkdir /var/log/zabbix
chown zabbix:zabbix /var/run/zabbix
chown zabbix:zabbix /var/log/zabbix
- init script
cp misc/init.d/redhat/zabbix_agentd_ctl /etc/init.d/
- change script
# base zabbix dir
BASEDIR=/usr/local
# pid file (as of 1.0 beta 10)
PIDFILE=/var/run/zabbix/zabbix_agentd.pid
# binary file
ZABBIX_AGENTD=$BASEDIR/sbin/zabbix_agentd
- start zabbix agent
/etc/init.d/zabbix_agentd_ctl start