[mrtg] Re: mrtg frustrations

Jay Hennigan jay at west.net
Thu Jan 5 22:47:31 MET 2006


Aaron Clasby wrote:

> ### Interface 1 >> Descr: '' | Name: '' | Ip: '' | Eth: '' ###
> ### The following interface is commented out because:
> ### * --ifref=descr is not unique for this interface
> 
> There is not a line in the snmpwalk for ifref.  There is an ifAlias
> which is where the descriptions are placed for the ports though.  Even
> if I unremark those, will that be a possible reason on why it still wont
> poll the data?

You need to change or add the option when you run cfgmaker.  Even if you 
uncomment them it won't work because the description is blank so MRTG 
won't be able to sort out what goes where.

Read the friendly manual here:

   http://people.ee.ethz.ch/~oetiker/webtools/mrtg/cfgmaker.html

Notice the first series of choices under OPTIONS?

Try "cfgmaker --ifref=nr" (For cisco devices set this persistent in the 
cisco config or you may get strange results after a reboot), or try 
"cfgmaker --ifref=name", this may also work.

Alternatively, go into the switch configuration and add a (different for 
each interface) description to every interface you want to monitor. 
This doesn't scale well, best to find an ifref that is unique by default.


-- 
Jay Hennigan - CCIE #7880 - Network Administration - jay at west.net
NetLojix Communications, Inc.  -  http://www.netlojix.com/
WestNet:  Connecting you to the planet.  805 884-6323

--
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