I get this response from Nagios, but when I take the -n out it works just fine. I can run which openssl on my remote client and I get a return of /usr/bin/openssl, so it's enabled but still does not work with the -n switch.
command_line $USER1$/check_nrpe -H $HOSTADDRESS$ -n -c $ARG1$ --doesn't work
command_line $USER1$/check_nrpe -H $HOSTADDRESS$ -c $ARG1$ --works
CHECK_NRPE: Error receiving data from daemon
-
slansing
- Posts: 7698
- Joined: Mon Apr 23, 2012 4:28 pm
- Location: Travelling through time and space...
Re: CHECK_NRPE: Error receiving data from daemon
Did you compile NRPE with SSL support on the remote host? That is likely your issue.
Re: CHECK_NRPE: Error receiving data from daemon
I ran the following command: apt-get install nagios-plugins nagios-nrpe-plugin nagios-nrpe-server
How might I correct this?
How might I correct this?
Re: CHECK_NRPE: Error receiving data from daemon
'-n' ignores (as in it does not use) ssl. I would presume it is working fine and you just need to remove '-n' as your nrpe installs support ssl.
Former Nagios employee
"It is turtles. All. The. Way. Down. . . .and maybe an elephant or two."
VI VI VI - The editor of the Beast!
Come to the Dark Side.
"It is turtles. All. The. Way. Down. . . .and maybe an elephant or two."
VI VI VI - The editor of the Beast!
Come to the Dark Side.
Re: CHECK_NRPE: Error receiving data from daemon
Correct, it does run without the -n, but I do want to use sslabrist wrote:'-n' ignores (as in it does not use) ssl. I would presume it is working fine and you just need to remove '-n' as your nrpe installs support ssl.
Re: CHECK_NRPE: Error receiving data from daemon
Then you will most likely need to compile from source, as the packages provided by your distro are ssl enabled bins.
Former Nagios employee
"It is turtles. All. The. Way. Down. . . .and maybe an elephant or two."
VI VI VI - The editor of the Beast!
Come to the Dark Side.
"It is turtles. All. The. Way. Down. . . .and maybe an elephant or two."
VI VI VI - The editor of the Beast!
Come to the Dark Side.