[Nagiosplug-help] Multiple lines of output

Andrew Wilkin Andrew.Wilkin at lands.nsw.gov.au
Sun May 27 07:26:45 CEST 2007


Hi Thomas,

The HTML tag <br> seems to work for me.

Thanks

Regards
   
Andrew. Wilkin
Systems Administrator

BAppSc (IndMath&Comp) (C.Sturt)
MInfoTech (C.Sturt)


Information and Communications Technology
346 Panorama Ave
Bathurst NSW 2795
 
Phone : 61 2 6332 8397
Fax     : 61 2 6332 8457
Email  : Andrew.Wilkin at lands.nsw.gov.au

>>-----Original Message-----
>>From: Thomas Guyot-Sionnest [mailto:dermoth at aei.ca]
>>Sent: Saturday, 26 May 2007 12:21 PM
>>To: Andrew Wilkin
>>Cc: nagiosplug-help at lists.sourceforge.net
>>Subject: Re: [Nagiosplug-help] Multiple lines of output
>>
>>On 25/05/07 01:34 AM, Andrew Wilkin wrote:
>>> Hi list
>>>
>>> I've exhausted all known avenues on the Nagios sites for this
request!
>>>
>>> The Nagios online documentation mentions mutliple lines of output
from a
>>plugin. But I don't seem to be able to get it to work within a shell
>>script. The shell script shall print the  output on multiple lines and
>>I've even tried embedding '\n' character within the output.
>>
>>How are you doing it and with which version of Nagios?
>>
>>Only Nagios 3 (Alpha) support multi-line output and I believe you have
>>to use the PROCESS_FILE command to have Nagios read an external file
>>with the check result.
>>
>>The link to that command usage is:
>>http://nagios.org/developerinfo/externalcommands/commandinfo.php?comma
nd_i
>>d=131
>>
>>But seems like the whole Nagios site is broken right now...
>>
>>I'm not sure if there's any parsing done by Nagios that would remove
>>newlines though. You may try with HTML tags as well....
>>
>>Thomas

***************************************************************
This message is intended for the addressee named and may contain confidential information. If you are not the intended recipient, please delete it and notify the sender. 

Views expressed in this message are those of the individual sender, and are not necessarily the views of the Department of  Lands.

This email message has been swept by MIMEsweeper for the presence of computer viruses.
***************************************************************





More information about the Help mailing list