summaryrefslogtreecommitdiffstats
path: root/health/health.d/pihole.conf
diff options
context:
space:
mode:
Diffstat (limited to 'health/health.d/pihole.conf')
-rw-r--r--health/health.d/pihole.conf10
1 files changed, 5 insertions, 5 deletions
diff --git a/health/health.d/pihole.conf b/health/health.d/pihole.conf
index b255d35f9..f450b7122 100644
--- a/health/health.d/pihole.conf
+++ b/health/health.d/pihole.conf
@@ -20,9 +20,9 @@ template: pihole_blocked_queries
units: %
calc: $blocked
warn: $this > ( ($status >= $WARNING ) ? ( 45 ) : ( 55 ) )
- crit: $this > ( ($status >= $CRITICAL) ? ( 55 ) : ( 75 ) )
+ crit: $this > ( ($status == $CRITICAL) ? ( 55 ) : ( 75 ) )
delay: up 2m down 5m
- info: percentage of blocked dns queries for the last 24 hour
+ info: percentage of blocked dns queries over the last 24 hour
to: sysadmin
@@ -36,7 +36,7 @@ template: pihole_blocklist_last_update
calc: $ago
warn: $this > 60 * 60 * 24 * 8
crit: $this > 60 * 60 * 24 * 8 * 2
- info: blocklist last update time
+ info: gravity.list (blocklist) file last update time
to: sysadmin
# Gravity file check (gravity.list).
@@ -48,7 +48,7 @@ template: pihole_blocklist_gravity_file
calc: $file_exists
crit: $this != 1
delay: up 2m down 5m
- info: gravity file existence
+ info: gravity.list (blocklist) file existence state (0: exists, 1: not-exists)
to: sysadmin
# Pi-hole's ability to block unwanted domains.
@@ -61,5 +61,5 @@ template: pihole_status
calc: $enabled
warn: $this != 1
delay: up 2m down 5m
- info: unwanted domains blocking status
+ info: unwanted domains blocking status (0: enabled, 1: disabled)
to: sysadmin