<html>
  <head>
    <meta content="text/html; charset=utf-8" http-equiv="Content-Type">
  </head>
  <body bgcolor="#FFFFFF" text="#000000">
    <br>
    <br>
    <div class="moz-cite-prefix">On 18/11/2015 21:42, Vernon Everett
      wrote:<br>
    </div>
    <blockquote
cite="mid:CAGo4kcaUz1mqGWQiR_x-1oZoOdgqofPNmxj6wt-df=ajzOF9ag@mail.gmail.com"
      type="cite">
      <pre wrap="">Yep, that worked.
So where is it keeping a record of the IP address or cache of the name/IP?
As I mentioned, I changed hosts.cfg, and restarted Xymon server.
I would have expected that to force a reread of hosts.cfg, and cleared any
cache of the old IP address.

Thanks for you help.</pre>
    </blockquote>
    <br>
    Silly question, but did you check /etc/hosts ?<br>
    <br>
    Regards,<br>
    Adam<br>
    <blockquote
cite="mid:CAGo4kcaUz1mqGWQiR_x-1oZoOdgqofPNmxj6wt-df=ajzOF9ag@mail.gmail.com"
      type="cite">
      <pre wrap="">

On 18 November 2015 at 10:04, Josh Luthman <a class="moz-txt-link-rfc2396E" href="mailto:josh@imaginenetworksllc.com"><josh@imaginenetworksllc.com></a>
wrote:

</pre>
      <blockquote type="cite">
        <pre wrap="">The default conn test is to the hostname.  If it can't get DNS for it,
then it will try the IP.

To skip this behavior you can do (in hosts.cfg)
1.1.1.1 foo.bar.com # testip

If the hostname doesn't have DNS you'll need to do this and of course
correct the IP.


Josh Luthman
Office: 937-552-2340
Direct: 937-552-2343
1100 Wayne St
Suite 1337
Troy, OH 45373

On Tue, Nov 17, 2015 at 9:01 PM, Vernon Everett <a class="moz-txt-link-rfc2396E" href="mailto:everett.vernon@gmail.com"><everett.vernon@gmail.com></a>
wrote:

</pre>
        <blockquote type="cite">
          <pre wrap="">Hi all

Is there a "trick" to changing the IP address of a monitored Unix client?
We had to change the IP address of a client a few days ago, but not the
host name.
In hosts.cfg, I changed the IP, but since then, the host conn is still
red, and lists the old IP address.
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.)
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.
All other (client side) tests work fine, except conn, and of course ssh
and rpc, which are disabled automatically, believing the host is down.

Any tips appreciated.

Regards
Vernon



--

"Accept the challenges so that you can feel the exhilaration of victory"
- General George Patton

"Don't find fault. Find a remedy"
- Henry Ford

_______________________________________________
Xymon mailing list
<a class="moz-txt-link-abbreviated" href="mailto:Xymon@xymon.com">Xymon@xymon.com</a>
<a class="moz-txt-link-freetext" href="http://lists.xymon.com/mailman/listinfo/xymon">http://lists.xymon.com/mailman/listinfo/xymon</a>


</pre>
        </blockquote>
        <pre wrap="">
</pre>
      </blockquote>
      <pre wrap="">

</pre>
      <br>
      <fieldset class="mimeAttachmentHeader"></fieldset>
      <br>
      <pre wrap="">_______________________________________________
Xymon mailing list
<a class="moz-txt-link-abbreviated" href="mailto:Xymon@xymon.com">Xymon@xymon.com</a>
<a class="moz-txt-link-freetext" href="http://lists.xymon.com/mailman/listinfo/xymon">http://lists.xymon.com/mailman/listinfo/xymon</a>
</pre>
    </blockquote>
    <br>
  </body>
</html>