summaryrefslogtreecommitdiffstats
path: root/health/health.d/whoisquery.conf
diff options
context:
space:
mode:
Diffstat (limited to 'health/health.d/whoisquery.conf')
-rw-r--r--health/health.d/whoisquery.conf13
1 files changed, 13 insertions, 0 deletions
diff --git a/health/health.d/whoisquery.conf b/health/health.d/whoisquery.conf
new file mode 100644
index 0000000..be5eb58
--- /dev/null
+++ b/health/health.d/whoisquery.conf
@@ -0,0 +1,13 @@
+
+ template: whoisquery_days_until_expiration
+ on: whoisquery.time_until_expiration
+ class: Utilization
+ type: Other
+component: WHOIS
+ calc: $expiry
+ units: seconds
+ every: 60s
+ warn: $this < $days_until_expiration_warning*24*60*60
+ crit: $this < $days_until_expiration_critical*24*60*60
+ info: time until the domain name registration expires
+ to: webmaster