, , ,

Step 1 – Adding apt repository

The user need to add repository to install required packages for zabbix agent. Use the following commands for adding zabbix apt repositories

$ wget http://repo.zabbix.com/zabbix/3.0/ubuntu/pool/main/z/zabbix-release/zabbix-release_3.0-1+trusty_all.deb
$ sudo dpkg -i zabbix-release_3.0-1+trusty_all.deb
$ sudo apt-get update

Step 2 – Installing Zabbix Agent

We had successfully added zabbix apt repository. Now install zabbix agent.

$ sudo apt-get install zabbix-agent

Step 3 – Edit Configuration File

After completing installation user need to edit the configuration file /etc/zabbix/zabbix_agentd.conf.

#Server=[zabbix server ip]
#Hostname= [Hostname of client system]

Step 4 – Restart Zabbix Agent

 Now restart the Zabbix Agent service to bring up the change we made.

$ sudo service zabbix-agent restart

Now you have successfully installed Zabbix Agent.