Zabbix Agent Installation on Ubuntu/Debian Servers
The previous article you have seen Zabbix Server installation on CentOS/Red hat 7, and now this article will explain you about Host Adding into Zabbix Server, means Zabbix Agent Installation on Ubuntu / Debian to monitor the host health status and customs checks.
Zabbix Server Installation : http://www.techinformant.in/zabbix-installation-on-centosrhel-7/
Zabbix Front-end configuration:http://www.techinformant.in/zabbix-front-end-configuration-on-centosrhel-7/
After installing the Zabbix Monitoring Server, the next task is to add the Hosts to monitor their status on the server. Here I’m going to add Ubuntu 16.04
Zabbix Agent Features:
Zabbix Agent code is written in “C Language”, so it compiled small size of Data
Small size of Software Package or Source and Low system resource usage
Available for all the OS platforms.
Easy Installation process on any OS platform
works on Active and Passive Modes
Let’s start the Zabbix Agent Installation:
First, log into the Ubuntu host with sudo permission or root permissions to install Zabbix-agent, then execute the below command.
|[email protected]:~$ sudo apt-get install zabbix-agent|
|[email protected]:~$ sudo systemctl enable zabbix-agent|
Start the Zabbix-agent with below command, usually after installing any service on Linux/Unix environment we need to start the service before we accessing it.
|[email protected]:~$ sudo systemctl start zabbix-agent|
This command is additional, we are verifying the Zabbix-agent status with below command.
|[email protected]:~$ sudo systemctl status zabbix-agent|
The final step is to edit the Zabbix-agent configuration file to add Zabbix-Server IP to communicate ubuntu host with Zabbix server. below is the configuration path, then provide your Zabbix server IP- address and host name for your you client host.
|[email protected]:~$ sudo vim /etc/zabbix/zabbix_agentd.conf|
Once done with configuration file editing restart the Zabbix-agent service , then go to the Zabbix-Server to add ubuntu host to monitor.
|[email protected]:~$ sudo systemctl restart zabbix-agent.service|
- Configuration Tab : This is very important front-end feature in Zabbix-server, for any Configurations information contains in this Tab, and there we can see the details of Hosts groups,Templates and Hosts, Maintainance, Actions, Discovery, and IT Servers,
- Select Hosts : for adding any host or service into the Zabbix server, first we have to select Hosts tab then create a new host.
- Create host : Creating a New host, first we have a create a Host
Provide following details to recognize the host in Zabbix server
Hostname: Human readable name for the host, which we want to add in Zabbix server.
Groups: Select appropriate group selection list. we can create our own customized group from Host groups tab.
Agent Interfaces: That means IP-address of the host. if you’re adding a host with SNMP, select the proper option from here, after giving the all the information , then Select Templates tab to add monitoring check to the host.
Templates Tab, then link new templates to the host by selected the Templates OS Linux for Linux systems,
Note: every time no need to select the Zabbix-agent template for Linux host, by default Zabbix-agent is part of every template.
Select suitable Templates from the list, then add the option to link the selected Templates.
After adding the template to the host, then click on Add button to start the host monitoring.
Conclusion : This is all about Zabbix Agent installation on Ubuntu/Debian hosts, here we have used Zabbix Agent to monitor the network hosts status, but also we can use SNMP protocols for monitoring any network hosts and devices. The next article will show you about how to add Windows Hosts into Zabbix server and SNMP configuration on Linux hosts.