Page 1 of 1

CHECK_NRPE: Error - Could not connect to 192.xx.xx Conn

Posted: Fri Aug 07, 2020 5:21 am
by somitsebastian007
When I try to connect from Nagios core to the target server (monitored server) I get the below error:
Command = /usr/local/nagios/libexec/check_nrpe -H 192.xx.xx
Output = CHECK_NRPE: Error - Could not connect to 192.xxx.xxx: Connection reset by peer

I was able to solve this by appending--no-ssl in the command
Command = /usr/local/nagios/libexec/check_nrpe --no-ssl -H 192.xx.xx
Output = NRPE v4.0.3

But when I check on Nagios core webpage same error shows there
CHECK_NRPE: Error - Could not connect to 192.xxx.xxx: Connection reset by peer

How could I run check_nrpe with by default --no-ssl by without giving it explicitly?
Anyone Please Help

Re: CHECK_NRPE: Error - Could not connect to 192.xx.xx Conn

Posted: Fri Aug 07, 2020 3:26 pm
by gormank
There's a command definition on the Nadios server that has the arguments so you should be able to add to it.