From b485aab7e71c1625cfc27e0f92c9509f42378458 Mon Sep 17 00:00:00 2001 From: Daniel Baumann Date: Sun, 5 May 2024 13:19:16 +0200 Subject: Adding upstream version 1.45.3+dfsg. Signed-off-by: Daniel Baumann --- src/health/health.d/whoisquery.conf | 14 ++++++++++++++ 1 file changed, 14 insertions(+) create mode 100644 src/health/health.d/whoisquery.conf (limited to 'src/health/health.d/whoisquery.conf') diff --git a/src/health/health.d/whoisquery.conf b/src/health/health.d/whoisquery.conf new file mode 100644 index 000000000..0a328b592 --- /dev/null +++ b/src/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 -- cgit v1.2.3