1
0
Fork 0
mirror of https://github.com/munin-monitoring/contrib.git synced 2025-07-21 18:41:03 +00:00

Fix typos in certificate_file_expiry

Typos broke the sample configuration
This commit is contained in:
RenWal 2019-09-02 11:34:39 +02:00 committed by Lars Kruse
parent c84659ad22
commit 4e7c45fdc9

View file

@ -2,24 +2,24 @@
: << =cut : << =cut
=head1 NAME =head1 NAME
certficate_file_expiry - check the certificate validity of your certfificates certificate_file_expiry - check the certificate validity of your certificates
= head1 CONFIGURATION = head1 CONFIGURATION
Installing: Add list of your certificates prefixed by the type in munin plugin-conf.d Installing: Add list of your certificates prefixed by the type in munin plugin-conf.d
For openvpn ca.crt and crl.pem For openvpn ca.crt and crl.pem
[certficate_file_expiry] [certificate_file_expiry]
user root user root
env.CERTS crl:/etc/openvpn/easy-rsa/keys/crl.pem x509:/etc/openvpn/easy-rsa/keys/ca.crt env.CERTS crl:/etc/openvpn/easy-rsa/keys/crl.pem x509:/etc/openvpn/easy-rsa/keys/ca.crt
For letsencrypt certficates For letsencrypt certficates
[certficate_file_expiry] [certificate_file_expiry]
user root user root
env.CERTS x509:/etc/letsencrypt/live/domain1.example.com/cert.pem x509:/etc/letsencrypt/live/domain2.example.com/cert.pem env.CERTS x509:/etc/letsencrypt/live/domain1.example.com/cert.pem x509:/etc/letsencrypt/live/domain2.example.com/cert.pem
Warning and Critical levels can also be configured with env variables like this Warning and Critical levels can also be configured with env variables like this
[certficate_file_expiry] [certificate_file_expiry]
... ...
# warn when certificate will be invalid within 5 days # warn when certificate will be invalid within 5 days
env.warning 5: env.warning 5: