Fix NRPE command example
ci/woodpecker/push/woodpecker Pipeline was successful Details

This commit is contained in:
Benjamin Renard 2022-09-26 11:32:45 +02:00
parent 67aaf9852c
commit f3f8ae9f1a
1 changed files with 1 additions and 1 deletions

View File

@ -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
``` ```