xinetd was not installed, so I made sure it was, still fails
I used sudo, logged in as root, neither seemed to matter, still the script confessed to not finding /etc/xinet.d/nrpe. Which I'm not surprised about, this script is supposed to be installing the file.
Effectively the script is broken. It will not create an xinetd nrpe conf from scratch, which is really stupid, and only amend an existing configuration. I've made my own file which is listed below, feel free to copy and use.
Code: Select all
service nrpe
{
flags = REUSE
socket_type = stream
port = 5666
wait = no
user = nagios
group = nagios
server = /usr/sbin/nrpe
server_args = -c /usr/local/nagios/etc/nrpe.cfg --inetd
log_on_failure += USERID
disable = no
only_from = 127.0.0.1
}