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