Method 1 – Active Agent Registration
Method 2- Network Discovery
Method 3 – API
How to setup Active Agent in Zabbix?
Step 1 – Configure Zabbix Agent with below parameters

Step 2 – Add “Action” in Zabbix Server Based on Hostname or HostMetadata



Step 1 - Install Ansible
Step 2 - Write Script (Playbook)
Step 3 - Create Inventory (A file which contains a IP add of ARS) DONE
Step 4 - Run Ansible playbook
$ ansible-playbook -i inventory agent.yaml -u centos --key-file=node.pem -b
Step 5 - use "Configurations ==> Action ==> AutoRegistration" @ Zabbix ServerCode language: JavaScript (javascript)
How to do Network Discovery automatically?
Step 1 – Add Discovery Rules

Step 2 – Add Discovery Action


I’m Rajesh Kumar, a DevOps, SRE, DevSecOps, Cloud, and Platform Engineering expert passionate about sharing practical knowledge, real-world experiences, and industry best practices. I have worked at Cotocus and regularly write about technology, travel, investing, health, product reviews, and digital marketing through my various platforms.
I publish technical articles at DevOps School, travel stories at Holiday Landmark, stock market insights at Stocks Mantra, health and fitness guidance at My Medic Plus, product reviews at TrueReviewNow, and SEO and digital marketing strategies at Wizbrand.
Find Trusted Cardiac Hospitals
Compare heart hospitals by city and services โ all in one place.
Explore Hospitals