Multiple lines of data in Status field?

Gerald Wichmann gwichman at zantaz.com
Wed Feb 5 02:34:11 CET 2003


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 e-mail has been captured and archived by the ZANTAZ Digital Safe(tm)
service.  For more information, visit us at www.zantaz.com. 
IMPORTANT: This electronic mail message is intended only for the use of the
individual or entity to which it is addressed and may contain information
that is privileged, confidential or exempt from disclosure under applicable
law.  If the reader of this message is not the intended recipient, or the
employee or agent responsible for delivering this message to the intended
recipient, you are hereby notified that any dissemination, distribution or
copying of this communication is strictly prohibited.  If you have received
this communication in error, please notify the sender immediately by
telephone or directly reply to the original message(s) sent.  Thank you.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://www.monitoring-lists.org/archive/users/attachments/20030204/248dda07/attachment.html>


More information about the Users mailing list