[Xymon] Mutiple Xymon Servers

Root, Paul T Paul.Root at CenturyLink.com
Wed Dec 17 22:43:33 CET 2014


We have 2 proxy servers that have the proxy on 1984 and the server on 1985. Then on the master xymon server in tasks.cfg we have:
Note the note. If you send it to the proxy port, and the proxy port sends back to the master server, bad things happen. Very bad.

# "distribute" forwards enable/disable/drop/rename messages to other Xymon servers.
# You would use it when running Xymon in an active/passive (master/slave) configuration.
# I.e. one Xymon server is the primary server where users manage their hosts; the
# other acts as a backup in case the primary server is down. This module then makes
# sure that all of the administrative commands are forwarded to the backup (slave)
# system.
# NOTE: xymond_distribute does NOT check if a message is looping between servers that
# forward to each other. So take care not to create forwarding loops.
[distribute]
#       DISABLED
        ENVFILE /usr/lib64/xymon/server/etc/xymonserver.cfg
        NEEDS xymond
        CMD xymond_channel --channel=enadis --log=$XYMONSERVERLOGS/distribute.log xymond_distribute --peer=10.20.30.40:1985 --peer=10.20.30.40:1985


From: Xymon [mailto:xymon-bounces at xymon.com] On Behalf Of Ralph Mitchell
Sent: Wednesday, December 17, 2014 3:14 PM
To: Roland Soderstrom
Cc: Xymon mailinglist
Subject: Re: [Xymon] Mutiple Xymon Servers

Way back, I wrote a couple of scripts to propagate the "disabled" status from one Xymon server to another.  T.J.Yang made some improvements, which you'll find here:

http://en.wikibooks.org/wiki/System_Monitoring_with_Xymon/Other_Docs/HOWTO#Replicate_blue_record_from_Xymon_A_to_Xymon_B
I don't have an HA Xymon setup, so I don't know if this was obsoleted by changes in Xymon since 2009, but back then the disable messages weren't being propagated from one Xymon server to the other.

Ralph Mitchell


On Wed, Dec 17, 2014 at 3:36 PM, Roland Soderstrom <Rolands at logicaltech.com.au<mailto:Rolands at logicaltech.com.au>> wrote:
I had that setup, but not any moreā€¦

This is the KISS principle.
Install another xymon server at your DC site and edit all client/etc/xymonclient.cfg
XYMSRV="0.0.0.0"          # IP address of the Xymon server
XYMSERVERS="10.0.1.72 10.0.2.72"                   # IP of multiple Xymon servers. XYMSRV must be "0.0.0.0".
Voila! a KISS xymon cluster.

You can even have just a couple of clients sending just to one of the servers if required, but it get a bit nasty after a while.
We had 2 pages one with our normal DC and the other showed just the DR.
Of course you still have the main page that shows all.


-      Roland

From: Xymon [mailto:xymon-bounces at xymon.com<mailto:xymon-bounces at xymon.com>] On Behalf Of Vernon Everett
Sent: Wednesday, 17 December 2014 3:36 PM
To: Xymon mailinglist
Subject: [Xymon] Mutiple Xymon Servers

Hi all

We have Xymon up and running, but want a second server in our other DC.
How do we set up a 2nd server, and (hopefully) keep them in sync?
Is there a document on how to set this up anywhere?

Thanks
Vernon



--
"Accept the challenges so that you can feel the exhilaration of victory"
- General George Patton

_______________________________________________
Xymon mailing list
Xymon at xymon.com<mailto:Xymon at xymon.com>
http://lists.xymon.com/mailman/listinfo/xymon
This communication is the property of CenturyLink and may contain confidential or privileged information. Unauthorized use of this communication is strictly prohibited and may be unlawful. If you have received this communication in error, please immediately notify the sender by reply e-mail and destroy all copies of the communication and any attachments.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.xymon.com/pipermail/xymon/attachments/20141217/dbbaa8a2/attachment.html>


More information about the Xymon mailing list