<br><div class="gmail_quote">On Wed, Mar 13, 2013 at 10:04 AM, Nick Pettefar <span dir="ltr"><<a href="mailto:Nick@pettefar.com" target="_blank">Nick@pettefar.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">

Hi, thanks for that.  I understand that but what I am wondering is<br>
what to put in the actual server's hosts.cfg file.<br>
<br>
Regards,<br>
<br>
Nick Pettefar<br>
<div class="HOEnZb"><div class="h5"><br>
<br>
On 13 March 2013 13:44, Steve Holmes <<a href="mailto:sholmes42@mac.com">sholmes42@mac.com</a>> wrote:<br>
><br>
><br>
> On Wed, Mar 13, 2013 at 7:13 AM, Nick Pettefar <<a href="mailto:Nick@pettefar.com">Nick@pettefar.com</a>> wrote:<br>
>><br>
>> I have an xymon client for a  NAS but the NAS is connected via another<br>
>> xymon client and is not reachable from the xymon server.  How would I<br>
>> set this up in the xymon server configuration - does it need a<br>
>> hosts.cfg entry and if so, what would it look like?  On the client, do<br>
>> I give it the address of the xymon client running xymonproxy or the<br>
>> actual server?<br>
>><br>
>> Regards,<br>
>><br>
>> Nick Pettefar<br>
>> _______________________________________________<br>
>> Xymon mailing list<br>
>> <a href="mailto:Xymon@xymon.com">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>
><br>
><br>
> If I understand your situation correctly: turn the server with connection to<br>
> the main xymon server into a proxy and point the NAS to that proxy. I<br>
> believe you would have to install the xymon server there (to provide the<br>
> xymonproxy utility) turn off everything you don't need in tasks.cfg and turn<br>
> on xymonproxy. The comments are good in the file about how to do this. You<br>
> may have to use the arg to xymonproxy to tell it to listen to a different ip<br>
> than the standard one if the server is dual homed and the NAS is on, say, a<br>
> private network.<br>
><br>
> I'm not sure if the proxy needs hosts.cfg. On my proxy it already does<br>
> because it was private network tester before it was a proxy.<br>
><br>
> HTH<br>
> Steve<br>
> Purdue<br></div></div></blockquote><div> </div></div>Just treat it as if the NAS server were talking directly to the xymon server. <br><br>Now,
 if the network tests can't get to the NAS from your main xymon server 
then you would need to set up the server that we've been talking about 
as the proxy to do the network tests. If you have to do this, it would 
have to be configured to run xymonnet and have a copy of the hosts.cfg 
file. Set the LOCATION variable in xymonserver.cfg on both servers (main
 and proxy) and make them different (e.g. main and proxy), then on the 
host.cfg line for the NAS server add the NET:proxy tag on both servers 
and in tasks.cfg on the main server add the --test-untagged arg for 
xymonnet so you don't have to add a NET:main on all of the other hosts. <br><br>Note that the xymonserver.cfg file on the proxy has to have the <b>main server IP</b> value for the XYMSRV variable (IIR, I'm not working today :-). <br>

<br>Steve<br>Purdue<br><br clear="all"><br>-- <br><div><font face="arial, sans-serif"><span style="border-collapse:collapse"><span style="font-size:13px;background-color:rgb(255,255,255)">If they give you ruled paper, write the other way. -Juan Ramon Jimenez, poet, Nobel Prize in literature (1881-1958) </span><br>

</span></font><br>I prayed for freedom for twenty years, but received no answer until I 
prayed with my legs. -Frederick Douglass, Former slave, abolitionist, 
editor, and orator (1817-1895)
<br></div>