[mrtg] Re: modifying cfgmaker

Mike Bernhardt mbernhardt at arsin.com
Thu Feb 22 02:58:25 MET 2001


Never mind, I got it. For anyone who cares, at line 300 or so, I changed the
final
} else {
		$ifref = $key;
to 
} else {
		$ifref =  "\\".$$i{Descr} if $$i{Descr};

Does anyone have a reason that this might not work in any situation, at
least with a Cisco device? Comments appreciated.

Mike

-----Original Message-----
From: Mike Bernhardt [mailto:mbernhardt at arsin.com]
Sent: Wednesday, February 21, 2001 5:39 PM
To: mrtg at list.ee.ethz.ch
Subject: [mrtg] modifying cfgmaker



Can someone tell me where in cfgmaker I can change the default ifref to be
something other than index number? I've been modifying various things in the
script so that the options I always use are there without having to type
them all the time, such as Workdir, Logformat, Target options, etc. 

I think the change needs to be made around line 280-300 somewhere, but being
a perl newbie, I can't quite sort it out. I'm not even sure that's the right
place. Can someone help with this?

Thanks in advance,

Mike



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

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