[mrtg] Re: Meaningful filenames

Drew Weaver drew.weaver at thenap.com
Mon May 29 20:42:31 MEST 2006


So as far as everyone is aware there is no reliable way to create
hyperlinks to MRTG graphs based on the port number programmatically?
Since the filenames will consistently change as you mentioned.

Thanks,
-Drew



-----Original Message-----
From: Steve Shipway [mailto:s.shipway at auckland.ac.nz] 
Sent: Sunday, May 28, 2006 5:26 PM
To: Drew Weaver; mrtg at list.ee.ethz.ch
Subject: RE: [mrtg] Meaningful filenames

>Either way my question is this: Is there anyway to 
> have indexmaker create the filenames like this: 
> Ip.of.device.polled-slot-port.html
> Instead of:
> 192.168.0.1_X.html
> Where X = a random number that I haven't figured out yet.

X is the interface number in the SNMP MIB, which will change if you add
extra interfaces to the device.

The file name is, I believe, taken from the MRTG Target[] name, and so
in
order to change it you would have to change the code for cfgmaker to
name
the targets in a different way (taking into account when this
information is
not available)

Steve


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



More information about the mrtg mailing list