@cryptotaxi247 / netdata-1 / commits / 36d533350

Include timer units failed state alert as default (#16845)

Tasos Katsoulas committed Jan 25, 2024 at 14:15 UTC 36d53335090a210471f4469ba4c9d1a13a175846
1 file changed +16
health/health.d/systemdunits.conf
+16
@@ -159,3 +159,19 @@ component: Systemd units
159 summary: systemd unit ${label:unit_name} state
160 info: systemd slice units in the failed state
161 to: sysadmin
162 +
163 +## Timer units
164 + template: systemd_timer_unit_failed_state
165 + on: systemd.timer_unit_state
166 + class: Errors
167 + type: Linux
168 +component: Systemd units
169 + module: !* *
170 + calc: $failed
171 + units: state
172 + every: 10s
173 + warn: $this != nan AND $this == 1
174 + delay: down 5m multiplier 1.5 max 1h
175 + summary: systemd unit ${label:unit_name} state
176 + info: systemd timer unit in the failed state
177 + to: sysadmin