pihole: alarms delay fix (#6342)
Ilya Mashchenko committed
Jun 25, 2019 at 19:14 UTC
d1866e2f7d0890337df661c67b9171c3a6c87a8e
1 file changed
+3
-3
health/health.d/pihole.conf
+3
-3
@@ -21,7 +21,7 @@ template: pihole_last_collected_secs
21
calc: $blocked
22
warn: $this > ( ($status >= $WARNING ) ? ( 45 ) : ( 55 ) )
23
crit: $this > ( ($status >= $CRITICAL) ? ( 55 ) : ( 75 ) )
24
- delay: delay 2m down 5m
24
+ delay: up 2m down 5m
25
info: percentage of blocked dns queries for the last 24 hour
26
to: sysadmin
27
@@ -48,7 +48,7 @@ template: pihole_last_collected_secs
48
units: boolean
49
calc: $file_exists
50
crit: $this != 1
51
- delay: delay 2m down 5m
51
+ delay: up 2m down 5m
52
info: gravity file existence
53
to: sysadmin
54
@@ -62,6 +62,6 @@ template: pihole_last_collected_secs
62
units: boolean
63
calc: $enabled
64
warn: $this != 1
65
- delay: delay 2m down 5m
65
+ delay: up 2m down 5m
66
info: unwanted domains blocking status
67
to: sysadmin