check_nrpe issue

Todd Barbera todd_barbera at wgbh.org
Mon Oct 17 15:33:53 CEST 2005


" That you need to do what says in the readme and look in the logs on the 
remote site. In 75 cases out of 100, the nrpe host isn't configured to 
allow the client to connect to it. In about 20% of the cases one end 
supports (and tries to use) SSL while the other doesn't. In the 
remaining 5, there is a protocol mismatch (check_nrpe 2.0 being used to 
poll nrpe 1.8)."

I think perhaps I wasn't clear on what this issue was given your response.
check_nrpe does work against these two client hosts. I am able to run
check_oracle, check_load, and check_disk via check_nrpe all without
incident. When I downloaded check_log2 and check_log.pl and tried to call
them via check_nrpe, that is when I received the error. Both check_log2 and
check_log.pl work fine if I run them locally on the client so I'm not sure
why it isn't successfully passing the results using nrpe. If I turn on
debugging, all I see in my syslog are successful connection messages. I have
read the readme, FAQ's, and mailing lists prior to posting to see if I could
find an answer, but I was unable to find any information as to why this may
be the case. Both check_nrpe and nrpe are version 2.0. Both are configured
for SSL. Here's the relevant section of nrpe.cfg:

command[check_users]=/usr/local/nagios/libexec/check_users -w 5 -c 10
command[check_load]=/usr/local/nagios/libexec/check_load -w 15,10,5 -c
30,25,20
command[check_disk]=/usr/local/nagios/libexec/check_disk -w 10% -c 5% -l -e
command[check_zombie_procs]=/usr/local/nagios/libexec/check_procs -w 5 -c 10
-s Z
command[check_total_procs]=/usr/local/nagios/libexec/check_procs -w 150 -c
200
command[check_oracle]=/usr/local/nagios/libexec/check_oracle --login insight
command[check_log]=/usr/local/nagios/libexec/check_logs.pl -c
/usr/local/nagios/etc/log.conf
command[check_log2]=/usr/local/nagios/libexec/check_log2 -F
/oracle/app/oracle/admin/insight/bdump/alert_insight.log -
O /usr/local/nagios/tmp/alert_insight.log -q ORA-
command[check_disksuite]=/usr/local/nagios/libexec/check_disksuite

All of these can be called successfully using check_nrpe except for
check_log and check_log2. Any ideas as to why? Thanks in advance.

Todd

-----Original Message-----
From: nagios-users-admin at lists.sourceforge.net
[mailto:nagios-users-admin at lists.sourceforge.net] On Behalf Of Andreas
Ericsson
Sent: Saturday, October 15, 2005 3:41 AM
To: nagios-users at lists.sourceforge.net
Subject: Re: [Nagios-users] check_nrpe issue

Todd Barbera wrote:
> Hi,
> 
> I had tried posting about a problem using NRPE 2.0 and check_log2
yesterday
> but unfortunately no one responded. I ended up trying the plug-in
> check_log.pl, but I'm still getting the same error, which is:
> 
> CHECK_NRPE: Error receiving data from daemon. 
> 
> Other plug-ins are working fine, such as check_oracle. I'm running Nagios
> 2.0b3 on a Solaris 9 sparc machine. The client is the same. Does anyone
have
> any ideas why the check_log2 and check_log.pl plug-ins do not seem to work
> with NRPE? BTW, check_log.pl is MUCH faster than check_log2. What exactly
> does this error message imply?


That you need to do what says in the readme and look in the logs on the 
remote site. In 75 cases out of 100, the nrpe host isn't configured to 
allow the client to connect to it. In about 20% of the cases one end 
supports (and tries to use) SSL while the other doesn't. In the 
remaining 5, there is a protocol mismatch (check_nrpe 2.0 being used to 
poll nrpe 1.8).

> A search of the mailing lists and FAQ didn't
> shed any light on it. Thanks in advance for any insight you can offer. 
> 

I shall have to remedy that. Thanks for pointing it out.

-- 
Andreas Ericsson                   andreas.ericsson at op5.se
OP5 AB                             www.op5.se
Tel: +46 8-230225                  Fax: +46 8-230231


-------------------------------------------------------
This SF.Net email is sponsored by:
Power Architecture Resource Center: Free content, downloads, discussions,
and more. http://solutions.newsforge.com/ibmarch.tmpl
_______________________________________________
Nagios-users mailing list
Nagios-users at lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/nagios-users
::: Please include Nagios version, plugin version (-v) and OS when reporting
any issue. 
::: Messages without supporting info will risk being sent to /dev/null



-------------------------------------------------------
This SF.Net email is sponsored by:
Power Architecture Resource Center: Free content, downloads, discussions,
and more. http://solutions.newsforge.com/ibmarch.tmpl
_______________________________________________
Nagios-users mailing list
Nagios-users at lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/nagios-users
::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. 
::: Messages without supporting info will risk being sent to /dev/null





More information about the Users mailing list