[Xymon] xymonfetch

Japheth Cleaver cleaver at terabithia.org
Thu Nov 12 01:13:16 CET 2015


On 11/11/2015 2:04 PM, Root, Paul T wrote:
>
> I’m having issues with xymonfetch.
>
> I have 2 xymon proxies, that also have the xymon server running as a 
> backup to the main server on port 1985.  The proxy sends to the main 
> server on port 1984 and to itself on port 1985.
>
> I’m trying to add 2 new machines as clients of these proxy servers. 
> They are outside a firewall that I don’t want to open, so I’m doing a 
> fetch. Xymon-client is running on 1984, and msgcache is running.
>
> Client  clientlaunch.cfg:
>
> *[msgcache]*
>
> *#       DISABLED*
>
> *        ENVFILE $XYMONCLIENTHOME/etc/xymonclient.cfg*
>
> *        CMD $XYMONCLIENTHOME/bin/msgcache --no-daemon 
> --pidfile=$XYMONCLIENTLOGS/msgcache.pid*
>
> *        LOGFILE $XYMONCLIENTLOGS/msgcache.log*
>
> **
>
> **
>
> Proxy tasks.cfg:
>
> *[xymonfetch]*
>
> *    ENVFILE /etc/xymon/xymonserver.cfg*
>
> *    #CMD $XYMONHOME/bin/xymonfetch --server=YOUR.XYMON.SERVER.IP 
> --no-daemon --pidfile=$XYMONSERVERLOGS/xymonfetch.pid*
>
> *    CMD $XYMONHOME/bin/xymonfetch --server=127.0.0.1:1985 
> --log-interval=60 --id=1 --pidfile=$XYMONSERVERLOGS/xymonfetch.pid*
>
> *    LOGFILE $XYMONSERVERLOGS/xymonfetch.log*
>
> **
>
> Proxy hosts.cfg:
>
> *10.6.0.14 remoteclient                       # 
> pulldata=10.6.0.14:1984 http://198.36.155.243*
>
> *10.6.0.15  remoteclient2     # pulldata=10.6.0.15:1984 *
>
> **
>
> I have a third xymon server, the development server, which is not a 
> proxy, and the server runs on 1984. This pulls the data just fine from 
> the remoteclients.
>
> **
>
> **
>
> The xymonfetch.log file gets these errors:
>
> *2015-11-11 15:56:24 Connection lost during connect/write to 
> 10.6.0.14:1985 (req 27): Connection refused*
>
> *2015-11-11 15:56:41 Connection lost during connect/write to 
> 10.6.0.15:1985 (req 28): Connection refused*
>
> *2015-11-11 15:57:27 Connection lost during connect/write to 
> 10.6.0.14:1985 (req 29): Connection refused*
>
> *2015-11-11 15:57:44 Connection lost during connect/write to 
> 10.6.0.15:1985 (req 30): Connection refused*
>
> **
>
> **
>
> *The proxy servers are 4.3.10. The development server is 4.3.21. The 
> main server is also 4.3.10, and it runs a fetch without issue, to 
> other clients.*
>
> **
>
> *The clients are 4.3.10 (CentOS 5) and 4.3.21 (CentOS 6). *
>
> **
>
> *I am working on upgrading the proxy servers in OS (CentOS 5 -> 6) and 
> Xymon (to 4.3.21). But not quite there yet. Another subject, but 
> sending data from a proxy to another proxy does not work. So, when I 
> have everything else, I may end up putting it in place, and hoping the 
> proxy works….*
>
> **
>
> **
>
> *Any ideas here? It seems like such a simple thing. *
>
> **
>
>

Does seem a bit odd. Either xymonfetch is not paying attention to 
pulldata, or it seems to want to reconnect back to the original host 
incorrectly for the client (config) reply. Can you try --debug on the 
xymonfetch process, or alternatively strace it, so we can see at which 
phase of the transaction that write is failing at?

On the second issue, I know xymonproxy is capable of doing proxy-proxy 
submission, as we used it pretty heavily for that (albeit with caveats 
at scale when dealing with TCP packet loss), does a 'ping' make it 
through at all when going on that path?

-jc

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.xymon.com/pipermail/xymon/attachments/20151111/47c2eeb9/attachment.html>


More information about the Xymon mailing list