Hi Team ,

Please provide any solution to my above problem .. I am stuck with this.



On Friday, June 26, 2020 at 4:20:21 PM UTC+5:30, Satyam Vishnoi wrote:
>
> 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/938377a1-bc77-4674-9147-948c025fe42do%40googlegroups.com.

Reply via email to