I have two hosts. One on VMware, another on Azure VM.
If I have my environment set to "alert on graceful host shutdown", then stopping the VM on VMware will cause a problem to be opened.
If I stop the VM in Azure Portal, no alert is created. Only the message OneAgent stopped for 2 minutes appears in the host view.
Why is this? I need to see problem generated for Azure VM being shutdown, regardless if graceful or not.
Solved! Go to Solution.
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.