Proxy server not proxying everywhere.

Root, Paul Paul.Root at qwest.com
Fri Feb 18 22:49:10 CET 2011


I found in the proxy log file a "can not connect to server".  A little poking around, and the test server (which I rebuilt last week) didn't have 1984 open in the iptables config file.

That solved the problem.

Though, it does bug me that when the proxy couldn't talk to the second server, it didn't even try to talk to the third.

Since the proxy machines server is more important, I've changed the order.


Paul Root
Lead Internet Systems Eng
Qwest Network Services


-----Original Message-----
From: Root, Paul [mailto:Paul.Root at qwest.com]
Sent: Thursday, February 17, 2011 3:13 PM
To: 'xymon at xymon.com'
Subject: [xymon] Proxy server not proxying everywhere.

I have a proxy server that is also a regular server on port 1985, it's my backup/secondary server. But the proxy only seems to send the data to the primary server.
The web on the proxy has most everything in purple mode. And my test server (4.3.0rc1) doesn't have any of the significant data.

My hobbitlaunch.cfg file changes look like this:


$ diff hobbitlaunch.cfg hobbitlaunch.cfg.save
14c14
<       CMD hobbitd --listen=0.0.0.0:1985 --pidfile=$BBSERVERLOGS/hobbitd.pid --restart=$BBTMP/hobbitd.chk --checkpoint-file=$BBTMP/hobbitd.chk --checkpoint-interval=600 --log=$BBSERVERLOGS/hobbitd.log --admin-senders=127.0.0.1,$BBSERVERIP --store-clientlogs=!msgs
---
>       CMD hobbitd --pidfile=$BBSERVERLOGS/hobbitd.pid --restart=$BBTMP/hobbitd.chk --checkpoint-file=$BBTMP/hobbitd.chk --checkpoint-interval=600 --log=$BBSERVERLOGS/hobbitd.log --admin-senders=127.0.0.1,$BBSERVERIP --store-clientlogs=!msgs
126c126
<       CMD $BBHOME/bin/bbproxy --hobbitd --bbdisplay=10.5.96.244:1984,10.6.133.212:1984,127.0.0.1:1985 --listen=0.0.0.0:1984 --report=$MACHINE.bbproxy --no-daemon --pidfile=$BBSERVERLOGS/bbproxy.pid
---
>       CMD $BBHOME/bin/bbproxy --hobbitd --bbdisplay=10.5.96.244 --report=$MACHINE.bbproxy --no-daemon --pidfile=$BBSERVERLOGS/bbproxy.pid
174c174
<       CMD BBPORT=1984 bbtest-net --report --ping --checkresponse
---
>       CMD bbtest-net --report --ping --checkresponse
188c188
<       CMD BBPORT=1984 $BBHOME/ext/bbretest-net.sh
---
>       CMD $BBHOME/ext/bbretest-net.sh


The only thing I can think about is that the --bbdisplay setting in the bbproxy line. Maybe it doesn't like the :PORT in on every server it wants to server. Maybe it should be  --bbdisplay=10.5.96.244,10.6.141.212,127.0.0.1:1985

Any other ideas?






Paul Root
Lead Internet Systems Eng
Qwest Network Services


This communication is the property of Qwest 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.

To unsubscribe from the xymon list, send an e-mail to
xymon-unsubscribe at xymon.com



This communication is the property of Qwest 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.



More information about the Xymon mailing list