I am able to add ec2 instances in nagios using puppet but how can I delete the instances from nagios configuration after instances get terminated.
I am looking for something, whenever any node gets terminated manually or via ASG, those, wait for 10 mins or so, if node is still down, delete it from nagios and restart nagios.