16 Feb 2024 08:20 AM - last edited on 26 Feb 2024 09:26 AM by MaciejNeumann
Hello.
I've recently figured out that my hosts' memory size increased which caused my licence consumption increased. Normally hosts' memory sizes were 16gb but somehow it increased up to 128gb. I will share with you a visual.
above you see a conclusion of a script which shows us HU before and after hosts' memory size changed so HU changed.
My question is:
Is there a way that i can create an alert when hosts memory size increased which causes my HU increased?
Solved! Go to Solution.
16 Feb 2024 08:25 AM
Hi,
You can create a metric event when that metric is higher than X value.
Best regards
16 Feb 2024 09:26 AM
You can easily find them using the delta transformation in Data Explorer:
builtin:host.mem.total:splitBy("dt.entity.host"):auto:delta:filter(series(auto,gt(0)))
16 Feb 2024 02:36 PM - edited 16 Feb 2024 02:37 PM
like this?
i think this dashboard gives me host memories. but it does not give me alerts if hosts' memory sizes change or cross the limits i can create.
i am still confused how can i create alert on this dashboard.
16 Feb 2024 03:48 PM
Please paste the metric selector I provided into advanced mode. :delta transformation is the important point.
18 Feb 2024 10:27 PM
hello again.
i did what you said end now i see:
but i am still not sure if this dashboard gives me ALERTS if hosts' memory sizes change.
how can i create alerts if a host's memory changes?
18 Feb 2024 11:42 PM
You can create a "Metric Event" for it. Select an appropriate Event type, and then alert on it.
19 Feb 2024 09:26 AM
Thank you very much. But i've last question 🙂
do you have an idea if this solution consumes DDU ?
19 Feb 2024 09:53 AM
@kasdev No, it does not. It's based on the built-in metrics.
19 Feb 2024 12:41 PM
It doesn't even consume DDUs per custom Davis events, as it doesn't meet the requirements explained in https://docs.dynatrace.com/docs/manage/subscriptions-and-licensing/monitoring-consumption-classic/da...