Fix NRPE command example
All checks were successful
ci/woodpecker/push/woodpecker Pipeline was successful
All checks were successful
ci/woodpecker/push/woodpecker Pipeline was successful
This commit is contained in:
parent
67aaf9852c
commit
f3f8ae9f1a
1 changed files with 1 additions and 1 deletions
|
@ -33,7 +33,7 @@ git clone https://gitea.zionetrix.net/bn8/check_syncrepl_extended.git /usr/local
|
||||||
mkdir -p /usr/local/lib/nagios/plugins
|
mkdir -p /usr/local/lib/nagios/plugins
|
||||||
ln -s /usr/local/src/check_syncrepl_extended/check_syncrepl_extended /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
|
cat << EOF > /etc/nagios/nrpe.d/ldap-syncrepl.cfg
|
||||||
command[check_syncrepl_extended]=/usr/local/lib/nagios/plugins/check_syncrepl_extended --nagios --attributes --provider ldaps://ldapmaster.foo --consumer ldaps://ldapslave.foo -D uid=nagios,ou=sysaccounts,o=example -P secret
|
command[check_syncrepl_extended]=/usr/local/lib/nagios/plugins/check_syncrepl_extended --nagios --attributes --provider ldaps://ldapmaster.foo --consumer ldaps://ldapslave.foo --basedn o=example -D uid=nagios,ou=sysaccounts,o=example -P secret
|
||||||
EOF
|
EOF
|
||||||
service nagios-nrpe-server reload
|
service nagios-nrpe-server reload
|
||||||
```
|
```
|
||||||
|
|
Loading…
Reference in a new issue