Zabbix Client Installation and configuration (Linux)

Source: Internet
Author: User

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)

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.