|
|
|
@ -29,7 +29,7 @@ A single couple of DN and password able to connect to both server and without re
|
|
|
|
|
### If you plan to use it with NRPE
|
|
|
|
|
```
|
|
|
|
|
apt install -y python3-ldap git
|
|
|
|
|
git clone https://gogs.zionetrix.net/bn8/check_syncrepl_extended.git /usr/local/src/check_syncrepl_extended
|
|
|
|
|
git clone https://gitea.zionetrix.net/bn8/check_syncrepl_extended.git /usr/local/src/check_syncrepl_extended
|
|
|
|
|
mkdir -p /usr/local/lib/nagios/plugins
|
|
|
|
|
ln -s /usr/local/src/check_syncrepl_extended/check_syncrepl_extended /usr/local/lib/nagios/plugins/
|
|
|
|
|
cat << EOF > /etc/nagios/nrpe.d/ldap-syncrepl.cfg
|
|
|
|
@ -41,7 +41,7 @@ service nagios-nrpe-server reload
|
|
|
|
|
### Otherwise
|
|
|
|
|
```
|
|
|
|
|
apt install python3-ldap git
|
|
|
|
|
git clone https://gogs.zionetrix.net/bn8/check_syncrepl_extended.git /usr/local/src/check_syncrepl_extended
|
|
|
|
|
git clone https://gitea.zionetrix.net/bn8/check_syncrepl_extended.git /usr/local/src/check_syncrepl_extended
|
|
|
|
|
ln -s /usr/local/src/check_syncrepl_extended/check_syncrepl_extended /usr/local/bin/
|
|
|
|
|
```
|
|
|
|
|
|
|
|
|
@ -104,7 +104,7 @@ optional arguments:
|
|
|
|
|
extended control will be enabled.
|
|
|
|
|
|
|
|
|
|
Author: Benjamin Renard <brenard@easter-eggs.com>, Source:
|
|
|
|
|
https://gogs.zionetrix.net/bn8/check_syncrepl_extended
|
|
|
|
|
https://gitea.zionetrix.net/bn8/check_syncrepl_extended
|
|
|
|
|
```
|
|
|
|
|
|
|
|
|
|
## Copyright
|
|
|
|
|