make sure the detection settings are the same for each hosts. Sometimes these are also set at the HG level or the Global Level. We are always alerted when a host gets shutdown. Also there might be a bit of a delay, even after 5 mins you don’t get an alert? Is an alert raised in the UI?
Hi @ChadTurner , settings were correct, and it wasn’t missed due to delay.
There’s an explanation that actually Azure VMs will stop the OneAgent service before the OS shutdown signal could be caught and sent by OneAgent. Therefore, this just looks like an agent shutdown only to Dynatrace and it does nothing with those events.
I’d prefer if Dynatrace treated agent service shutdowns as “monitoring unavailable” events.
There is an events API that allows you to ‘mark for termination’ an instance. So that could be utilised, but I have not so far attempted to build this solution.