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.conf14
1 files changed, 14 insertions, 0 deletions
diff --git a/health/health.d/whoisquery.conf b/health/health.d/whoisquery.conf
new file mode 100644
index 00000000..0a328b59
--- /dev/null
+++ b/health/health.d/whoisquery.conf
@@ -0,0 +1,14 @@
+
+ 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
+ summary: Whois expiration time for domain ${label:domain}
+ info: Time until the domain name registration for ${label:domain} expires
+ to: webmaster