[Xymon] display multiple line status

Ralph Mitchell ralphmitchell at gmail.com
Fri May 10 02:25:34 CEST 2013


Just put in newlines, like this:

$XYMON $XYMSRV "status www,for,com.http `date`

Web server is OK
Another line kind of useful information."

Everything between the double-quotes is sent as-is. Works for me all the
time.

Ralph Mitchell
 On May 9, 2013 8:03 PM, "P Yeung" <p3yeung at gmail.com> wrote:

> I am using xymon 4.3.11.
>
> Using the example shown in "man xymon",
>
>     > $XYMON $XYMSRV "status www,foo,com.http green `date` Web OK"
>
> I can see the status displayed as a single line in the xymon server.
>
>     Thu May 9 16:52:07 PDT 2013 Web OK
>
> I need to display multiple lines to the xymon server, with the data in the
> command line rather than a file.  I tried,
>
>     > $XYMON $XYMSRV "status www,foo,com.http green `date` Web OK\n second
> line"
>
> But the status is displayed in one line instead of two in the xymon server
>
>      Thu May 9 16:52:47 PDT 2013 Web OK\n second line
>
> What escape character should I use to specify new line?
>
> Thanks
> P Yeung
>
> _______________________________________________
> Xymon mailing list
> Xymon at xymon.com
> http://lists.xymon.com/mailman/listinfo/xymon
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.xymon.com/pipermail/xymon/attachments/20130509/2afaf2d9/attachment.html>


More information about the Xymon mailing list