Xymon server reporting to itself and another Xymon server
I have this set up...
Server A
cd /export/xymon/server/etc
egrep "XYMS|RIP" xymonserver.cfg
XYMONSERVERIP="10.235.57.11" # The IP-address of your server. Use the real one, not 127.0.0.1 . XYMSRV="$XYMONSERVERIP" # IP of a single Xymon server XYMSERVERS="" # IP of multiple Xymon servers. If used, XYMSRV must be 0.0.0.0 MACHINEADDR="$XYMONSERVERIP" # This systems IP-address BBSERVERIP="$XYMONSERVERIP" BBDISP="$XYMSRV" BBDISPLAYS="$XYMSERVERS"
Server B
cd /export/xymon/server/etc
egrep "XYMS|RIP" xymonserver.cfg
XYMONSERVERIP="10.235.157.56" # The IP-address of your server. Use the real one, not 127.0.0.1 . XYMSRV="$XYMONSERVERIP" # IP of a single Xymon server XYMSERVERS="" # IP of multiple Xymon servers. If used, XYMSRV must be 0.0.0.0 MACHINEADDR="$XYMONSERVERIP" # This systems IP-address BBSERVERIP="$XYMONSERVERIP" BBDISP="$XYMSRV" BBDISPLAYS="$XYMSERVERS"
When I use the CGI to Enable / Disable alerts... I am only enabling / disabling on the server I'm viewing. I'm using http://<server IP>/hobbit-seccgi/enadis.sh
How do I make my single enable / disable action propagate to both servers?
Is it as simple as changing XYMSRV="0.0.0.0" XYMSERVERS="10.235.57.11 10.235.157.56" on both servers and restarting xymon on both servers?
On 10 November 2012 03:39, Eric Thiele <ethiele at gmail.com> wrote:
How do I make my single enable / disable action propagate to both servers?
Is it as simple as changing XYMSRV="0.0.0.0" XYMSERVERS="10.235.57.11 10.235.157.56" on both servers and restarting xymon on both servers?
No, you probably don't want to do that. My experience trying to do this was that each forwarded alerts to the other and back again, so each server received double status messages for at least some tests.
I solved the problem this way:
http://en.wikibooks.org/wiki/System_Monitoring_with_Xymon/Other_Docs/FAQ#Can...
J
On Fri, 9 Nov 2012 10:39:43 -0600, Eric Thiele <ethiele at gmail.com> wrote:
Server A Server B When I use the CGI to Enable / Disable alerts... I am only enabling / disabling on the server I'm viewing. I'm using http://<server IP>/hobbit-seccgi/enadis.sh
How do I make my single enable / disable action propagate to both servers?
Use the xymond_distribute module on your main server - using it on both is not recommmended, since you will probably end up with a forwarding loop.
Regards, Henrik
I was using something similar to what Eric was using. Nice to know this exists, trying it now, enabled in tasks.cfg. Perhaps xymond distribute was added in 4.3.10 or an earlier version and I was not paying attention. Nice! Thanks Henrik.
-----Original Message----- From: xymon-bounces at xymon.com [mailto:xymon-bounces at xymon.com] On Behalf Of henrik at hswn.dk Sent: Wednesday, November 14, 2012 07:23 To: xymon at xymon.com Subject: Re: [Xymon] Xymon server reporting to itself and another Xymon server
On Fri, 9 Nov 2012 10:39:43 -0600, Eric Thiele <ethiele at gmail.com> wrote:
Server A Server B When I use the CGI to Enable / Disable alerts... I am only enabling / disabling on the server I'm viewing. I'm using http://<server IP>/hobbit-seccgi/enadis.sh
How do I make my single enable / disable action propagate to both servers?
Use the xymond_distribute module on your main server - using it on both is not recommmended, since you will probably end up with a forwarding loop.
Regards, Henrik
Xymon mailing list Xymon at xymon.com http://lists.xymon.com/mailman/listinfo/xymon
participants (4)
-
david.gore@verizon.com
-
ethiele@gmail.com
-
henrik@hswn.dk
-
jlaidman@rebel-it.com.au