A couple of problems bound be causing the Connection Reset by peer messahe.
If the NRPE agent wasn't compiled with SSL, it could cause it. To test that our, try running this command if it works, then SSL was not compiled in to the agent.
Code: Select all
./check_nrpe -H localhost -c check_load -n
Also, try running these variations of the command and see if they work.
Code: Select all
./check_nrpe -H 127.0.0.1 -c check_load
./check_nrpe -H 127.0.0.1 -c check_load -4
If the nrpe.cfg file is not setup to allow the localhost address, that could cause it as well. Take a look at this file and verify that the 127.0.0.1 address is in the Allowed Hosts option.
If you need help, post the file here.
If you do any changes to the nrpe.cfg file, you will have to stop and start the daemon.