Hello Team,
I would like to raise alerts when host is out of disk, i am using following 
Expression for evaluation.

(node_filesystem_avail_bytes{job="kubernetes-service-endpoints"} * 100) / 
(node_filesystem_size_bytes{job="kubernetes-service-endpoints"}) < 10  ,

But my my host has ceph storage as separate drive, but these drive i m 
unable to evaluate the usage with above expression.

In the above expression i can see only host level disk usage evaluation , 
even i am getting alert on those.

Is there any way to find expression for ceph drives usage? 

Note:, I have work around for this , I tried with getting usage with 
following expression 
expr: 
max(container_fs_usage_bytes{device=~"/dev/.*"}/container_fs_limit_bytes{device=~"/dev/.*"}*100)
 
by(cluster,instance,device)  > 75 < 90

I knew its not valid expression, this will evaluate file usage of container.

Do you have any idea on this? 

Thanks in advance if anybody has implemented so far.

Thanks
DV

-- 
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 [email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/prometheus-users/c4a29b1c-1542-4b88-b2ca-5fd2971f69a7n%40googlegroups.com.

Reply via email to