Install Zabbix Agent under Ubuntu 16, divided into three steps
First Step: Install Repository
For ubuntusupported versions
Installing Repository Configuration Package
Install the Repository configuration package, which contains apt (software package manager) configuration files. Shell commands for Ubuntu 16.04 LTS (xenial):
# wget http://repo.zabbix.com/zabbix/3.2/ubuntu/pool/main/z/zabbix-release/zabbix-release_3.2-1+xenial_all.deb# Dpkg-i zabbix-release_3.2-1+xenial_all.deb# apt-get Update
For Ubuntu 14.04 LTS "xenial ' to ' trusty '.
Step Two: Install Zabbix-agent
Debian/ubuntu
To install agent after correct repository configuration package is installed, run the following command:
# Apt-get Install Zabbix-agent
Now agent was ready to be started by:
# service Zabbix-agent Start
Step three: Change the zabbix-agent configuration file
sudo vi/etc/zabbix/zabbix_agentd.conf
Find server=127.0.0.1, replace 127.0.0.1 with the address or domain name of your Zabbix server
Fourth Step: Restart Zabbix-agent
sudo service zabbix-agent restart
This article is from the "brave" blog, make sure to keep this source http://brave8898.blog.51cto.com/289041/1976758
Install Zabbix Agent under Ubuntu 16