Fix install doc
This commit is contained in:
parent
bd606b9eb9
commit
15ca2f3f35
1 changed files with 1 additions and 1 deletions
|
@ -12,7 +12,7 @@ Installation
|
|||
git clone https://gogs.zionetrix.net/bn8/check_slapd_schema.git /usr/local/src/check_slapd_schema
|
||||
mkdir -p /usr/local/lib/nagios/plugins
|
||||
ln -s /usr/local/src/check_slapd_schema/check_slapd_schema /usr/local/lib/nagios/plugins/
|
||||
echo "nagios ALL=NOPASSWD: /usr/local/src/check_slapd_schema/check_slapd_schema" > /etc/sudoers.d/nagios-slapd-schema
|
||||
echo "nagios ALL=NOPASSWD: /usr/local/lib/nagios/plugins/check_slapd_schema" > /etc/sudoers.d/nagios-slapd-schema
|
||||
chmod 0400 /etc/sudoers.d/nagios-slapd-schema
|
||||
echo "command[check_slapd_schema]=sudo /usr/local/lib/nagios/plugins/check_slapd_schema" > /etc/nagios/nrpe.d/ldap-schema.cfg
|
||||
service nagios-nrpe-server reload
|
||||
|
|
Loading…
Reference in a new issue