Xymon Mailing List Archive search

xymongrep

list David Welker
Wed, 26 Aug 2015 09:52:26 -0400
Message-Id: <user-5a5b3c307d16@xymon.invalid>

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 <user-87556346d4af@xymon.invalid>
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