Hi Domnick, Thanks for the reply.
Yes, I have thought about Salt/Puppet, as well. Problem is that our clients are using different config management tools (Puppet, Chef, Salt, etc.) or not using them at all, so I am looking for a more generic way of doing this task. Some kind of node subscription and event-based provisioning, like - "when an AWS auto-scaler creates a node, take its IP address and put it in Icinga". Could this be accomplished by using passive SNMP checks? A scenario in which a client host sends an SNMP request and Icinga2 master provision new host based on that event. Regards, ----- Original Message ----- From: "Domnick Eger" <[email protected]> To: "icinga-users" <[email protected]> Sent: Tuesday, June 9, 2015 10:54:49 AM Subject: Re: [icinga-users] Dynamically add hosts from the AWS 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 _______________________________________________ icinga-users mailing list [email protected] https://lists.icinga.org/mailman/listinfo/icinga-users
