[mrtg] Re: cfgmaker & frame-relay interfaces only

Gibson, Paul paul.gibson at atosorigin.com
Wed Sep 11 05:56:38 MEST 2002


Gabrielle

Thanks very much for that, it did the trick nicely.



 Regards
 
 Paul Gibson
 


-----Original Message-----
From: Roth, Gabrielle [mailto:gabrielle.roth at xo.com]
Sent: Wednesday, 11 September 2002 1:09 AM
To: mrtg at list.ee.ethz.ch
Subject: [mrtg] Re: cfgmaker & frame-relay interfaces only



>	Id it possible to get cfgmaker to generate a cfg file 
>for a router
>but ONLY grab the frame relay interfaces ???
>
>there are no options that I can see for this,  and my perl 
>isnt sufficient to modify the cfgmaker code

http://people.ee.ethz.ch/~oetiker/webtools/mrtg/cfgmaker.html
http://people.ee.ethz.ch/~oetiker/webtools/mrtg/cfgmaker.html#item_%2D%2Dif%
2Dfilter_%27filter%2Dexpression%27
http://people.ee.ethz.ch/~oetiker/webtools/mrtg/cfgmaker.html#details on
filters

Based on this, I would use something like this:

./cfgmaker '--if-filter=$if_type==32 && $if_admin' community at host

All other ifTypes will be commented out like so:

### The following interface is commented out because:
### * filter specified by --if-filter rejected the interface

Note that if an interface is ifAdminStatus up but ifOperStatus down, it will
still be included in your .cfg.  How to alter this behavior is an exercise
left to the reader. :)

HTH.

-gabrielle
"I don't mind the rat race but I could do with a little more cheese."

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