kasdev
February 16, 2024, 8:20am
1
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?
Hi,
You can create a metric event when that metric is higher than X value.
Best regards
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)))
kasdev
February 16, 2024, 2:36pm
4
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.
Please paste the metric selector I provided into advanced mode. :delta transformation is the important point.
kasdev
February 18, 2024, 10:27pm
6
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?
@kasdev ,
You can create a “Metric Event” for it. Select an appropriate Event type, and then alert on it.
@kasdev , to create the metric event, you can use the following fields
kasdev
February 19, 2024, 9:26am
9
Thank you very much. But i’ve last question
do you have an idea if this solution consumes DDU ?
@kasdev No, it does not. It’s based on the built-in metrics.
It doesn’t even consume DDUs per custom Davis events, as it doesn’t meet the requirements explained in DDUs for custom Davis events — Dynatrace Docs