Page 1 of 1

Handling auto scaling with Nagios

Posted: Thu Sep 29, 2016 3:34 am
by reincarne
Hi support,
I have a question that we are stuck with no solution for now.
We want to find a solution how Nagios can monitoring auto scaling in Amason for example. There are situations that a server can be automatically added to work, and automatically removed after 10 minutes.
Nagios requires a restart of the service any little change. So if a new host added, it takes like few minutes until everything is recovered and sometimes it can be late.

Are there any way how can auto-scaling quickly monitored with Nagios?

Thanks in advance.

Re: Handling auto scaling with Nagios

Posted: Thu Sep 29, 2016 12:00 pm
by rkennedy
At this time, there isn't a way to reduce the amount of time it takes for a restart. What I would look at to automate things, is using the API. This will allow you to add hosts dynamically in such a case as you listed.

One more thing to mention, is using host groups in conjunction with the API will save you a lot of time. You can automatically assign services to a host group, and then use templates to automate things even further. This is really beneficial if you're scaling web servers, and automatically need to monitor x services on it. See the attached document.