amazon-web-servicesamazon-ec2zabbixzabbix-apizabbix-custom-reports

Zabbix Agent Auto Registration - Zabbix Server


I am trying to register Zabbix agent to Zabbix server UI automatically but seems i am missing something but when i am trying to do it via UI(Manually) it is working. can someone help me to do it.

My configurations -

/etc/zabbix/zabbix_agentd.conf

Server=127.0.0.1,{zabbix-server-ip}
ServerActive=DNS Name
HostMetadata=ubuntu (string why which i am doing configuration in UI)

any though on this would be appreciated.


Solution

  • first, you need to set Server and ServerActive both IP or DNS of zabbix server.

    For auto discovery, you need to set rules in zabbix UI/frontend with HostMetadata under Configuration → Actions.

    Check if link will help you.

    https://www.zabbix.com/documentation/4.2/manual/discovery/auto_registration