[mrtg] monitoring dialup/variable interface IP address

Steve Shipway s.shipway at auckland.ac.nz
Wed Nov 3 21:51:18 CET 2010


> From: mrtg-bounces+s.shipway=auckland.ac.nz at lists.oetiker.ch
> [mailto:mrtg-bounces+s.shipway=auckland.ac.nz at lists.oetiker.ch] On
> Behalf Of zorkill
..
> Every time the router connects, ISP provides a different IP address to
> router's WAN interface.
> My customer asked for reports on routers activities where every used IP
> address must be indicated, something like: router1 used ip 1.2.3.4 from
> 2.00
> am to 2.30am, then used ip address 5.6.7.8 from 4.30pm ... and so on.
> Router's MIB provides an easy way to get IP address on dialup
> interface.
> Is there a way to get such information using MRTG for windows?

If you want to monitor the traffic, then identify the interface by name or some other identifier than IP, which will allow you to follow the interface even if it changes IP.

If you need to record IP address usage history, then MRTG is not the tool for the job.  MRTG stores the value of a metric over time, not a chain of events -- look at using something like Nagios which can constantly check the IP address of the interface and log events when it changes.

Steve



Steve Shipway
ITS Unix Services Design Lead
University of Auckland, New Zealand
Floor 1, 58 Symonds Street, Auckland
Phone: +64 (0)9 3737599 ext 86487
DDI: +64 (0)9 924 6487
Mobile: +64 (0)21 753 189
Email: s.shipway at auckland.ac.nz
 Please consider the environment before printing this e-mail 




More information about the mrtg mailing list