by Enrico
Hi all,
i'm planning to use server monitoring and docker monitoring in server created by autoscaling.
It's clear how install and configure , but is not clear to me how delete servers when they are terminated or stopped.
Trying disinstalling agent will not solve issue because i still have servers in red state.
Regards,
Enrico Casti
Like (2)
Reply
Replies (11)
Hello Enrico,
Once the server is terminated or stopped, you can remove the monitors by placing a mouse cursor on the lined icon and choose "Delete or Suspend" from the list.
Please check and let me know if that helps.
Regards,
Rafee
Like (0)
Reply
Hello Enrico,
We do have an option to add, delete, activate and suspend the monitors through an API call. Please check the link below for more details.
Regards,
Rafee
Like (0)
Reply
You can get the monitor ID using the "List Monitors" API. Please check the link below for more details.
Regards,
Rafee
Like (0)
Reply
by kkeski
I was worried that was the solution. That return will get huge and already with only 50 ish monitors takes several seconds to return. Then we have to parse that for a single monitor we are looking for. There has to be a better way! This has to be a burden on your infrastructure, and is definitely an unnecessary hurdle for customers.
Like (0)
Reply
We will have support for Name driven API's soon. Hope that should solve your problem.
We will keep you posted on the development regarding this.
Like (0)
Reply
I am trying to figure this out too. I want to automatically add new monitors for AWS instances to particular monitoring groups and then delete them on instance termination. But how to tell my API call which monitor id is the question. I have 117 monitors and parsing the response to "list" would be nearly impossible to maintain. The instance would terminate before the script finished.
Like (0)
Reply
Hello folks,
Automatic clean up of terminated AutoScaling instances has already been handled and is applicable for both EC2 instances monitored via our CloudWatch integration and our integrated EC2 monitors (CloudWatch + Agent). When instances scale down or when they are manually terminated, the corresponding monitors in the Site24x7 console move to a suspended state and get automatically removed after 10days.
For more details regarding our powerful EC2 monitoring, please visit the following link
Like (0)
Reply