replace clock skew alert with one provided by node_exporter mixin

This commit is contained in:
paulfantom 2020-03-24 15:49:10 +01:00
parent 68505af1f9
commit 0ad11b64d7
No known key found for this signature in database
GPG Key ID: 12AE0185401674E7

View File

@ -1,24 +1,6 @@
{
prometheusAlerts+:: {
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',
rules: [