NRPE: Unable to read output Problems

jeff vier boinger at tradingtechnologies.com
Thu Mar 30 18:08:23 CEST 2006


On Thu, 2006-03-30 at 11:30 +0100, Sandeep Narasimha Murthy wrote:
> Hi all,
> 
> I installed a new script in a remote server but on trying to invoke it
> from my Nagios host with the command : 
> 
> ./check_nrpesun -H 192.168.5.10  -p 5666 -t 5 -c check_wlheap
> 
> I get a "NRPE: Unable to read output " message.
> 
> Now, before anybody suggests that I check the file and directory
> permissions, I have already done that and confirmed and reconfirmed that
> the script has the proper permissions. :)
> 
> I have a number of scripts running on this remote server and all of them
> run fine except for this one. All have the same permissions and are
> configured Ok in the nrpe.cfg.
> 
> Is there anything else I should check for ?

Something is dumping to stderr.

The quick way to find out what that is is to add " 2>&1" to the end of
the problem command in your nrpe.cfg and run the check by hand (from the
nagios server).
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 191 bytes
Desc: This is a digitally signed message part
URL: <https://www.monitoring-lists.org/archive/users/attachments/20060330/9ca84f0f/attachment.sig>


More information about the Users mailing list