Install Zabbix Agent on Ubuntu and Debian

Zabbix Agent is required to install on all remote systems needs to monitor through Zabbix server. The Zabbix Agent collects resource utilization and applications data on client system and provide such information to Zabbix server on their requests.
There are two types of checks can be configured between Zabbix Server and Client.
Passive Check : Zabbix Agent only sent data to server on their request.
Active Check : Zabbix Agent sends data periodically to Server.
Install Zabbix Agent
Add Apt Repository
Zabbix apt repositories are available on zabbix official website. Add repository to install required packages for zabbix agent using following command. Ubuntu 12.04 LTS have zabbix agent version 2.2.
For Ubuntu 14.04 LTS:

$ wget
$ sudo dpkg -i zabbix-release_3.0-1+trusty_all.deb
$ sudo apt-get update

For Ubuntu 12.04 LTS:

$ wget
$ sudo dpkg -i zabbix-release_2.2-1+precise_all.deb
$ sudo apt-get update

For Debian 8:

$ wget
$ sudo dpkg -i zabbix-release_3.0-1+jessie_all.deb
$ sudo apt-get update

For Debian 7:

$ sudo dpkg -i zabbix-release_3.0-1+wheezy_all.deb
$ sudo apt-get update
Install Zabbix Agent
As we have successfully added zabbix apt repositories in our system let's use following command to install Zabbix agent using following command
$ sudo apt-get install zabbix-agent
Edit Zabbix Agent Configuration
After installing completed of Zabbix aget. Edit zabbix agent configuration file /etc/zabbix/zabbix_agentd.conf and update Zabbix server ip
#Server=[zabbix server ip]
#Hostname=[Hostname of client system ]

Restarting Zabbix Agent
After adding zabbix server ip in configuration file, now restart agent service using below command.
# /etc/init.d/zabbix-agent restart
To start and stop zabbix-agent service anytime use following commands.
# /etc/init.d/zabbix-agent start
# /etc/init.d/zabbix-agent stop

About Author:

I am a Linux Administrator and Security Expert with this site i can help lot's of people about linux knowladge and as per security expert i also intersted about hacking related news.TwitterFacebook

Newer Post
Older Post


Post a Comment