[mrtg] Re: Dynamic IP

Mike McCandless michael at prismbiz.com
Tue May 21 02:27:44 MEST 2002


I looked in the config file.  By "told MRTG to query the box with IP
address a.b.c.d" does that refer to the value in the line:

SetEnv: MRTG_INT_IP = "a.b.c.d", etc.  ??

That's the only place I can see that I have defined any IP address,
related to MRTG configuration.

By the way, I have an Internet-facing NIC and a LAN-facing NIC.  I'm
interested in the Internet-facing one, which is the one that has the
periodically changing IP address.

----- Original Message -----
From: "Alex van den Bogaerdt" <alex at ergens.op.HET.NET>
To: "Mike McCandless" <michael at prismbiz.com>
Cc: "MRTG users" <mrtg at list.ee.ethz.ch>
Sent: Monday, May 20, 2002 6:50 PM
Subject: [mrtg] Re: Dynamic IP


>
> Mike McCandless wrote:
>
> > I am running MRTG on a 'nix box.  The IP address is assigned
> > dynamically.  While the IP address doesn't change very often, it
does
> > change every other week or so.  Do I need to do anything to MRTG,
e.g.
> > re-build a config file, when the IP changes?
>
> This depends.
>
> If you told MRTG to query the box with IP address a.b.c.d and this
> address changes then yes, you need to modify your config file.  If
> you don't do that, you'd be monitoring another box that happened to
> get your previous address (and this will probably fail).
>
> If you're running MRTG on the box being monitored I think it makes
> sense to use the localhost address 127.0.0.1 which won't change.
>
> HTH
> --
>    __________________________________________________________________
>  / alex at slot.hollandcasino.nl                  alex at ergens.op.het.net
\
> | work                                                         private
|
> | My employer is capable of speaking therefore I speak only for myself
|
>
+----------------------------------------------------------------------+
> | Technical questions sent directly to me will be nuked. Use the list.
|
>
+----------------------------------------------------------------------+
> | http://faq.mrtg.org/
|
> | http://rrdtool.eu.org  --> tutorial
|
>
+----------------------------------------------------------------------+
>
> --
> Unsubscribe mailto:mrtg-request at list.ee.ethz.ch?subject=unsubscribe
> Archive     http://www.ee.ethz.ch/~slist/mrtg
> FAQ         http://faq.mrtg.org    Homepage     http://www.mrtg.org
> WebAdmin    http://www.ee.ethz.ch/~slist/lsg2.cgi
>


--------------------------------------------------------
Mike McCandless
michael at prismbiz.com

--
Unsubscribe mailto:mrtg-request at list.ee.ethz.ch?subject=unsubscribe
Archive     http://www.ee.ethz.ch/~slist/mrtg
FAQ         http://faq.mrtg.org    Homepage     http://www.mrtg.org
WebAdmin    http://www.ee.ethz.ch/~slist/lsg2.cgi



More information about the mrtg mailing list