Zabbix Agent for Linux installation and configuration

Source: Internet
Author: User

Zabbix Agent for Linux installation and configuration

Check the installation of the Zabbix server. This time, write down the installation of the Zabbix monitoring client.

For details about batch deployment of Zabbix Agent, see

1. Create an account

useradd zabbix -s /sbin/nologin

2. Install the dependency package

yum install -y gcc curl

3. Compile the installation package

tar zxvf zabbix-2.2.5.tar.gz && cd zabbix-2.2.5

./configure --prefix=/usr/local/zabbix --enable-agent

make && make install

If no error is reported, the installation is successful.

4. modify the configuration file

vim /usr/local/zabbix/etc/zabbix_agentd.conf

  1. Server = Your zabbix server IP Address
  2. Hostname = enter the host name you configured on the zabbix server interface # An error is reported if the host name is inconsistent.
  3. UnsafeUserParameters = 1 # Allow custom execution Parameters
5. Create a startup Service

Copy to the init directory:cp misc/init.d/Fedora/core/zabbix_agentd /etc/init.d
Modify path:sed -i 's/BASEDIR=\/usr\/local/BASEDIR=\/usr\/local\/zabbix/g' /etc/init.d/zabbix_agentd

6. Set Automatic startup and agent Startup

Start startup:chkconfig zabbix_agentd on
Start the program:/etc/init.d/zabbix_agentd start

Success

Some Zabbix Tutorials:

Compile and install Zabbix2.4.5 source code in Ubuntu 14.04

Install and deploy the distributed monitoring system Zabbix 2.06

Install and deploy the distributed monitoring system Zabbix 2.06

Install and deploy Zabbix in CentOS 6.3

Zabbix distributed monitoring system practice

Under CentOS 6.3, Zabbix monitors apache server-status

Monitoring MySQL database Parameters Using Zabbix in CentOS 6.3

Install Zabbix 2.0.6 in 64-bit CentOS 6.2

ZABBIX details: click here
ZABBIX: click here

This article permanently updates the link address:

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.