Nrpe multiline output

Andreas Ericsson ae at op5.se
Wed Sep 29 17:58:36 CEST 2004


Sébastien Cantos wrote:
> Hi,
> 
> I've coded some plugins that generates multiline output. The problem is that
> check_nrpe cuts the output at the first '\n'. How can I make it return all
> the output to Nagios ?

NRPE does that because Nagios does that. It has to do with logging.
If you want linebreaks in the GUI, inster <br /> at appropriate places 
in the output.

> Thanks in advance.
> 

You're welcome.

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


-------------------------------------------------------
This SF.net email is sponsored by: IT Product Guide on ITManagersJournal
Use IT products in your business? Tell us what you think of them. Give us
Your Opinions, Get Free ThinkGeek Gift Certificates! Click to find out more
http://productguide.itmanagersjournal.com/guidepromo.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