Unable to read output from NRPE

Andreas Ericsson ae at op5.se
Wed Feb 2 18:27:50 CET 2005


Brian Ibsen wrote:
> Hi..  I have a problem with reply from NRPE
> 
> The remote host I'm trying to check have the following in /usr/local/etc/nrpe.cfg:
> command[check_total_procs]=/usr/local/libexec/nagios/check_procs -w 70 -c 150
> 
> when command is executes locally on the remote host it seams to work:
> /usr/local/libexec/nagios/check_procs -w 70 -c 150  giving
> OK - 13 processes running
> 
> 
> But when 
> /usr/local/libexec/nagios/check_nrpe -H myhosthere -c check_total_procs ig get:
> Unable to read output
> 

Perhaps /proc is mounted with the group option, and the nrpe user 
doesn't have access to it.

> 
> The rest of the checks on the remote hosts returns a fine output
> Any idee whats going on ???
> 

-- 
Andreas Ericsson                   andreas.ericsson at op5.se
OP5 AB                             www.op5.se
Lead Developer


-------------------------------------------------------
This SF.Net email is sponsored by: IntelliVIEW -- Interactive Reporting
Tool for open source databases. Create drag-&-drop reports. Save time
by over 75%! Publish reports on the web. Export to DOC, XLS, RTF, etc.
Download a FREE copy at http://www.intelliview.com/go/osdn_nl
_______________________________________________
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