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:
1) Downloaded nrpe-2.12 2) apk add alpine-sdk 3) apk add net-snmp # Wanted for some nrpe plugins 4) apk add linux-grsec-dev 5) ./configure --disable-ssl 6) make all 7) make install-plugin 8) make install-daemon 9) 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
10) /usr/local/nagios/libexec/check_nrpe -n -H 192.168.48.128
Response from server: "NRPE v2.12"
NOW: Compile with SSL support.