I should get alert when below given /mapr nfs mount-point get detached .
I am using following 2 metrics provided by node-exporter collector
mountstats and nfs .
Query-1 absent(node_filesystem_size_bytes {
job="exporter_node",fstype="nfs" ,mountpoint="/mapr",instance=~".*:9100" })
==1
Query-2 rate(node_mountstats_nfs_age_seconds_total
{export="localhost:/mapr"}[5m]) < 1
My first query is providing me desired output but i have to hard-code
instance value on it. the regex used above does not work. My second query
with rate doesn't give me a stable value to put on alert .
Am i doing something wrong here? Please provide any solution to resolve my
problem .
--
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/930af8e2-11a7-488d-b337-cc34a602758ao%40googlegroups.com.