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

Support forum for Nagios Core, Nagios Plugins, NCPA, NRPE, NSCA, NDOUtils and more. Engage with the community of users including those using the open source solutions.
Locked
somitsebastian007
Posts: 1
Joined: Fri Aug 07, 2020 5:00 am

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

Post 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
gormank
Posts: 1114
Joined: Tue Dec 02, 2014 12:00 pm

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

Post by gormank »

There's a command definition on the Nadios server that has the arguments so you should be able to add to it.
Locked