[Xymon] xymonfetch
Galen Johnson
Galen.Johnson at sas.com
Thu Aug 22 00:52:48 CEST 2013
I must be doing something wrong.
On my client, I have XYMSRV="127.0.0.1" and I've commented out the "DISABLE" in clientlaunch.cfg. I'm seeing content in the /tmp/msg.myhost.txt file that looks like what I would expect.
On the server, I've added "pulldata" to the entry in etc/hosts.cfg, edited the etc/tasks.cfg to comment out "DISABLE" and set the server IP to my server's IP as well as tried 127.0.0.1. I see the following in my log:
2013-08-21 18:38:06 Whoops ! Failed to send message (Connection failed)
2013-08-21 18:38:06 -> Could not connect to Xymon daemon at 10.40.1.39:1984 (Connection refused)
2013-08-21 18:38:06 -> Recipient '10.40.1.39', timeout 15
2013-08-21 18:38:06 -> 1st line: 'config hosts.cfg'
2013-08-21 18:38:06 Cannot load hosts.cfg from xymond, code 5
2013-08-21 18:38:06 Failed to load from xymond, reverting to file-load
2013-08-21 18:38:06 Connection lost during connect/write to 10.40.1.39:1984 (req 2): Connection refused
2013-08-21 18:48:43 Caught TERM signal, terminating
2013-08-21 18:48:45 Whoops ! Failed to send message (Connection failed)
2013-08-21 18:48:45 -> Could not connect to Xymon daemon at 10.40.1.39:1984 (Connection refused)
2013-08-21 18:48:45 -> Recipient '10.40.1.39', timeout 15
2013-08-21 18:48:45 -> 1st line: 'config hosts.cfg'
2013-08-21 18:48:45 Cannot load hosts.cfg from xymond, code 5
2013-08-21 18:48:45 Failed to load from xymond, reverting to file-load
The server is also not updating anything outside my typical network tests. Anyone have any idea what I may be missing here?
=G=
________________________________________
From: Mike Burger [mburger at bubbanfriends.org]
Sent: Wednesday, August 21, 2013 11:23 AM
To: Galen Johnson
Cc: xymon at xymon.com
Subject: Re: [Xymon] xymonfetch
> Hey,
>
> I need to set up some clients to use xymonfetch and the man page isn't
> exactly clear.
>
> --server=XYMON.SERVER.IP
> Defines the IP address of the Xymon server where the collected client
> messages are forwarded to. By default, messages are sent to the loopback
> address 127.0.0.1, i.e. to a Xymon server running on the same host as
> xymonfetch.
>
> This implies that I need to have a server instance running...or am I
> misunderstanding what it's saying? Has anyone done this and could provide
> a some guidance?
>
> thx
Simply, what it means is that if you're running xymonfetch from the Xymon
server, itself, then the --server variable could be filled in with the
localhost ip.
If, however, you're running xymonfetch from a Xymon client, elsewhere,
then you should fill the in --server variable with the actual IP of the
actual Xymon server.
--
Mike Burger
http://www.bubbanfriends.org
"It's always suicide-mission this, save-the-planet that. No one ever just
stops by to say 'hi' anymore." --Colonel Jack O'Neill, SG1
On Sunday, September 8, I'll be participating in the Spokes of Hope ride,
to raise money for cancer awareness and make a difference in the lives of
cancer victims and their families/friends. If you'd care to donate, please
click:
http://ow.ly/nIdrC
Thank you.
More information about the Xymon
mailing list