summaryrefslogtreecommitdiffstats
path: root/health/health.d/pihole.conf
diff options
context:
space:
mode:
authorIlya Mashchenko <ilya@netdata.cloud>2019-06-25 19:14:47 +0300
committerGitHub <noreply@github.com>2019-06-25 19:14:47 +0300
commitd1866e2f7d0890337df661c67b9171c3a6c87a8e (patch)
treeb0a72f1ca80436cb0ee7394ba54eeaeb6db6fc9f /health/health.d/pihole.conf
parent00d91c0368f7ebfb8501b1a494460d750ed2fe60 (diff)
pihole: alarms delay fix (#6342)
Diffstat (limited to 'health/health.d/pihole.conf')
-rw-r--r--health/health.d/pihole.conf6
1 files changed, 3 insertions, 3 deletions
diff --git a/health/health.d/pihole.conf b/health/health.d/pihole.conf
index 20060ee44e..4a1217239d 100644
--- a/health/health.d/pihole.conf
+++ b/health/health.d/pihole.conf
@@ -21,7 +21,7 @@ template: pihole_last_collected_secs
calc: $blocked
warn: $this > ( ($status >= $WARNING ) ? ( 45 ) : ( 55 ) )
crit: $this > ( ($status >= $CRITICAL) ? ( 55 ) : ( 75 ) )
- delay: delay 2m down 5m
+ delay: up 2m down 5m
info: percentage of blocked dns queries for the last 24 hour
to: sysadmin
@@ -48,7 +48,7 @@ template: pihole_last_collected_secs
units: boolean
calc: $file_exists
crit: $this != 1
- delay: delay 2m down 5m
+ delay: up 2m down 5m
info: gravity file existence
to: sysadmin
@@ -62,6 +62,6 @@ template: pihole_last_collected_secs
units: boolean
calc: $enabled
warn: $this != 1
- delay: delay 2m down 5m
+ delay: up 2m down 5m
info: unwanted domains blocking status
to: sysadmin