[Xymon] dump running config?

Jeremy Laidman jlaidman at rebel-it.com.au
Mon Sep 1 08:31:50 CEST 2014


On 30 August 2014 07:45, Tim McCloskey <tm at freedom.com> wrote:

> Is there a way to send what xymon has parsed as it's config to std out?  I
> looked through some of the files and options for them in the bin dir but
> did not see anything obvious.  (short of running strace/truss)
>

$XYMON $XYMSRV hostinfo

This will give the parsed hosts.cfg file in pipe-separated value format.

$XYMON $XYMSRV 'config hosts.cfg'

This will give the semi-parsed hosts.cfg file in original format, but with
"include" files expanded.

The latter works with other files too, such as "tasks.cfg".

Cheers
Jeremy
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.xymon.com/pipermail/xymon/attachments/20140901/b6dbe55c/attachment.html>


More information about the Xymon mailing list