summaryrefslogtreecommitdiffstats
path: root/src/health/health.d/whoisquery.conf
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--src/health/health.d/whoisquery.conf8
1 files changed, 4 insertions, 4 deletions
diff --git a/src/health/health.d/whoisquery.conf b/src/health/health.d/whoisquery.conf
index 0a328b592..6d87ad280 100644
--- a/src/health/health.d/whoisquery.conf
+++ b/src/health/health.d/whoisquery.conf
@@ -4,11 +4,11 @@
class: Utilization
type: Other
component: WHOIS
- calc: $expiry
- units: seconds
+ calc: $expiry / 86400
+ units: days
every: 60s
- warn: $this < $days_until_expiration_warning*24*60*60
- crit: $this < $days_until_expiration_critical*24*60*60
+ warn: $this < $days_until_expiration_warning
+ crit: $this < $days_until_expiration_critical
summary: Whois expiration time for domain ${label:domain}
info: Time until the domain name registration for ${label:domain} expires
to: webmaster