Alert on High Memory Load - Windows WMI Exporter

1,853 views
Skip to first unread message

Pete Leese

unread,
Mar 8, 2018, 10:11:30 AM3/8/18
to Prometheus Users
Trying to create an alert for high memory load on a windows server using WMI exporter metrics when load has reached 90% over 10 minutes.

wmi_cs_physical_memory_bytes = total RAM

wmi_os_physical_memory_free_bytes  = Free RAM

I've tried following the logic taken from https://github.com/infinityworks/prometheus-example-queries  but not having much luck.

Has anyone created an alert for windows high memory usage?

Thanks.

Pete

Brian Brazil

unread,
Mar 8, 2018, 10:15:09 AM3/8/18
to Pete Leese, Prometheus Users
 wmi_os_physical_memory_free_bytes / wmi_cs_physical_memory_bytes < 0.1 should do it.

Brian


Thanks.

Pete

--
You received this message because you are subscribed to the Google Groups "Prometheus Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to prometheus-users+unsubscribe@googlegroups.com.
To post to this group, send email to prometheus-users@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/prometheus-users/758d4290-6d2f-402f-9d81-c480266c658a%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.



--

Pete Leese

unread,
Mar 8, 2018, 5:08:23 PM3/8/18
to Prometheus Users
As simple as that. I really must book a course to for this 👍🏻 Cheers Brian.

Pete
Reply all
Reply to author
Forward
0 new messages