NRPE: Unable to read output; but works when run under strace ...

Florian Ernst florian_ernst at gmx.net
Mon Jan 14 20:10:48 CET 2013


Hello Eliezer,

thanks for your reply.

On Mon, Jan 14, 2013 at 05:41:28PM +0200, Eliezer Croitoru wrote:
> I would try to run a basic script which logs the nrpe environment into a 
> file.
> it will make sure what is available to you and what not.
> 
> test if:
> [...]
> modify the above to make sure what is the cause of this problem.
> you can also try to access stdout\err

As mentioned in the original post¹ "indeed the desired text output is
generated [by the plugin] but somehow gets discarded [by NRPE]".
However, "if I strace the nrpe process, everything works as desired".

The latter is what irks me. The plugins themselves are running fine.

Cheers,
Flo


¹ http://sourceforge.net/mailarchive/message.php?msg_id=29939293

------------------------------------------------------------------------------
Master Visual Studio, SharePoint, SQL, ASP.NET, C# 2012, HTML5, CSS,
MVC, Windows 8 Apps, JavaScript and much more. Keep your skills current
with LearnDevNow - 3,200 step-by-step video tutorials by Microsoft
MVPs and experts. SALE $99.99 this month only -- learn more at:
http://p.sf.net/sfu/learnmore_122412
_______________________________________________
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