LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Security (https://www.linuxquestions.org/questions/linux-security-4/)
-   -   Nagios/NRPE issue (https://www.linuxquestions.org/questions/linux-security-4/nagios-nrpe-issue-445820/)

JF1980 05-17-2006 06:43 AM

http://www.linuxquestions.org/questi...=214284&page=2 :
Quote:

Originally Posted by itaria
Hi! I installed nrpe in one machine, but I try install in other with the same steps and is impossible. I read /var/log/messages, but don't show me nothing
I read /var/log/daemon.log, in this archive send this message "Unable to open config file '//nrpe.cfg' f
or reading. Config file '//nrpe.cfg' contained errors
, bailing out..." I check the permissions and don't have problem. When I try run the command send "CHECK_NRPE: Error - Could not complete SSL handshake."
What can I do?

I have the same issue, it looks like it's not picking up the config file location properly. I have mine set to /etc/nrpe.cfg in the inetd.conf file but the error shows //nrpe.cfg?!?

//Moderator.note: please do not resurrect stale discussions like threads of the past millennium, make your own thread instead.

MensaWater 05-18-2006 02:59 PM

In my NRPE init script the following start routine exists:

Code:

'start')
        echo "Starting the NRPE subsystem"
        /usr/local/nagios/libexec/nrpe -c /usr/local/nagios/etc/nrpe.cfg --daemon

Note after the echo on first line everything else is a single line even if it appears as two when you look at this message.

Are you running nrpe with the -c option to specify the location of the nrpe.cfg file?


All times are GMT -5. The time now is 06:45 PM.