I’m writing a tool to spin up and destroy old hosts that need to be removed from our setup.
We currently have alerts configured such that if a host goes down, we get an email. I don’t want to get that email if it’s intentional.
I’d like to programmatically remove a host from all monitoring, and then destroy it however it seems as though your API doesn’t have the ability to do that with the new infrastructure model.
Is there a good way to do this?
I’ve considered adding a tag to the host, and filtering out hosts that have that tag from alerting, but it’s not really an ideal solution. Also it would be good to have an infrastructure API.
New Relic edit
- I want this, too
- I have more info to share (reply below)
- I have a solution for this
We take feature ideas seriously and our product managers review every one when plotting their roadmaps. However, there is no guarantee this feature will be implemented. This post ensures the idea is put on the table and discussed though. So please vote and share your extra details with our team.