Multiple lines of data in Status field?

Subhendu Ghosh sghosh at sghosh.org
Wed Feb 5 03:18:47 CET 2003


The output of a plugin is usually limited to 512 bytes and can be separate 
into 2 parts - line 1 is the OUTPUT that goes into the log
everything from line2 (specially after the | ) goes into PERFDATA.

-sg

On Tue, 4 Feb 2003, Gerald Wichmann wrote:

> I once got nagios to show multiple lines in the status field. Not sure how
> that happened though..somehow I was assigning the output of a command like
> "wc -l *.log" to a variable like OUTPUT, then echo'ing that output as the
> status for my little check script. In Nagios it showed up in the status
> field as each file having it's own line.. I was surprised to see it but now
> I can't recall how I got it to do that. Is there a trick to formatting the
> output of a check script to show several lines?
>  
> Gerald Wichmann
> Senior Systems Development Engineer
> Zantaz, Inc.
> 925.598.3099 (w)
>  
> 

-- 




-------------------------------------------------------
This SF.NET email is sponsored by:
SourceForge Enterprise Edition + IBM + LinuxWorld = Something 2 See!
http://www.vasoftware.com




More information about the Users mailing list