error nrpe

This support forum board is for support questions relating to Nagios XI, our flagship commercial network monitoring solution.
User avatar
hsmith
Agent Smith
Posts: 3539
Joined: Thu Jul 30, 2015 11:09 am
Location: 127.0.0.1
Contact:

Re: error nrpe

Post by hsmith »

What is the output of ./check_nrpe -H 127.0.0.1 ?
Former Nagios Employee.
me.
ariarlet
Posts: 61
Joined: Wed Apr 22, 2015 11:04 am

Re: error nrpe

Post by ariarlet »

Code: Select all

./check_nrpe -H 127.0.0.1
NRPE v2.12
User avatar
lmiltchev
Former Nagios Staff
Posts: 13587
Joined: Mon May 23, 2011 12:15 pm

Re: error nrpe

Post 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
Be sure to check out our Knowledgebase for helpful articles and solutions!
ariarlet
Posts: 61
Joined: Wed Apr 22, 2015 11:04 am

Re: error nrpe

Post 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
ariarlet
Posts: 61
Joined: Wed Apr 22, 2015 11:04 am

Re: error nrpe

Post 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
User avatar
lmiltchev
Former Nagios Staff
Posts: 13587
Joined: Mon May 23, 2011 12:15 pm

Re: error nrpe

Post by lmiltchev »

in the local server this command its working
Can you show us the "working" command run locally on the remote server?
Be sure to check out our Knowledgebase for helpful articles and solutions!
Locked