[Xymon] How to tell xymongrep to load from xymond?
J.C. Cleaver
cleaver at terabithia.org
Thu Jun 18 23:15:00 CEST 2015
Coming from its roots as a script tool, there aren't too many options
available directly, as opposed to via the environment.
Typically, it's run from something run via xymonlaunch, or manually via:
xymoncmd --env=/path/to/xymonserver.cfg/or/xymonclient.cfg xymongrep
<options>
To just override the xymond source, you can pass in XYMSRV like:
XYMSRV=your.server.ip xymongrep --loadhostsfromxymond <options>
HTH,
-jc
On Thu, June 18, 2015 2:02 pm, Scot Kreienkamp wrote:
> Hi JC,
>
> When I do that I get:
>
> 2015-06-18 17:00:48.830778 Whoops ! Failed to send message (Connection
> failed)
> 2015-06-18 17:00:48.830935 -> Could not connect to Xymon
> daemon at 127.0.0.1:1984 (Connection refused)
>
> This is on a remote client. I have a client doing lots of external tests
> to offload them from the main xymon server. How is it picking up the
> localhost, and how do I change it to the main xymon server?
>
>
>> -----Original Message-----
>> From: J.C. Cleaver [mailto:cleaver at terabithia.org]
>> Sent: Thursday, June 18, 2015 4:37 PM
>> To: Scot Kreienkamp
>> Cc: xymon at xymon.com
>> Subject: Re: [Xymon] How to tell xymongrep to load from xymond?
>>
>>
>> On Thu, June 18, 2015 1:12 pm, Scot Kreienkamp wrote:
>> > Hi everyone,
>> >
>> > In the changelog there is a changelog for xymongrep saying:
>> >
>> > - xymongrep: don't load from xymond unless asked
>> >
>> > But I can't find anywhere where it says how to ask xymond now? None
>> of
>> > the switches in the man page or the helpfile say anything about it.
>> > Anyone know?
>>
>> Use the --loadhostsfromxymond option to xymongrep to do that. That
>> definitely should have been placed into the man page, but it looks like
>> it
>> was missed.
>>
>>
>> Regards,
>>
>> -jc
>
More information about the Xymon
mailing list