Hello,

I would like to monitor reboot of the server, when server reboots need to 
send alert via alertmanager.

Currently I am using following expression 
expr: rate(node_boot_time{job="kubernetes-service-endpoints"} [1h])* 
on(instance) group_left(nodename) 
group(node_uname_info{})by(instance,nodename)>0 or

rate(node_boot_time{job="kubernetes-service-endpoints"} [1h])>0

But I can see wrong alerts are keep populating in my mail box.

Could you please provide me expression we can use other than what I had 
used.

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/321cef67-44a2-4e9b-b516-808cac0cb061n%40googlegroups.com.

Reply via email to