<html>
<head>
<meta content="text/html; charset=utf-8" http-equiv="Content-Type">
</head>
<body bgcolor="#FFFFFF" text="#000000">
<div class="moz-cite-prefix">On 11/11/2015 2:04 PM, Root, Paul T
wrote:<br>
</div>
<blockquote
cite="mid:C88055D0A02F174F848A984067ACC21C5BB4CF6C@podcwmbxex503.ctl.intranet"
type="cite">
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
<meta name="Generator" content="Microsoft Word 12 (filtered
medium)">
<style><!--
/* Font Definitions */
@font-face
{font-family:"Cambria Math";
panose-1:2 4 5 3 5 4 6 3 2 4;}
@font-face
{font-family:Calibri;
panose-1:2 15 5 2 2 2 4 3 2 4;}
/* Style Definitions */
p.MsoNormal, li.MsoNormal, div.MsoNormal
{margin:0in;
margin-bottom:.0001pt;
font-size:11.0pt;
font-family:"Calibri","sans-serif";}
a:link, span.MsoHyperlink
{mso-style-priority:99;
color:blue;
text-decoration:underline;}
a:visited, span.MsoHyperlinkFollowed
{mso-style-priority:99;
color:purple;
text-decoration:underline;}
span.EmailStyle17
{mso-style-type:personal-compose;
font-family:"Calibri","sans-serif";
color:windowtext;}
.MsoChpDefault
{mso-style-type:export-only;}
@page WordSection1
{size:8.5in 11.0in;
margin:1.0in 1.0in 1.0in 1.0in;}
div.WordSection1
{page:WordSection1;}
--></style><!--[if gte mso 9]><xml>
<o:shapedefaults v:ext="edit" spidmax="1026" />
</xml><![endif]--><!--[if gte mso 9]><xml>
<o:shapelayout v:ext="edit">
<o:idmap v:ext="edit" data="1" />
</o:shapelayout></xml><![endif]-->
<div class="WordSection1">
<p class="MsoNormal">I’m having issues with xymonfetch.<o:p></o:p></p>
<p class="MsoNormal"><o:p> </o:p></p>
<p class="MsoNormal">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.<o:p></o:p></p>
<p class="MsoNormal"><o:p> </o:p></p>
<p class="MsoNormal">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.<o:p></o:p></p>
<p class="MsoNormal"><o:p> </o:p></p>
<p class="MsoNormal">Client clientlaunch.cfg:<o:p></o:p></p>
<p class="MsoNormal"><b>[msgcache]<o:p></o:p></b></p>
<p class="MsoNormal"><b># DISABLED<o:p></o:p></b></p>
<p class="MsoNormal"><b> ENVFILE
$XYMONCLIENTHOME/etc/xymonclient.cfg<o:p></o:p></b></p>
<p class="MsoNormal"><b> CMD
$XYMONCLIENTHOME/bin/msgcache --no-daemon
--pidfile=$XYMONCLIENTLOGS/msgcache.pid<o:p></o:p></b></p>
<p class="MsoNormal"><b> LOGFILE
$XYMONCLIENTLOGS/msgcache.log<o:p></o:p></b></p>
<p class="MsoNormal"><b><o:p> </o:p></b></p>
<p class="MsoNormal"><b><o:p> </o:p></b></p>
<p class="MsoNormal">Proxy tasks.cfg:<o:p></o:p></p>
<p class="MsoNormal"><b>[xymonfetch]<o:p></o:p></b></p>
<p class="MsoNormal"><b> ENVFILE /etc/xymon/xymonserver.cfg<o:p></o:p></b></p>
<p class="MsoNormal"><b> #CMD $XYMONHOME/bin/xymonfetch
--server=YOUR.XYMON.SERVER.IP --no-daemon
--pidfile=$XYMONSERVERLOGS/xymonfetch.pid<o:p></o:p></b></p>
<p class="MsoNormal"><b> CMD $XYMONHOME/bin/xymonfetch
--server=127.0.0.1:1985 --log-interval=60 --id=1
--pidfile=$XYMONSERVERLOGS/xymonfetch.pid<o:p></o:p></b></p>
<p class="MsoNormal"><b> LOGFILE
$XYMONSERVERLOGS/xymonfetch.log<o:p></o:p></b></p>
<p class="MsoNormal"><b><o:p> </o:p></b></p>
<p class="MsoNormal">Proxy hosts.cfg:<o:p></o:p></p>
<p class="MsoNormal"><b>10.6.0.14
remoteclient # pulldata=10.6.0.14:1984
<a class="moz-txt-link-freetext" href="http://198.36.155.243">http://198.36.155.243</a><o:p></o:p></b></p>
<p class="MsoNormal"><b>10.6.0.15 remoteclient2
# pulldata=10.6.0.15:1984
<o:p></o:p></b></p>
<p class="MsoNormal"><b><o:p> </o:p></b></p>
<p class="MsoNormal">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.<o:p></o:p></p>
<p class="MsoNormal"><b><o:p> </o:p></b></p>
<p class="MsoNormal"><b><o:p> </o:p></b></p>
<p class="MsoNormal">The xymonfetch.log file gets these errors:<o:p></o:p></p>
<p class="MsoNormal"><b>2015-11-11 15:56:24 Connection lost
during connect/write to 10.6.0.14:1985 (req 27): Connection
refused<o:p></o:p></b></p>
<p class="MsoNormal"><b>2015-11-11 15:56:41 Connection lost
during connect/write to 10.6.0.15:1985 (req 28): Connection
refused<o:p></o:p></b></p>
<p class="MsoNormal"><b>2015-11-11 15:57:27 Connection lost
during connect/write to 10.6.0.14:1985 (req 29): Connection
refused<o:p></o:p></b></p>
<p class="MsoNormal"><b>2015-11-11 15:57:44 Connection lost
during connect/write to 10.6.0.15:1985 (req 30): Connection
refused<o:p></o:p></b></p>
<p class="MsoNormal"><b><o:p> </o:p></b></p>
<p class="MsoNormal"><b><o:p> </o:p></b></p>
<p class="MsoNormal"><b>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.<o:p></o:p></b></p>
<p class="MsoNormal"><b><o:p> </o:p></b></p>
<p class="MsoNormal"><b>The clients are 4.3.10 (CentOS 5) and
4.3.21 (CentOS 6). <o:p>
</o:p></b></p>
<p class="MsoNormal"><b><o:p> </o:p></b></p>
<p class="MsoNormal"><b>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….<o:p></o:p></b></p>
<p class="MsoNormal"><b><o:p> </o:p></b></p>
<p class="MsoNormal"><b><o:p> </o:p></b></p>
<p class="MsoNormal"><b>Any ideas here? It seems like such a
simple thing. <o:p>
</o:p></b></p>
<p class="MsoNormal"><b><o:p> </o:p></b></p>
<br>
</div>
</blockquote>
<br>
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?<br>
<br>
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?<br>
<br>
-jc<br>
<br>
</body>
</html>