[mrtg] Re: Memory and Interface

Michael Markstaller mm at elabnet.de
Mon Aug 2 20:18:24 MEST 2004


You need to use host-templates. I've modified the templates from http://mrtg.gvolk.com/template/interface-genericsnmp.template somewhat to make/update all of my mrtg-configs, maybe they help.
called with somewhat like: 
/usr/local/mrtg/bin/cfgmaker --global 'WorkDir: /var/www/mrtg-rrd' --ifdesc=descr --if-template=/etc/mrtg/cfg-template/interface-NBAR-ElabNET --host-template=/etc/mrtg/cfg-template/host-genericsnmp.template.ElabNET --community=xyz --subdirs=HOSTNAME --output=/usr/local/mrtg/mrtg_temp_cfg 10.11.12.13
Michael


-----Original Message-----
From: mrtg-bounce at list.ee.ethz.ch [mailto:mrtg-bounce at list.ee.ethz.ch]On
Behalf Of Britt Tabor
Sent: Monday, August 02, 2004 5:02 PM
To: mrtg
Subject: [mrtg] Memory and Interface


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

 

 

Britt Tabor

I.T. Infrastructure Engineer

Jabil Global Services

727.803.3475  Voice

727.803.5306  Fax

 

 



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


-- Attached file removed by Ecartis and put at URL below --
-- Type: application/octet-stream
-- Desc: host-genericsnmp.template.ElabNET
-- Size: 50k (51660 bytes)
-- URL : http://www.ee.ethz.ch/~slist/p/03-host-genericsnmp.template.El


-- Attached file removed by Ecartis and put at URL below --
-- Type: application/octet-stream
-- Desc: interface-NBAR-ElabNET
-- Size: 31k (32068 bytes)
-- URL : http://www.ee.ethz.ch/~slist/p/interface-NBAR-ElabNET


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