Xymon Mailing List Archive search

How to tell xymongrep to load from xymond?

4 messages in this thread

list Scot Kreienkamp · Thu, 18 Jun 2015 20:12:27 +0000 ·
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?

Thanks!

Scot Kreienkamp | Senior Systems Engineer | La-Z-Boy Corporate
One La-Z-Boy Drive | Monroe, Michigan 48162  | * XXX-XXX-XXXX | | * 7349151444 | *  user-9678697f1438@xymon.invalid<mailto:%7BE-mail%7D>
www<http://www.la-z-boy.com/>.la-z-boy.com<http://www.la-z-boy.com/>; | facebook.<https://www.facebook.com/lazboy>com<https://www.facebook.com/lazboy>/<https://www.facebook.com/lazboy>lazboy<http://facebook.com/lazboy>; | twitter.com/lazboy<https://twitter.com/lazboy>; | youtube.com/<https://www.youtube.com/user/lazboy>lazboy<https://www.youtube.com/user/lazboy>;

[cid:lzbVertical_hres.jpg]


This message is intended only for the individual or entity to which it is addressed.  It may contain privileged, confidential information which is exempt from disclosure under applicable laws.  If you are not the intended recipient, you are strictly prohibited from disseminating or distributing this information (other than to the intended recipient) or copying this information.  If you have received this communication in error, please notify us immediately by e-mail or by telephone at the above number. Thank you.
Attachments (1)
list Japheth Cleaver · Thu, 18 Jun 2015 13:37:00 -0700 ·
quoted from Scot Kreienkamp
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
list Scot Kreienkamp · Thu, 18 Jun 2015 21:02:46 +0000 ·
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?


Scot Kreienkamp  | Senior Systems Engineer | La-Z-Boy Corporate
One La-Z-Boy Drive | Monroe, Michigan 48162 |  Office: XXX-XXX-XXXX |  |  Mobile: XXXXXXXXXX | Email: user-9678697f1438@xymon.invalid
quoted from Japheth Cleaver
-----Original Message-----
From: J.C. Cleaver [mailto:user-87556346d4af@xymon.invalid]
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

This message is intended only for the individual or entity to which it is addressed.  It may contain privileged, confidential information which is exempt from disclosure under applicable laws.  If you are not the intended recipient, you are strictly prohibited from disseminating or distributing this information (other than to the intended recipient) or copying this information.  If you have received this communication in error, please notify us immediately by e-mail or by telephone at the above number. Thank you.
list Japheth Cleaver · Thu, 18 Jun 2015 14:15:00 -0700 ·
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
quoted from Scot Kreienkamp


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