[mrtg] Re: Running MRTG Multiple cfg files

Alan Rader arader at finishlines.com
Tue Sep 19 17:18:47 MEST 2000


Ok, my problem with this is that it only runs the last Include file.  I
created a file called frmmrtg.cfg and inside it looks like this

Include: xxxmrtg.cfg
Include: yyymrtg.cfg
Include: zzzmrtg.cfg

It will only run which ever .cfg is last.


Alan Rader
Finish Line, Inc.
Network Administrator
arader at finishline.com
317-899-1022 x3529


-----Original Message-----
From: Steve Rowe [mailto:steve.rowe at sheridanc.on.ca]
Sent: Monday, September 18, 2000 5:51 PM
To: mrtg at list.ee.ethz.ch
Subject: [mrtg] Re: Running MRTG Multiple cfg files



You don't indicate which version you are using but 2.9.0pre27 has this 
ability.  Put the statement "Include: <filename>" in the "main" .cfg 
file.  ASAIK you can have multiple statements.  Example:  Include:
router2.cfg


At 05:39 PM 9/18/00, you wrote:

>Not sure of the easiest way to explain this, but I have many many routers I
>want to eventually monitor.  I have MRTG running on a NT box.  So I will
>have bunches of xxxmrtg.cfg, yyymrtg.cfg, zzzmrtg.cfg etc.  What is the
>easiest way to have these run all the time?  Can this be ran as a service?
>
>I have the resource kit installed and I created a mrtg.bat file in which I
>put
>
>perl mrtg xxxmrtg.cfg
>perl mrtg yyymrtg.cfg
>etc
>
>then used the service wizard to make a service to run mrtg.bat, but that
did
>not work.
>
>Any help would be greatly appreciated :)
>
>Thanks
>
>
>Alan Rader
>Finish Line, Inc.
>Network Administrator
>arader at finishline.com
>317-899-1022 x3529
>
>
>--
>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

-
/ __|______| _ \___________________________________________________________
\__ \      |   /                       Network Analyst - Data Systems Group
____/TEVE  |_|_\OWE               Information Technology - Sheridan College
                                     Trafalgar Campus - Oakville, ON, Canada
steve.rowe at sheridanc.on.ca                                         ./\.
Phone: (905)845-9430 x2032      ICQ:                            _|\|  |/|_
http://numb.sheridanc.on.ca   14509731                          \        /
_________________________________________________________________>______<__
Make something idiot proof and someone will make a better idiot.    /


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