[mrtg] Re: Memory and Interface

Eric Brander Eric_Mailing_List at rednarb.com
Mon Aug 2 17:04:43 MEST 2004


Britt Tabor wrote:
> I'm using templates for my interface bandwidth monitoring on my routers. I
> want to include memory now but I'm not sure how to incorporate that into my
> template file. When I tried to drop it in I got a router.memory entry for
> each interface on the router in my cfg file. Which of course indexmaker
> kicks back an error stating that variable has already been defined. Mrtg
> reads the template for each interface on the router but I only need the
> memory entry once. Little confused and need help, thanks....

Cfgmaker uses Interface templates and host templates.  Interface 
templates are used per interface, as you have seen.  What you need is a 
2nd host template that only runs once per host. Check out host templates 
under the cfgmaker manual.

HTH,

Eric Brander
	

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