I’ve a case where the disk D:\ of a bunch of Citrix Servers are being filled up quickly and sometimes when we’re received the alert of disk usage it’s too late and the services stop responding.
Then, we would like to setup an alert based on the % of disk usage in the last 2 hours. For example, if the disk usage increase in 40% in the last 2 hours trigger an alert.
They already have a similar alert configured in splunk, but I would like to do the same in Dynatrace.
you can achieve this result by creating custom metric selector:
builtin:host.disk.free:splitBy():sort(value(auto,descending)):timeshift(-2h)-builtin:host.disk.free:splitBy():sort(value(auto,descending))
and create custom alarm based on it:
Thanks @DynaWiz … I’ve modified you query a little bit to include just the Drive and it seems to be working… I’ll configure the alerts and see how it goes!..