Skip to content

Instantly share code, notes, and snippets.

What would you like to do?
set -u
yum -y update
yum -y install git openssl-devel
mkdir ./downloads
cd ./downloads
tar xzf nagios-plugins-2.2.1.tar.gz
cd nagios-plugins-2.2.1
make install
yum -y install xinetd
cd ..
git clone
cd nrpe
git checkout tags/nrpe-3.0.0
make all
make install-groups-users
make install
make install-config
make install-init
cd ../..
systemctl restart xinetd
systemctl enable nrpe && systemctl start nrpe
echo "Must show 'LISTENING':"
netstat -at | egrep "5666"
echo "Must show NRPE 3.0:"
/usr/local/nagios/libexec/check_nrpe -H localhost
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.