I'm looking for some recommendations regarding the Zabbix Auto Registration process and AWS Auto Scaling groups.
I would like to include the zabbix agent in the AMI attached to an auto scaling group. The problem I've encountered is the hostname must be unique for auto registration to register a new server. When the ASG scales up the newly created instances fail to auto register with the Zabbix server because they have the same hostname (configured in the AMI attached to the ASG).
I guess the best solution would be to dynamically change the hostname when it is created. I'm not sure the best way to go about this in AWS. I have encounter some scripts related to Puppet and Chef that would accomplish this. Unfortunately, I don't have these systems in place in my environment.
Is there an alternate means to accomplish this by relaxing the requirement for a unique hostname in the auto registration process?
Any advice would be appreciated.
I am using Zabbix 2.2.
The AWS instances are running CentOS 6.5.
I would like to include the zabbix agent in the AMI attached to an auto scaling group. The problem I've encountered is the hostname must be unique for auto registration to register a new server. When the ASG scales up the newly created instances fail to auto register with the Zabbix server because they have the same hostname (configured in the AMI attached to the ASG).
I guess the best solution would be to dynamically change the hostname when it is created. I'm not sure the best way to go about this in AWS. I have encounter some scripts related to Puppet and Chef that would accomplish this. Unfortunately, I don't have these systems in place in my environment.
Is there an alternate means to accomplish this by relaxing the requirement for a unique hostname in the auto registration process?
Any advice would be appreciated.
I am using Zabbix 2.2.
The AWS instances are running CentOS 6.5.
Comment