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
- Server = Your zabbix server IP Address
- Hostname = enter the host name you configured on the zabbix server interface # An error is reported if the host name is inconsistent.
- 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: