[Xymon] xymongrep

David Welker dewelker at gmail.com
Wed Aug 26 15:52:26 CEST 2015


JC,

I was sourcing the xymonserver.cfg, but I hadn't exported the variable.
Once I did, it worked, but interesting that your version works without the
exporting...well, with different options anyway... using yours I get a
"Unknown option --loadhostsfromxymond' error.

Thanks!

D


On Tue, Aug 25, 2015 at 3:49 PM, J.C. Cleaver <cleaver at terabithia.org>
wrote:

>
>
> On Tue, August 25, 2015 12:22 pm, David Welker wrote:
> > Anybody know how to xymongrep via a different port?  I don't see options
> > allowing for a port change.
> >
> > Thanks,
> > David
>
>
> Hi David,
>
> It's undocumented, since xymongrep is usually called from within the
> server context in tasks.cfg, but you can achieve this by directly
> modifying the environment xymongrep is called under:
>
> ]$ XYMSRV=127.0.0.2 XYMONDPORT=9000 xymongrep --loadhostsfromxymond ssh
>
>
> HTH,
>
> -jc
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.xymon.com/pipermail/xymon/attachments/20150826/24577a17/attachment.html>


More information about the Xymon mailing list