summaryrefslogtreecommitdiffstats
path: root/health/health.d/systemdunits.conf
diff options
context:
space:
mode:
Diffstat (limited to 'health/health.d/systemdunits.conf')
-rw-r--r--health/health.d/systemdunits.conf16
1 files changed, 16 insertions, 0 deletions
diff --git a/health/health.d/systemdunits.conf b/health/health.d/systemdunits.conf
index ad53a0e1c2..31ae68ff49 100644
--- a/health/health.d/systemdunits.conf
+++ b/health/health.d/systemdunits.conf
@@ -159,3 +159,19 @@ component: Systemd units
summary: systemd unit ${label:unit_name} state
info: systemd slice units in the failed state
to: sysadmin
+
+## Timer units
+ template: systemd_timer_unit_failed_state
+ on: systemd.timer_unit_state
+ class: Errors
+ type: Linux
+component: Systemd units
+ module: !* *
+ calc: $failed
+ units: state
+ every: 10s
+ warn: $this != nan AND $this == 1
+ delay: down 5m multiplier 1.5 max 1h
+ summary: systemd unit ${label:unit_name} state
+ info: systemd timer unit in the failed state
+ to: sysadmin