Skip to content

Zabbix Agent Auto Registration

Video Lecture

Zabbix Agent Auto Registration Zabbix Agent Auto Registration

 (Pay Per View)

You can use PayPal to purchase a one time viewing of this video for $1.49 USD.

Pay Per View Terms

  • One viewing session of this video will cost the equivalent of $1.49 USD in your currency.
  • After successful purchase, the video will automatically start playing.
  • You can pause, replay and go fullscreen as many times as needed in one single session for up to an hour.
  • Do not refresh the browser since it will invalidate the session.
  • If you want longer-term access to all videos, consider purchasing full access through Udemy or YouTube Memberships instead.
  • This Pay Per View option does not permit downloading this video for later viewing or sharing.
  • All videos are Copyright © 2019-2025 Sean Bradley, all rights reserved.

Description

I demonstrate auto registration of Zabbix Agents. My Zabbix agents are on a combination of networks and mixture of Linux and Windows.

When an agent starts up, it will make a request to the Zabbix server using the address of the serverActive parameter and commence collecting values for any items it receives back of type zabbix agent active.

We can make use of this behaviour to auto register the host at Zabbix server side in case no record of it already existed. This saves some time of you have many hosts that you want to add to the Zabbix server.

When the agent makes a request, we can configure several actions to run on the Zabbix server. In this example, I will read the value from the HostMetadata parameter in the Zabbix agents configuration file, and decide to either auto set it up as a Linux Host and assign a Linux template, or set it up as a Windows host and assign a Windows template.