diff options
author | Christian Hesse <mail@eworm.de> | 2018-11-27 14:08:14 +0100 |
---|---|---|
committer | Christian Hesse <mail@eworm.de> | 2018-11-28 21:19:39 +0100 |
commit | 6e4d7159378259a521e467504509de871381d078 (patch) | |
tree | 9fcf9938cbf64949f5022a268b9249e3b0cbba17 /check-certificates | |
parent | c4f8c1ad52cd629f39009848610d31b320bfda03 (diff) |
global-functions: add identity tag in $SendNotification
... and send subject in telegram message.
Diffstat (limited to 'check-certificates')
-rw-r--r-- | check-certificates | 2 |
1 files changed, 1 insertions, 1 deletions
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" . \ |