[mrtg] Re: Dynamic IP
Alex van den Bogaerdt
alex at slot.hollandcasino.nl
Tue May 21 09:38:35 MEST 2002
Mike McCandless wrote:
[restored proper quoting order]
> > > 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?
> >
> > 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.
>
> 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. ??
I refered to the "Target[x]: ..." line. This line tells MRTG what, and
where, to query. There could be a host name here, or an IP address.
In both cases it would be best to use the localhost entry.
The NIC you query is most likely selected in the so called instance.
(see google: OID instance +site:faq.mrtg.org)
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