On Fri, Jul 16, 2010 at 1:58 PM, Josh Luthman
<user-4c45a83f15cb@xymon.invalid>wrote:
Wouldn't it make more sense to have the client send it to both? This way
if one server goes totally out (more importantly the box running bbproxy)
the other server is still 100% useful?
Josh Luthman
Office: XXX-XXX-XXXX
Direct: XXX-XXX-XXXX
XXXX Wayne St
Suite XXXX
Troy, OH XXXXX
On Tue, Jul 13, 2010 at 6:48 PM, Cleaver, Japheth <user-2a1212dafc7b@xymon.invalid>wrote:
-----Original Message-----
From: Paul Jochum [mailto:user-9e68fb0ec76b@xymon.invalid]
Sent: Tuesday, July 13, 2010 2:39 PM
To: xymon at xymon.com
Subject: [xymon] How to setup a remote copy of my XYMON Display
Hi All:
I have been reading through the forum archives for most of the day, but
still confused, and would
appreciate any help. Here is what I am trying to do:
Background:
- I have a xymon server setup, that is monitoring a number of clients on
the local net, and it is
working well.
- The server, and most of the clients, are running 4.3.0-beta2
What you've described *should* work, it's basically a duplication of the
older BBPROXY functionality. One option is certainly to have reports go to
multiple locations at the outset, and to have bbproxy running on 1984
locally and proxy it to a both the "real" hobbitd server on a different port
as well as your remote server. The drawback there is you don't necessarily
get self-generated client reports from the middle server (nor hobbitd/bbgen
statuses).
For me, it's working on my boxes with the config below. BBDISPLAYS will be
what it sends both processed reports and internally generated reports to.
Are you using an RPM? Check that the runtime.cfg hack inside the init.d
script on the intermediate/proxy server isn't somehow overwriting what you
think BBDISPLAYS is at runtime?
10.5.5.5 = client
10.10.10.10 = proxying Xymon server (not a bbproxy instance, but an actual
hobbitd)
10.20.20.20 = final destination Xymon server
[root at 10.5.5.5]# grep HOBBITSERVER /etc/sysconfig/xymon*
/etc/sysconfig/xymon-client:HOBBITSERVERS="10.10.10.10"
[root at 10.10.10.10]# grep -R -e BBDISP -e HOBBITSERVER -e BBSERVERIP -e
^include /etc/sysconfig/xymon-client /etc/xymon/hobbitserver.cfg
/etc/sysconfig/xymon-client:HOBBITSERVERS="10.20.20.20"
/etc/xymon/hobbitserver.cfg:include /etc/sysconfig/xymon-client
/etc/xymon/hobbitserver.cfg:BBSERVERIP="127.0.0.1" # The IP-address
of your server. Use the
/etc/xymon/hobbitserver.cfg:BBDISP="0.0.0.0" # IP of a single
hobbit/bbd server
/etc/xymon/hobbitserver.cfg:BBDISPLAYS="$BBSERVERIP $HOBBITSERVERS" # IP
of multiple hobbit/bbd
And it works... The status for the client disk reports are visible on the
final server, with a "Status message received from 10.5.5.5" notice. The
disk reports from the client running on the proxy Xymon server indicate
"Status message received from 10.10.10.10"
Hope this helps,
-jc
Hi Josh:
Yes, it would. I am just not sure if the firewalls/port locking/and any
other security out corporate internet providers will allow me to properly
communicate with the second server, which I plan to put outside of our
network (the clients are all in the secure network). It will be a few more
weeks before I will have access to the server outside of our network, so I
was looking at alternatives.
thanks,
Paul