On 30 August 2014 07:45, Tim McCloskey <user-440820cc07d6@xymon.invalid> 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