mirror of
https://github.com/munin-monitoring/contrib.git
synced 2025-07-22 02:51:03 +00:00
fixup! [multi-ssl] Backward compatibility with ssl_
This commit is contained in:
parent
21cc6fc458
commit
332396976b
1 changed files with 3 additions and 2 deletions
|
@ -10,7 +10,7 @@ multi_ssl - Plugin to monitor CERTificate expiration on multiple services and po
|
||||||
=head1 CONFIGURATION
|
=head1 CONFIGURATION
|
||||||
|
|
||||||
[multi_ssl]
|
[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:
|
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.
|
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:
|
For example:
|
||||||
|
|
||||||
|
@ -82,6 +82,7 @@ get_expire()
|
||||||
PORT=443
|
PORT=443
|
||||||
fi
|
fi
|
||||||
if echo "$SITE" | grep -q ':'; then
|
if echo "$SITE" | grep -q ':'; then
|
||||||
|
# Wrap IPv6 addresses in square brackets
|
||||||
SITE="[${SITE}]"
|
SITE="[${SITE}]"
|
||||||
fi
|
fi
|
||||||
|
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue