[mrtg] Re: mrtg performance
Schuyler Bishop
SBishop at e-xpedient.com
Tue Jun 26 22:10:42 MEST 2001
That's one way to do it - but why don't you just create your own index page
and create the graphs with the appropriate calls to your CGI? In my case, I
use the popular 14all.cgi, and send it params like the following for a daily
graph of 1.1.1.1_1 with a config file of test.cfg:
http://myserver/cgi-bin/14all.cgi?log=1.1.1.1_1&cfg=test.cfg&png=daily
In 14all.cgi, I've defined the $cfgfiledir to be where I keep my configs,
and fixed the icondir.
That way, you generate one config file with MRTG's cfgmaker and use it in
rrdtool/14all.cgi as well.
Just me bein lazy. :)
Schuyler
-----Original Message-----
From: Stewart Tolhurst [mailto:stewart at highwayone.net]
Sent: Tuesday, June 26, 2001 9:01 AM
To: mrtg at list.ee.ethz.ch
Subject: [mrtg] Re: mrtg performance
I use MRTG integrated with RRDtool and run one config file but use a
separate config file and cgi script for each device.
That way you can separate the data collection from the graph formatting.
RRDTool is much faster and less processor hungry than rateup too.
Stewart
> -----Original Message-----
> From: mrtg-bounce at list.ee.ethz.ch [mailto:mrtg-bounce at list.ee.ethz.ch]On
> Behalf Of Kristjan Thordarsson
> Sent: 26 June 2001 13:04
> To: mrtg at list.ee.ethz.ch
> Subject: [mrtg] mrtg performance
>
>
>
> Does mrtg run any faster if I put all my targets in one .cfg instead of
> multiple files? I would like to use multiple .cfg files for my targets
> so indexmaker can make index for every target but I'm worried that I'll
> swamp my machine with too many instances of perl running mrtg and
> indexmaker for every target. Is there some better way to this perhaps?
>
> Regards,
> Kristjan
>
>
> --
> 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
--
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