diff --git a/plugins/ssl/ssl-certificate-expiry b/plugins/ssl/ssl-certificate-expiry index dac068a4..1d82558b 100755 --- a/plugins/ssl/ssl-certificate-expiry +++ b/plugins/ssl/ssl-certificate-expiry @@ -10,7 +10,7 @@ multi_ssl - Plugin to monitor CERTificate expiration on multiple services and po =head1 CONFIGURATION [multi_ssl] - env.services www.service.tld blah.example.net:PORT + env.services www.service.tld blah.example.net_PORT To set warning and critical levels do like this: @@ -20,7 +20,7 @@ To set warning and critical levels do like this: Alternatively, if you want to monitor hosts separately, you can create multiple symlinks named as follows. - multi_ssl_HOST:PORT + multi_ssl_HOST_PORT For example: @@ -82,6 +82,7 @@ get_expire() PORT=443 fi if echo "$SITE" | grep -q ':'; then + # Wrap IPv6 addresses in square brackets SITE="[${SITE}]" fi