2
0
mirror of https://github.com/munin-monitoring/contrib.git synced 2018-11-08 00:59:34 +01:00

[ssl] Remove legacy ssl, and replacement ssl-certificate-expiry

Signed-off-by: Olivier Mehani <shtrom@ssji.net>
This commit is contained in:
Olivier Mehani 2017-07-23 13:19:40 +10:00
parent 332396976b
commit 81e1966814

View File

@ -5,34 +5,34 @@
=head1 NAME
multi_ssl - Plugin to monitor CERTificate expiration on multiple services and ports
ssl-certificate-expiry - Plugin to monitor CERTificate expiration on multiple services and ports
=head1 CONFIGURATION
[multi_ssl]
[ssl-certificate-expiry]
env.services www.service.tld blah.example.net_PORT
To set warning and critical levels do like this:
[multi_ssl]
[ssl-certificate-expiry]
env.services ...
env.warning 30:
Alternatively, if you want to monitor hosts separately, you can create multiple symlinks named as follows.
multi_ssl_HOST_PORT
ssl-certificate-expiry_HOST_PORT
For example:
multi_ssl_www.example.net
multi_ssl_www.example.org_443
multi_ssl_192.0.2.42_636
multi_ssl_2001:0DB8::badc:0fee_485
ssl-certificate-expiry_www.example.net
ssl-certificate-expiry_www.example.org_443
ssl-certificate-expiry_192.0.2.42_636
ssl-certificate-expiry_2001:0DB8::badc:0fee_485
=head1 AUTHOR
Pactrick Domack (ssl_)
Olivier Mehani (multi_ssl)
Olivier Mehani (ssl-certificate-expiry)
Copyright (C) 2013 Patrick Domack <patrickdk@patrickdk.com>
Copyright (C) 2017 Olivier Mehani <shtrom+munin@ssji.net>
@ -47,7 +47,7 @@ if [ "${MUNIN_DEBUG}" = 1 ]; then
set -x
fi
HOSTPORT=${0##*multi_ssl_}
HOSTPORT=${0##*ssl-certificate-expiry_}
if [ "${HOSTPORT}" != "${0}" ] \
&& [ ! -z "${HOSTPORT}" ]; then