[mrtg] Re: writing to file
Alex van den Bogaerdt
alex at slot.hollandcasino.nl
Mon Jan 17 13:41:06 MET 2000
mward at notes.bt.com wrote:
>
> I am trying to change the perl script so that when mrtg writes to the log files
> I can also add a small routine to write the raw data to an sql database. Can
> somebody tell me where abouts in the script the writing to the log file is done.
>
MRTG doesn't write to the logs. It passes the data to rateup.
The most easy thing to do is to build a wrapper for rateup. This wrapper
starts both the real rateup and your logger.
regards,
--
__________________________________________________________________
/ 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 |
+----------------------------------------------------------------------+
--
Unsubscribe mailto:mrtg-request at list.ee.ethz.ch?subject=unsubscribe
Help mailto:mrtg-request at list.ee.ethz.ch?subject=help
Archive http://www.ee.ethz.ch/~slist/mrtg
More information about the mrtg
mailing list