[rrd-users] Re: RRD graph creation
Pete Templin
petelists at templin.org
Sun Mar 28 20:11:21 MEST 2004
Pavel Ruzicka wrote:
>>As an intermediate step, I'd like to switch to a log format of rrdtool
>>but still have all of the graphs created.
>
>
> You can call cgi script for generating graphs from your script on command
> line, but it's not a good idea...
OK, I'm going to play devil's advocate here: WHY is it not a good idea?
Rateup would create the graphs all the time anyway. By switching to
rrdtool, I get more disk IO efficiency because of the database format.
>>If not, does anyone have a sample of how they call rrdtool to do the
>>graphing to mimic the intervals of MRTG's four typical graphs?
>
>
> You can look at RRDTool integration page:
> http://people.ee.ethz.ch/~oetiker/webtools/mrtg/mrtg-rrd.html
> There are scripts 14all.cgi and mrtg-rrd which generates html page with graph
> in MRTG-like style.
I was looking for an example of the exact call to "rrdtool graph", not
ANOTHER pointer to use the CGI.
I know that the CGI-based tools make the page for me. My problem is our
NOC doesn't know which target page to go to until they go through some
other pages to locate the customer. I am willing to rewrite my index
generation tools to reference the CGI, but I cannot do that now (I have
a truckload of network hardware arriving tomorrow that I will need to
get into production). So, I'd like to migrate to RRDTool for logging
with graphs created always, and then migrate to RRDTool with cgi-based
graph creation.
> I have MRTG configuration in more included files (1 router = 1 file), because,
> when you have thousands target, that generating of graphs is slow due to
> parsing MRTG config file. Script is called with parameter for included cfg
> file.
I too have one config per router. But at nearly 200KB and over 4000
lines, I will probably still have a slow-to-read configuration.
Thanks for the help!
Pete
--
Unsubscribe mailto:rrd-users-request at list.ee.ethz.ch?subject=unsubscribe
Help mailto:rrd-users-request at list.ee.ethz.ch?subject=help
Archive http://www.ee.ethz.ch/~slist/rrd-users
WebAdmin http://www.ee.ethz.ch/~slist/lsg2.cgi
More information about the rrd-users
mailing list