rfmoz / grafana-dashboards

Grafana dashboards
Apache License 2.0
1.17k stars 445 forks source link

File system alerts in Grafana using Promethius #76

Closed skizilbash closed 1 year ago

skizilbash commented 3 years ago

Hi,

I using the below query for my new alerts to monitor FS usage. However this query shows all the nodes that have grafana client running on them. I am trying to filter only postgres nodes. Can anyone help tweak the below query to achieve the desired results?

( 1 - (node_filesystem_free_bytes{device!~'rootfs'} / node_filesystem_size_bytes{device!~'rootfs'})) 100 on(instance) group_left(nodename) (node_uname_info) image