Setting up NRPE daemon
Note: This was tested using Alpine 1.9.1, running under VMware Workstation 5.5.1 build-19175. Host O/S for VMware Windows XP Home SP3. CPU: Intel Atom N270. Note: Mostly due to laziness, didn't find openssl-dev, since apk wasn't available, so SSL support isn't compiled in when following he below steps.
Steps for compilation:
- Downloaded nrpe-2.12
- apk add alpine-sdk
- apk add net-snmp # Wanted for some nrpe plugins
- apk add linux-grsec-dev
- ./configure --disable-ssl
- make all
- make install-plugin
- make install-daemon
- Since sample config didn't compile using above steps, configured the following config for testing:
pid_file=/var/run/nrpe.pid server_port=5666 server_address=192.168.48.128 allowed_hosts=192.168.48.128
- /usr/local/nagios/libexec/check_nrpe -n -H 192.168.48.128
"NRPE v2.12"
NOW: Compile with SSL support.