Auto Registration Hosts Zabbix

Auto Registration is very helpful if we are monitoring the large subnet of network with identical machines. Auto registration helps to automatically index these hosts on the zabbix dashboard with needing to configure each hosts individually.


First we will navigate to Alerts > Actions > Auto registration Actions & then perform the following configurations :

On the top right section we will use Create Action to create new action and we will enter the following configurations :

We will select the Operations tab and enter the auto-registration configurations , Adding host and associating it with the templete.


Adding Hosts

Now we will install the zabbix agent in one of the zabbix servers and edit the following configurations:

To install the agent on the linux we can refere the installation section and install the zabbix agent.

Zabbix Installation

One installed we will edit the config file :

sudo nano /etc/zabbix/zabbix-agent.conf

We will change the following parameters inside the config file :

# Server 
Server = <Server IP>
Server Active = <Server IP>
# Hostname
Hostname = <Your_HOSTNAME>
# Host Metadata
HostMetadata = Linux Servers
# Ensure Host Metadata is same given in the zabbix autoregistration action

# Interface
HostInterface = <HOST_IP>

Once done we will restart the service and we will see the autoregistered host on the dashboard in few mins.

sudo systemctl restart zabbix-agent

Last updated