diff --git a/README.md b/README.md index fce9c2d..e3ea13d 100644 --- a/README.md +++ b/README.md @@ -9,9 +9,7 @@ apt install git python3-requests git clone https://gitea.zionetrix.net/bn8/check_woodpecker_upgrade.git /usr/local/src/check_woodpecker_upgrade mkdir -p /usr/local/lib/nagios/plugins ln -s /usr/local/src/check_woodpecker_upgrade/check_woodpecker_upgrade /usr/local/lib/nagios/plugins/ -echo "nagios ALL=NOPASSWD: /usr/local/lib/nagios/plugins/check_woodpecker_upgrade" > /etc/sudoers.d/nagios-woodpecker -chmod 0400 /etc/sudoers.d/nagios-woodpecker -echo "command[check_woodpecker_upgrade]=sudo /usr/local/lib/nagios/plugins/check_woodpecker_upgrade" > /etc/nagios/nrpe.d/woodpecker.cfg +echo "command[check_woodpecker_upgrade]=/usr/local/lib/nagios/plugins/check_woodpecker_upgrade" > /etc/nagios/nrpe.d/woodpecker.cfg service nagios-nrpe-server reload ```