Révision 09b88141
Improve documantion of many plugins
Specifically the configuration examples are now indented properly.
| plugins/ssl/certificate_file_expiry | ||
|---|---|---|
| 9 | 9 |
Installing: Add list of your certificates prefixed by the type in munin plugin-conf.d |
| 10 | 10 |
|
| 11 | 11 |
For openvpn ca.crt and crl.pem |
| 12 |
[certificate_file_expiry] |
|
| 13 |
user root |
|
| 14 |
env.CERTS crl:/etc/openvpn/easy-rsa/keys/crl.pem x509:/etc/openvpn/easy-rsa/keys/ca.crt |
|
| 12 |
|
|
| 13 |
[certificate_file_expiry] |
|
| 14 |
user root |
|
| 15 |
env.CERTS crl:/etc/openvpn/easy-rsa/keys/crl.pem x509:/etc/openvpn/easy-rsa/keys/ca.crt |
|
| 15 | 16 |
|
| 16 | 17 |
For letsencrypt certificates |
| 17 |
[certificate_file_expiry] |
|
| 18 |
user root |
|
| 19 |
env.CERTS x509:/etc/letsencrypt/live/domain1.example.com/cert.pem x509:/etc/letsencrypt/live/domain2.example.com/cert.pem |
|
| 20 |
|
|
| 21 |
Warning and Critical levels can also be configured with env variables like this |
|
| 22 |
[certificate_file_expiry] |
|
| 23 |
... |
|
| 24 |
# warn when certificate will be invalid within 5 days |
|
| 25 |
env.warning 5: |
|
| 26 |
# critical when certificate will be invalid within 1 day |
|
| 27 |
env.critical 1: |
|
| 18 |
|
|
| 19 |
[certificate_file_expiry] |
|
| 20 |
user root |
|
| 21 |
env.CERTS x509:/etc/letsencrypt/live/domain1.example.com/cert.pem x509:/etc/letsencrypt/live/domain2.example.com/cert.pem |
|
| 22 |
|
|
| 23 |
Warning and Critical levels can also be configured with env variables like this: |
|
| 24 |
|
|
| 25 |
[certificate_file_expiry] |
|
| 26 |
... |
|
| 27 |
# warn when certificate will be invalid within 5 days |
|
| 28 |
env.warning 5: |
|
| 29 |
# critical when certificate will be invalid within 1 day |
|
| 30 |
env.critical 1: |
|
| 28 | 31 |
|
| 29 | 32 |
=head1 Dependencies |
| 30 | 33 |
|
| ... | ... | |
| 32 | 35 |
|
| 33 | 36 |
=head1 AUTHOR |
| 34 | 37 |
|
| 35 |
andreas perhab - andreas.perhab@wt-io-it.at |
|
| 36 |
https://www.wt-io-it.at/ |
|
| 38 |
andreas perhab - andreas.perhab@wt-io-it.at (https://www.wt-io-it.at/) |
|
| 37 | 39 |
|
| 38 | 40 |
=head1 LICENSE |
| 39 | 41 |
|
Formats disponibles : Unified diff