Small correction here:

I want to have the expression 
"windows_logical_disk_free_bytes{volume="C:"}/1000/1000/1000" (if this is 
the actual GB of free disk space (or do I need to device by 1024?)) in my 
alerting mail. And not as above the percentage.

Kolja Krückmann schrieb am Mittwoch, 10. Mai 2023 um 10:20:53 UTC+2:

> Hi y'all
>
> I'm looking for a possibility to add the "result" of an expression to the 
> alerting description.
> My expression is to alert when the c:\ Drive is below 10%. Now I want to 
> add the actual value of the expression: 
> ((windows_logical_disk_free_bytes{volume="C:"} / 
> windows_logical_disk_size_bytes) * 100) <= 10
> in the alerting mail. Is this somehow possible so that the free size is 
> within the mail?
>
> Kind regards
>

-- 
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+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/prometheus-users/6ab7cd37-5dc3-4066-9a17-545351b2afeen%40googlegroups.com.

Reply via email to