Automatic Startup For NRPE


#1

I would like to run NRPE in xinetd and have added what the nrpe instructions say to add in the xinetd file. To test if it was working I did a reboot on the machine. After it came up I grep nrpe and nagios and did not see any processes running. I was under the impression that if you add this to xinetd it should start automatically. What am I doing wrong. I do not want run this in the -d mode


#2

man xinetd should help.
nrpe shouldn’t be running, unless of course, there is an active connection at the time you run ps -ef|grep nrpe

xinetd is
the only daemon process started and it listens on all service ports for the services listed in its configuration
file. When a request comes in, xinetd starts the appropriate server.