cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

Licencing - Memory Alert

kasdev
Guide

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.

96a09638-7bf4-4bb2-b27b-feb5f6f42c73.jpg

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?

10 REPLIES 10

AntonPineiro
DynaMight Guru
DynaMight Guru

Hi,

You can create a metric event when that metric is higher than X value.

Best regards

❤️ Emacs ❤️ Vim ❤️ Bash ❤️ Perl

Julius_Loman
DynaMight Legend
DynaMight Legend

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)))
Certified Dynatrace Master | Alanata a.s., Slovakia, Dynatrace Master Partner

ram size dashboard.png

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.

Certified Dynatrace Master | Alanata a.s., Slovakia, Dynatrace Master Partner

hello again.

i did what you said end now i see:

 

data exp delta.png

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.

Antonio Sousa

@kasdev , to create the metric event, you can use the following fields

PacoPorro_0-1708332160836.pngPacoPorro_1-1708332199491.png

PacoPorro_2-1708332208748.png

 

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.

Certified Dynatrace Master | Alanata a.s., Slovakia, Dynatrace Master Partner

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...

Antonio Sousa

Featured Posts