<div dir="ltr"><div><div>Found it.</div><div><div>It was a new host, which I built over the weekend.</div><div>I hadn't been given all the info, so I assigned a PIDOOMA IP address from a range I knew were not in use, just to get the ball rolling.</div></div><div><br></div><div>It had been added to DNS by an overeager colleague who logged in on the weekend and spotted my email notifying of the new build.</div><div><br></div></div><div>When I was given the correct IP address info, it was quick and easy to fix, but the DNS guy wasn't told about the change, because we all thought it wasn't in DNS yet.</div><div><br></div><div>So it's all good. No mystery.</div><div>Just a bit of confusion.</div><div><br></div><div>Thanks for your assistance.</div><div><br></div><div>Regards</div><div>Vernon</div><div><br></div><div><br></div><div><br></div><div><br></div><div><br></div><div><br></div><div><br></div><div><br></div><div><br></div><div><br></div></div><div class="gmail_extra"><br><div class="gmail_quote">On 19 November 2015 at 14:48, Jeremy Laidman <span dir="ltr"><<a href="mailto:jlaidman@rebel-it.com.au" target="_blank">jlaidman@rebel-it.com.au</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><p dir="ltr">Vernon</p>
<p dir="ltr">I don't believe Xymon keeps the IP address cached. It (xymonnet) asks the system resolver every time. If you don't have testip set (or a similar command-line option), xymonnet will always try to resolve the name, and if it resolves then the IP in hosts.cfg is ignored.</p>
<p dir="ltr">Although you said the server isn't in the DNS, it might be in the /etc/hosts file, or NIS or LDAP or any other host resolution database the Xymon server's OS is configured to use (in /etc/nsswitch.conf).</p>
<p dir="ltr">Try running "getent hosts <hostname>" and see if it shows the IP address.</p><span class="HOEnZb"><font color="#888888">
<p dir="ltr">J<br>
</p></font></span><div class="HOEnZb"><div class="h5">
<div class="gmail_quote">On 19 Nov 2015 13:42, "Vernon Everett" <<a href="mailto:everett.vernon@gmail.com" target="_blank">everett.vernon@gmail.com</a>> wrote:<br type="attribution"><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr">Yep, that worked.<div>So where is it keeping a record of the IP address or cache of the name/IP?</div><div>As I mentioned, I changed hosts.cfg, and restarted Xymon server. </div><div>I would have expected that to force a reread of hosts.cfg, and cleared any cache of the old IP address.</div><div><br></div><div>Thanks for you help.</div><div><br></div><div>Regards</div><div>Vernon</div><div><br></div></div><div class="gmail_extra"><br><div class="gmail_quote">On 18 November 2015 at 10:04, Josh Luthman <span dir="ltr"><<a href="mailto:josh@imaginenetworksllc.com" target="_blank">josh@imaginenetworksllc.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr">The default conn test is to the hostname.  If it can't get DNS for it, then it will try the IP.<div><br></div><div>To skip this behavior you can do (in hosts.cfg)</div><div>1.1.1.1 <a href="http://foo.bar.com" target="_blank">foo.bar.com</a> # testip</div><div><br></div><div>If the hostname doesn't have DNS you'll need to do this and of course correct the IP.</div></div><div class="gmail_extra"><br clear="all"><div><div><div dir="ltr"><div><br></div>Josh Luthman<br>Office: <a href="tel:937-552-2340" value="+19375522340" target="_blank">937-552-2340</a><br>Direct: <a href="tel:937-552-2343" value="+19375522343" target="_blank">937-552-2343</a><br>1100 Wayne St<br>Suite 1337<br>Troy, OH 45373</div></div></div>
<br><div class="gmail_quote"><div><div>On Tue, Nov 17, 2015 at 9:01 PM, Vernon Everett <span dir="ltr"><<a href="mailto:everett.vernon@gmail.com" target="_blank">everett.vernon@gmail.com</a>></span> wrote:<br></div></div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div><div><div dir="ltr">Hi all<div><br></div><div>Is there a "trick" to changing the IP address of a monitored Unix client?</div><div>We had to change the IP address of a client a few days ago, but not the host name.</div><div>In hosts.cfg, I changed the IP, but since then, the host conn is still red, and lists the old IP address.</div><div>I tried restarting the Xymon server, and when that didn't help, I restarted the cache daemon - not that I was expecting that to help. (The client isn't in DNS.)</div><div>The only place it can get the IP (old or new) is from hosts.cfg, and I have removed all references to the old IP from hosts.cfg.</div><div>All other (client side) tests work fine, except conn, and of course ssh and rpc, which are disabled automatically, believing the host is down.</div><div><br></div><div>Any tips appreciated.</div><div><br></div><div>Regards</div><span><font color="#888888"><div>Vernon</div><div><br></div><div><br clear="all"><div><br></div>-- <br><div><div dir="ltr"><div><br></div><div><span>"Accept the challenges so that you can feel the exhilaration of victory"</span><div><span>- General George Patton</span></div><div><div style="font-size:12.8px"><br></div><div style="font-size:12.8px">"Don't find fault. Find a remedy"</div><div style="font-size:12.8px">- Henry Ford</div></div></div></div></div>
</div></font></span></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>
<br></blockquote></div><br></div>
</blockquote></div><br><br clear="all"><div><br></div>-- <br><div><div dir="ltr"><div><br></div><div><span>"Accept the challenges so that you can feel the exhilaration of victory"</span><div><span>- General George Patton</span></div><div><div style="font-size:12.8px"><br></div><div style="font-size:12.8px">"Don't find fault. Find a remedy"</div><div style="font-size:12.8px">- Henry Ford</div></div></div></div></div>
</div>
<br>_______________________________________________<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>
<br></blockquote></div>
</div></div></blockquote></div><br><br clear="all"><div><br></div>-- <br><div class="gmail_signature"><div dir="ltr"><div><br></div><div><span>"Accept the challenges so that you can feel the exhilaration of victory"</span><div><span>- General George Patton</span></div><div><div style="font-size:12.8px"><br></div><div style="font-size:12.8px">"Don't find fault. Find a remedy"</div><div style="font-size:12.8px">- Henry Ford</div></div></div></div></div>
</div>