19
0
Fork 0

Fix check nagios MDP

This commit is contained in:
bwaegeneire 2021-07-22 12:02:55 +02:00
parent a1416264a3
commit 2165b0a6c6
1 changed files with 2 additions and 2 deletions

View File

@ -206,11 +206,11 @@ On peut utiliser le [check NRPE OpenVPN suivant](https://gitea.evolix.org/evolix
~~~
## Debian
# apt install libnet-telnet-perl
# /usr/local/lib/nagios/plugins/check_openvpn -H 127.0.0.1 -p 1195 -P $(cat /etc/openvpn/management-pwd)
# /usr/local/lib/nagios/plugins/check_openvpn -H 127.0.0.1 -p 1195 -P $MANAGEMENT_PWD
## OpenBSD
# pkg_add p5-Net-Telnet
# /usr/local/libexec/nagios/plugins/check_openvpn.pl -H 127.0.0.1 -p 1195 -P $(cat /etc/openvpn/management-pwd)
# /usr/local/libexec/nagios/plugins/check_openvpn.pl -H 127.0.0.1 -p 1195 -P $MANAGEMENT_PWD
~~~
On peut également utiliser le [check NRPE suivant](https://gitea.evolix.org/evolix/EvoBSD/raw/branch/dev/roles/openvpn/files/check_openvpn_certificates.sh) pour monitoring les dates d'expirations de la CA et du certificat serveur: