Hello, looking for some ideas regarding Auto-Registration...
Zabbix 2.4.4
Background...
I am monitoring datacenters where Zabbix agents are deployed to newly provisioned hosts using Chef. When a new VM comes online, Chef will install an agent within 15 minutes of this new VM becoming live. VMs are provisioned all the time as part of the datacenter operations.
I have Auto-registration rules set up to assign hostgroups/templates based on the VM naming convention (eg. Auto-Registration events have conditions such as: "Host Name like: LON" (to assign to hostgroup: London); and "Host Name like: SNG" (to assign to hostgroup: Singapore)). This works great, and as hosts come online with these naming conventions, they are Auto-Registered properly.
The issue is...
Sometimes the datacenter team does not follow the new host naming convention <groan>. As such, a non-standard hostname will not be seen by the defined Auto-Registration rules, and will not be added to Zabbix. For example, if a new host is named "LDN" instead of "LON," the Auto-Registration rules I set up will not add this host to Zabbix.
Question...
Is there a way to set up an Auto-Registration "catch-all" action that will run only after the other Auto-Registration actions have been applied?
- I want to avoid creating duplicate hosts in Zabbix.
- I want this to be automated (not dependent on running Auto-discovery and then manually assigning hostgroups/templates).
Any other ideas?
Thank you,
Devon
Zabbix 2.4.4
Background...
I am monitoring datacenters where Zabbix agents are deployed to newly provisioned hosts using Chef. When a new VM comes online, Chef will install an agent within 15 minutes of this new VM becoming live. VMs are provisioned all the time as part of the datacenter operations.
I have Auto-registration rules set up to assign hostgroups/templates based on the VM naming convention (eg. Auto-Registration events have conditions such as: "Host Name like: LON" (to assign to hostgroup: London); and "Host Name like: SNG" (to assign to hostgroup: Singapore)). This works great, and as hosts come online with these naming conventions, they are Auto-Registered properly.
The issue is...
Sometimes the datacenter team does not follow the new host naming convention <groan>. As such, a non-standard hostname will not be seen by the defined Auto-Registration rules, and will not be added to Zabbix. For example, if a new host is named "LDN" instead of "LON," the Auto-Registration rules I set up will not add this host to Zabbix.
Question...
Is there a way to set up an Auto-Registration "catch-all" action that will run only after the other Auto-Registration actions have been applied?
- I want to avoid creating duplicate hosts in Zabbix.
- I want this to be automated (not dependent on running Auto-discovery and then manually assigning hostgroups/templates).
Any other ideas?
Thank you,
Devon
Comment