[mrtg] Re: Possible to ony create graphs

Alex van den Bogaerdt alex at slot.hollandcasino.nl
Thu Jan 17 02:19:58 MET 2002


Max Kipness II wrote:

> What I'm looking for, is a way to have mrtg ONLY produce the daily graph for
> a target, and not produce the html file for that target. I know through
> options, you can suppress the weekly and yearly graphs, but I don't see any
> way to supress the creation of the actual html file.

MRTG doesn't create the images, it only creates the html page.
The program "rateup" (or: rateup.exe on windows) creates the
images, it does not generate html.

IOW: you need to run rateup yourself.

It will be somewhat hard to figure out what parameters to give to
rateup.  Simple but effective approach:
- rename rateup to rateup.real
- create a script called rateup
  - this script should write its parameters to a file (append!)
  - this script then calls rateup.real with the original parameters
- run mrtg a few times
- rename rateup.real to rateup
- have a look at the file created by your script

Some parameters feed data to the log files, other parameters generate
an image.

happy hacking!
-- 
   __________________________________________________________________
 / alex at slot.hollandcasino.nl                  alex at ergens.op.het.net \
| work                                                         private |
| My employer is capable of speaking therefore I speak only for myself |
+----------------------------------------------------------------------+
| Technical questions sent directly to me will be nuked. Use the list. | 
+----------------------------------------------------------------------+
| http://faq.mrtg.org/                                                 |
| http://rrdtool.eu.org  --> tutorial                                  |
+----------------------------------------------------------------------+

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