<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 3.2//EN">
<HTML>
<HEAD>
<META HTTP-EQUIV="Content-Type" CONTENT="text/html; charset=utf-8">
<META NAME="Generator" CONTENT="MS Exchange Server version 6.5.7638.1">
<TITLE>Fw: [Nagios-users] ===NRPE: Unable to read output</TITLE>
</HEAD>
<BODY>
<!-- Converted from text/plain format -->
<P><FONT SIZE=2>We'll also forward this to the list. Sorry for top posting, Blackberry and all.<BR>
<BR>
And what do you get for check_nrpe --version?<BR>
I'm not positive right now, but I believe if you use an older check_nrpe with a newer nrpe (or vice versa) it won't work, something about the ssl-enabled nrpe and the older check not expecting it.<BR>
Also try turning on debug in your nrpe.cfg and running a few checks, then looking at the output in the log. Also, I'm not absolutely positive, but I believe there's a check_nrpe --verbose, which may show more of what is returned.<BR>
<BR>
Oh, and search the docs for that error, should be more info there.<BR>
<BR>
Usually with (No Output) errors it tends to be permissions, paths, or commands.<BR>
<BR>
JDP<BR>
<BR>
--------------------------<BR>
Jeremy D. Pavleck via BlackBerry<BR>
Network Engineer - Systems Management<BR>
IT Network and Infrastructure Dept.<BR>
Capella Education Company<BR>
DIRECT: (612) 977 - 5881<BR>
<BR>
<BR>
-----Original Message-----<BR>
From: Joe McCaughan <joemacbusiness@yahoo.com><BR>
To: Pavleck, Jeremy D.<BR>
Sent: Thu Jun 29 16:42:24 2006<BR>
Subject: Re: [Nagios-users] ===NRPE: Unable to read output<BR>
<BR>
Hi Jeremy,<BR>
<BR>
From the client:<BR>
<BR>
[nagios@83556-dev etc]$ /usr/local/nagios/libexec/check_procs -w 150 -c 200<BR>
PROCS OK: 125 processes<BR>
[nagios@83556-dev etc]$ pwd<BR>
/usr/local/nagios/etc<BR>
[nagios@83556-dev etc]$ ls<BR>
backup nrpe.cfg nrpe.cfg.orig<BR>
<BR>
from the nagios host:<BR>
[nagios@83555-staging libexec]$ /usr/local/nagios/libexec/check_procs -w 150 -c 200<BR>
PROCS[nagios@83555-staging libexec]$ /usr/local/nagios/libexec/check_procs -w 150 -c 200<BR>
PROCS WARNING: 190 processes<BR>
WARNING: 190 processes<BR>
<BR>
Version Info:<BR>
nrpe-2.5.1<BR>
<BR>
Nagios - not sure<BR>
<BR>
--Joe McCaughan<BR>
<BR>
<BR>
<BR>
"Pavleck, Jeremy D." <Jeremy.Pavleck@capella.edu> wrote:<BR>
<BR>
________________________________<BR>
<BR>
From: nagios-users-bounces@lists.sourceforge.net<BR>
[<A HREF="mailto:nagios-users-bounces@lists.sourceforge.net">mailto:nagios-users-bounces@lists.sourceforge.net</A>] On Behalf Of Joe<BR>
McCaughan<BR>
Sent: Thursday, June 29, 2006 3:19 PM<BR>
To: nagios-users@lists.sourceforge.net<BR>
Subject: [Nagios-users] ===NRPE: Unable to read output<BR>
<BR>
<BR>
Hi Folks,<BR>
<BR>
I am setting up Nagios with my first client. This is the output<BR>
I get when I execute the<BR>
command from the command line from the Nagios host is<BR>
<BR>
"NRPE: Unable to read output "<BR>
<BR>
It also shows up in the nagios.log.<BR>
<BR>
The command line exec is:<BR>
<BR>
./check_nrpe -H 83556-dev.slc.com -c check_total_procs<BR>
<BR>
I have nrpe running on the client:<BR>
<BR>
nagios 25998 1 0 Apr10 ? 00:00:05<BR>
/usr/local/nagios/libexec/nrpe -c /usr/local/nagios/nrpe.cfg -d<BR>
<BR>
I am running xinetd and the service definitions on the client<BR>
are in /usr/local/nagios/etc/nrpe.cfg:<BR>
<BR>
command[check_users]=/usr/local/nagios/libexec/check_users -w 5<BR>
-c 10<BR>
command[check_load]=/usr/local/nagios/libexec/check_load -w<BR>
15,10,5 -c 30,25,20<BR>
command[check_disk1]=/usr/local/nagios/libexec/check_disk -w 20<BR>
-c 10 -p /dev/hda3<BR>
command[check_disk2]=/usr/local/nagios/libexec/check_disk -w 20<BR>
-c 10 -p /dev/hda2<BR>
<BR>
command[check_zombie_procs]=/usr/local/nagios/libexec/check_procs -w 5<BR>
-c 10 -s Z<BR>
command[check_total_procs]=/usr/local/nagios/libexec/check_procs<BR>
-w 150 -c 200<BR>
<BR>
Why am I getting this error?<BR>
<BR>
Thanks, --Joe McCaughan<BR>
<BR>
<BR>
<BR>
Joe,<BR>
This might be a dumb question, but does the directory<BR>
/usr/local/nagios/libexec/ exist on the client (83556-dev.slc.com)?<BR>
Can you run /usr/local/nagios/libexec/check_procs -w 150 -c 200 as the<BR>
NAGIOS user and see a return?<BR>
What version nrpe & check_nrpe?<BR>
<BR>
Using Tomcat but need to do more? Need to support web services, security?<BR>
Get stuff done quickly with pre-integrated technology to make your job easier<BR>
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo<BR>
<A HREF="http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642">http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642</A><BR>
_______________________________________________<BR>
Nagios-users mailing list<BR>
Nagios-users@lists.sourceforge.net<BR>
<A HREF="https://lists.sourceforge.net/lists/listinfo/nagios-users">https://lists.sourceforge.net/lists/listinfo/nagios-users</A><BR>
::: Please include Nagios version, plugin version (-v) and OS when reporting any issue.<BR>
::: Messages without supporting info will risk being sent to /dev/null<BR>
<BR>
<BR>
<BR>
________________________________<BR>
<BR>
Sneak preview the all-new Yahoo.com <<A HREF="http://us.rd.yahoo.com/evt=40762/*http://www.yahoo.com/preview">http://us.rd.yahoo.com/evt=40762/*http://www.yahoo.com/preview</A>> . It's not radically different. Just radically better.<BR>
</FONT>
</P>
</BODY>
</HTML>