[mrtg] Re: Dynamic IP

Alex van den Bogaerdt alex at ergens.op.HET.NET
Tue May 21 00:50:01 MEST 2002


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



More information about the mrtg mailing list