Zabbix Source Installation Client
# TAR-XVF zabbix-2.4. 6 . tar.gz # mv Zabbix-2.4. 6 zabbix# cd zabbix#. /configure--prefix=/usr/local/zabbix/--enable-agent# make# make install
Add Zabbix Users and Groups
# groupadd Zabbix -G Zabbix-s/sbin/nologin
Create a Zabbix log folder
# mkdir/var/log/Zabbix -R Zabbix:/var/log/zabbix/
Zabbix Client Configuration
Configure ZABBIX_AGENTD configuration file, Zabbix source directory
# vim/usr/local/zabbix/etc/zabbix_agentd.confserver=127.0. 0.1 serveractive=127.0. 0.1 Hostname=Zabbix serverlogfile=/var/log/zabbix/Zabbix_agentd.log Where both server and serveractive specify the IP address of the Zabbixserver, the difference is that the former is passive and the latter is active. This means that the server configuration is used to allow 127. 0.0. 1 This IP comes to me to fetch the data. and Serveractive's 127. 0.0. 1 means that the client is actively submitting data to him. Hostname is the client host name
Configure as Service
# CP Misc/init.d/tru64/zabbix_agentd /etc/init.d/# chmod a+x/etc/init.d//etc/init.d/ Zabbix_agentd BASEDIR=/usr/local/zabbixfullpath= $BASEDIR/sbin/$BINARY _name#configuration Fileconf_file= $BASEDIR/etc/zabbix_agentd.conf
Zabbix Client Startup
#/usr/local/zabbix/sbin/zabbix_agentd default port 10050
Zabbix Client Installation and configuration (Linux)