From 6e4d7159378259a521e467504509de871381d078 Mon Sep 17 00:00:00 2001 From: Christian Hesse Date: Tue, 27 Nov 2018 14:08:14 +0100 Subject: global-functions: add identity tag in $SendNotification ... and send subject in telegram message. --- check-certificates | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'check-certificates') diff --git a/check-certificates b/check-certificates index 566b013..557589e 100644 --- a/check-certificates +++ b/check-certificates @@ -36,7 +36,7 @@ :local fingerprint [ / certificate get $cert fingerprint ]; :local invalidbefore [ / certificate get $cert invalid-before ]; :local invalidafter [ / certificate get $cert invalid-after ]; - $SendNotification ("[" . $identity . "] Certificate warning!") \ + $SendNotification ("Certificate warning!") \ ("A certificate on " . $identity . " is about to expire.\n\n" . \ "Certificate Name: " . $certname . "\n" . \ "Common Name: " . $commonname . "\n" . \ -- cgit v1.2.3-54-g00ecf