There plenty of automation platform you can use to accomplish this. One great example is using SALT Stack. You can easily setup a master node, and setup minion server to report back to the master to find new hosts. Build a state with formula to create the templates for hosts and have it apply it to Icinga server. You can easily accomplish this with Puppet as well.
________________________________________ From: icinga-users <[email protected]> on behalf of Nikola Pajtic <[email protected]> Sent: Monday, June 08, 2015 5:49 PM To: [email protected] Subject: [icinga-users] Dynamically add hosts from the AWS Hi guys, I am running VMs on the AWS and would like to set up a dynamic node provisioning in Icinga2. These VMs are automatically created by the AWS auto-scale with their IPs and hostnames constantly changing. Could you suggest how these can be achieved in Icinga2? Is there any Icinga2 feature/plugin that can add new hosts dynamically? I had an idea to script this task by using Amazon SNS and SQS and python scripts, which would pull notifications from Amazon and trigger host creation on Icinga2 master. Not sure would this be a correct way or is there any other (a bit easier) way :) Kind regards, Nikola _______________________________________________ icinga-users mailing list [email protected] https://lists.icinga.org/mailman/listinfo/icinga-users _______________________________________________ icinga-users mailing list [email protected] https://lists.icinga.org/mailman/listinfo/icinga-users
