Nagios Monitoring ASG in AWS
Posted: Fri Sep 11, 2020 3:52 am
Hi,
I've been tasked to see if it is possible for Nagios to monitor the health/services running on EC2 instances that are within an autoscaling group in AWS. (i.e. serverA is removed from the ASG, serverB takes it's place and Nagios starts monitoring the resource usage/services of this new host).
Am I right in thinking that out of the box Nagios doesn't come with the functionality to monitor an ASG and to dynamically add/remove the hosts/services when required?
No doubt it can be done with a bit of effort using the Nagios API/scripts on the AWS side to register/deregister hosts in Nagios, but if there is a simpler solution please let me know.
I've been tasked to see if it is possible for Nagios to monitor the health/services running on EC2 instances that are within an autoscaling group in AWS. (i.e. serverA is removed from the ASG, serverB takes it's place and Nagios starts monitoring the resource usage/services of this new host).
Am I right in thinking that out of the box Nagios doesn't come with the functionality to monitor an ASG and to dynamically add/remove the hosts/services when required?
No doubt it can be done with a bit of effort using the Nagios API/scripts on the AWS side to register/deregister hosts in Nagios, but if there is a simpler solution please let me know.