How to Add Remote Linux Host to Zabbix Server for Monitoring

0

After installing the Zabbix server and Zabbix agent, you are now due for adding a node to the Zabbix server for monitoring.

Install Zabbix Server:

READ: How To Install Zabbix Server 4.0 on CentOS 7 / RHEL 7

READ: How To Install Zabbix Server 4.0 on Ubuntu 18.04 / Ubuntu 16.04 & Debian 9

Install Zabbix Client:

READ: How To Install Zabbix Agent on CentOS 7/6, Ubuntu 18.04/16.04 & Debian 9/8

Add Host To Zabbix Monitoring

Login to Zabbix Web console using the admin account. Then, go to Configuration >> Hosts >> Create Host.

Enter the details for the following parameters.

Hostname: Hostname of the remote node
Visible name: Name of the remote node
Group: Select host groups the node belongs to.
Agent Interface: Enter IP Address or DNS name (IP Address is recommended)
Connect to: Choose IP / DNS (The way the communication happen between the server and the node. IP recommended)

Add a Node to Zabbix Server for Monitoring - Add a Host
Add a Client Node to Zabbix Server for Monitoring – Add a Host

Don’t click on Add.

Attach Templates to Host

Zabbix has pre-defined templates that can be applied to multiple hosts. A template is a set of entities which reduces your manual effort in configuring triggers, items, graphs, application, etc. for each host.

For example, if you have created a template for monitoring the web server that has what parameters to monitor and when to trigger the alert, the same template can be attached to another server which functions similarly.

Go to Templates >> Link new templates. You either type to search a template or click on the Select to choose from a list of templates. Tick mark the template you want to link to the new host.

In my case,

Link new templates: Template OS Linux

Add a Node to Zabbix Server for Monitoring - Search Zabbix Templates
Add a Client Node to Zabbix Server for Monitoring – Search Zabbix Templates

Then, click on Add.

Add a Node to Zabbix Server for Monitoring - Attach Templates
Add a Client Node to Zabbix Server for Monitoring – Attach Templates

Finally, click on Add to complete the addition of the host.

Add a Node to Zabbix Server for Monitoring - Add Templates to Host
Add a Client Node to Zabbix Server for Monitoring – Add Templates to Host

Below is the list of hosts under the Zabbix monitoring tool. Go to Configuration >> Hosts.

Add a Client Node to Zabbix Server for Monitoring - List of Hosts
Add a Client Node to Zabbix Server for Monitoring – List of Hosts

Monitor host with Zabbix

Once you have added a host to Zabbix server, you can monitor the host for any problem by going to Monitoring.

Dashboard: Overview of the whole infrastructure.

Add a Node to Zabbix Server for Monitoring - Zabbix Dashboard
Add a Client Node to Zabbix Server for Monitoring – Zabbix Dashboard

Problems: List of current issues and past history.

Add a Node to Zabbix Server for Monitoring - Problems
Add a Client Node to Zabbix Server for Monitoring – Problems

Overview: Lists the current issues.

Add a Node to Zabbix Server for Monitoring - Overview of Issues
Add a Client Node to Zabbix Server for Monitoring – Overview of Issues

Latest data: Get the latest data (in values) of host groups/hosts / Applications.

Add a Node to Zabbix Server for Monitoring - Latest data of hosts
Add a Client Node to Zabbix Server for Monitoring – Latest data of hosts

Triggers: Lists the current problems. Here, you can acknowledge the problem and close them after resolving it.

Add a Node to Zabbix Server for Monitoring - Triggered Events
Add a Client Node to Zabbix Server for Monitoring – Triggered Events

Graphs: Visualization of collected resource statistics such as CPU load, CPU utilization, Memory usage, etc.

Add a Node to Zabbix Server for Monitoring - Usage Graphs
Add a Client Node to Zabbix Server for Monitoring – Usage Graphs

Interested in Server Monitoring

READ: Install and Configure Nagios on CentOS 7 / Ubuntu 18.04 / Debian 9

READ: Install Icinga2 on Ubuntu 18.04 / Ubuntu 16.04 & Debian 9

READ: Install Monitorix on CentOS 7 / Ubuntu 16.04 / Fedora 24 / Debian 8 – OpenSource Lightweight System Monitoring Tool

READ: Netdata – Real-Time Performance Monitoring Tool for Linux

That’s All.

You might also like