Page 2 of 2

Re: error nrpe

Posted: Mon Sep 28, 2015 9:33 am
by hsmith
What is the output of ./check_nrpe -H 127.0.0.1 ?

Re: error nrpe

Posted: Tue Sep 29, 2015 2:02 am
by ariarlet

Code: Select all

./check_nrpe -H 127.0.0.1
NRPE v2.12

Re: error nrpe

Posted: Tue Sep 29, 2015 11:51 am
by lmiltchev
Does your check work if you don't pass the "-n" flag?

Code: Select all

./check_nrpe -H 127.0.0.1 -c check_log3 -a "unable to extend table by" "file.log" 1

Re: error nrpe

Posted: Wed Sep 30, 2015 2:24 am
by ariarlet
in the local server this command its working
but remote server the result is:

Code: Select all

/usr/local/nagios/libexec/check_nrpe -H IP -p 5666 -n -c check_log3  -a "unable to extend table by" "file.log" 1  
OUTPUT: NRPE: Unable to read output
I do not get the result -n fails SSL

Re: error nrpe

Posted: Wed Sep 30, 2015 2:35 am
by ariarlet
lmiltchev wrote:Does your check work if you don't pass the "-n" flag?

Code: Select all

./check_nrpe -H 127.0.0.1 -c check_log3 -a "unable to extend table by" "file.log" 1

Code: Select all

./check_nrpe -H 127.0.0.1 -c check_log3 -a "unable to extend table by" "file.log" 1
NRPE: Unable to read output

Re: error nrpe

Posted: Wed Sep 30, 2015 1:32 pm
by lmiltchev
in the local server this command its working
Can you show us the "working" command run locally on the remote server?