<div dir="ltr">Hello Thomas,<div><br></div><div>thanks for the reply.</div><div>I have tried xymon 127.0.0.1 “ping” but it does nothing on the client (tunnel opened or not).</div><div>When I do 'xymon serverIP “ping”'  I get the version of the server.</div><div>For the tunnel, I have done, on the server: 'ssh -L 1234:<a href="http://127.0.0.1:1984">127.0.0.1:1984</a> serverIP'</div><div><br></div><div>Regarding the proxy, we had this kind of solution but security (again) asked for them to be removed.<br><div><br class="inbox-inbox-Apple-interchange-newline">I have seen your ssh tunnel script and article but I must admit that my technical level made it a little bit difficult to understand. I ll get a closer look today.</div><div><br></div>Pierre</div><div><br class="inbox-inbox-Apple-interchange-newline"><div class="gmail_quote"><div dir="ltr">Le mar. 31 oct. 2017 à 18:05, Thomas Eckert <<a href="mailto:thomas.eckert@it-eckert.de">thomas.eckert@it-eckert.de</a>> a écrit :<br></div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div style="word-wrap:break-word">Pierre,<div><br></div><div>does a `xymon 127.0.0.1 “ping”` on the client return the version-number of your xymon server? If it does your client should simply report to 127.0.0.1 and you should be ready to go.</div><div><br></div><div>`pulldata` is for situations where the _server_ can reach the client (on port 1984) — “normal” communication is the other way around: the client contacts the server on tcp/1984. The “daemon" for `pulldata` from the server on the client is `msgcache`: That has to be enabled in `<a href="http://clientlaunch.cg" target="_blank">clientlaunch.cg</a>`. If the security-policy applies to the client as well.</div><div>This does not seem to be the case in your setup.</div><div><br></div><div>If you are not already using it: have a look at the excellent `ssh-tunnel`-extension <<a href="https://wiki.xymonton.org/doku.php/addons:ssh_tunnel" target="_blank">https://wiki.xymonton.org/doku.php/addons:ssh_tunnel</a>> for automatic establishing (and monitoring) the ssh-tunnel.</div><div>I have an article on ssh-tunnel <<a href="http://www.it-eckert.com/blog/2014/remote-site-monitoring-with-ssh-tunnel/" target="_blank">http://www.it-eckert.com/blog/2014/remote-site-monitoring-with-ssh-tunnel/</a>> and also provide an improved/patched version <<a href="http://www.it-eckert.com/software/patches/ssh-tunnel/" target="_blank">http://www.it-eckert.com/software/patches/ssh-tunnel/</a>>.</div><div><br></div><div>If you have more than one client that has to be monitored in a remote location have a look at `xymonproxy` too, more details here <<a href="http://www.it-eckert.com/blog/2014/combine-ssh-tunnel-with-xymonproxy/" target="_blank">http://www.it-eckert.com/blog/2014/combine-ssh-tunnel-with-xymonproxy/</a>>.</div><div><br></div><div>Cheers</div><div>Thomas</div><div><div><blockquote type="cite"></blockquote></div></div></div><div style="word-wrap:break-word"><div><div><blockquote type="cite"><div>On 31 Oct 2017, at 17:37, Pierre L <<a href="mailto:pierre.lapha@gmail.com" target="_blank">pierre.lapha@gmail.com</a>> wrote:</div><br class="m_-8198900429985544499Apple-interchange-newline"></blockquote></div></div></div><div style="word-wrap:break-word"><div><div><blockquote type="cite"><div><div dir="ltr">Hello,<div><br></div><div>I am trying to set up xymonfetch/msgcache with ssh tunnelling (because security does not want to open flows on port 1984).<br><br></div><div>I have enabled xymonfetch (in tasks.cfg) and added pulldata (in hosts.cfg) on server side and also msgcache (in clientlaunch.cfg) and <span style="font-size:11pt;line-height:107%;font-family:Calibri,sans-serif">XYMSRV=127.0.0.1</span><span style="font-size:11pt;line-height:107%;font-family:Calibri,sans-serif"> </span><span style="font-style:italic;font-size:11pt;line-height:107%;font-family:Calibri,sans-serif">(</span><span style="line-height:107%;font-family:Calibri,sans-serif">in </span>xymonclient.cfg).</div><div><br></div><div>I have done a ssh tunnel (ssh -L 1234:<a href="http://127.0.0.1:1984/" target="_blank">127.0.0.1:1984</a> IP_of_the_client) from the xymon server. My tunnel is ok but xymon logs still show that nothing happens, no pulldata.</div><div><br></div><div>Is there something else I should do to enable this function?</div><div><br></div><div>Any help would be appreciated. Thank you!</div><div><br></div><div>Pierre</div></div></div></blockquote></div></div></div><div style="word-wrap:break-word"><div><div><blockquote type="cite"><div>
_______________________________________________<br>Xymon mailing list<br><a href="mailto:Xymon@xymon.com" target="_blank">Xymon@xymon.com</a><br><a href="http://lists.xymon.com/mailman/listinfo/xymon" target="_blank">http://lists.xymon.com/mailman/listinfo/xymon</a><br></div></blockquote></div><br></div></div>_______________________________________________<br>
Xymon mailing list<br>
<a href="mailto:Xymon@xymon.com" target="_blank">Xymon@xymon.com</a><br>
<a href="http://lists.xymon.com/mailman/listinfo/xymon" rel="noreferrer" target="_blank">http://lists.xymon.com/mailman/listinfo/xymon</a><br>
</blockquote></div></div></div>