Hello Friends,

I would like to knw the query for node/host reboot alerts for alert manager.

I had used one  query which is giving wrong alerts, which is not matching 
the need.

changes(node_boot_time_seconds{job="kubernetes-service-endpoints"} [1h])* 
on(instance) group_left(nodename) 
group(node_uname_info{})by(instance,nodename)>0

or 
changes(node_boot_time_seconds{job="kubernetes-service-endpoints"} [1h])

Can you please suggest us better way of query to get reboot alert.

Thanks


-- 
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/59ea7200-b92f-45e3-a56f-b3314323bbacn%40googlegroups.com.

Reply via email to