Skip to content

Commit

Permalink
Use new NRPE config
Browse files Browse the repository at this point in the history
  • Loading branch information
NEMS Linux committed May 21, 2021
1 parent a28c807 commit 8c29100
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion build/047-nrpe
Expand Up @@ -88,7 +88,11 @@ make install-config

/bin/systemctl stop nrpe

wget -O /usr/local/nagios/etc/nrpe.cfg https://raw.githubusercontent.com/NEMSLinux/debpack/main/all/nems-migrator/root/nems/nems-migrator/data/nagios/misc/nrpe.cfg
if [[ $isnems == 1 ]]; then
cp -f /root/nems/nems-migrator/data/nagios/misc/nrpe.cfg /usr/local/nagios/etc/nrpe.cfg
else
wget -O /usr/local/nagios/etc/nrpe.cfg https://raw.githubusercontent.com/NEMSLinux/debpack/main/all/nems-migrator/root/nems/nems-migrator/data/nagios/misc/nrpe.cfg
fi

systemctl daemon-reload

Expand Down

0 comments on commit 8c29100

Please sign in to comment.