mirror of
https://github.com/prometheus-operator/kube-prometheus.git
synced 2025-11-07 03:21:42 +01:00
replace clock skew alert with one provided by node_exporter mixin
This commit is contained in:
parent
68505af1f9
commit
0ad11b64d7
@ -1,24 +1,6 @@
|
|||||||
{
|
{
|
||||||
prometheusAlerts+:: {
|
prometheusAlerts+:: {
|
||||||
groups+: [
|
groups+: [
|
||||||
{
|
|
||||||
name: 'node-time',
|
|
||||||
rules: [
|
|
||||||
{
|
|
||||||
alert: 'ClockSkewDetected',
|
|
||||||
annotations: {
|
|
||||||
message: 'Clock skew detected on node-exporter {{ $labels.namespace }}/{{ $labels.pod }}. Ensure NTP is configured correctly on this host.',
|
|
||||||
},
|
|
||||||
expr: |||
|
|
||||||
abs(node_timex_offset_seconds{%(nodeExporterSelector)s}) > 0.05
|
|
||||||
||| % $._config,
|
|
||||||
'for': '2m',
|
|
||||||
labels: {
|
|
||||||
severity: 'warning',
|
|
||||||
},
|
|
||||||
},
|
|
||||||
],
|
|
||||||
},
|
|
||||||
{
|
{
|
||||||
name: 'node-network',
|
name: 'node-network',
|
||||||
rules: [
|
rules: [
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user