How to Add Remote Linux Host to Zabbix Server for Monitoring
After installing the Zabbix server and Zabbix agent, you are now due for adding a node to Zabbix server for monitoring.
Install Zabbix Server:
READ: How To Install Zabbix Server 3.4 on Ubuntu 18.04 / Ubuntu 16.04 & Debian 9
Install Zabbix Client:
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)
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 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
Then, click on Add.
Finally, click on Add to complete the addition of host.
Below is the list of hosts under Zabbix monitoring tool. Go to Configuration >> 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.
Problems: List of current issues and past history.
Overview: Lists the current issues.
Latest data: Get the latest data (in values) of host groups/hosts / Applications.
Triggers: Lists the current problems. Here, you can acknowledge the problem and close them after resolving it.
Graphs: Visualization of collected resource statistics such as CPU load, CPU utilization, Memory usage, etc.
Interested in Server Monitoring