[mrtg] Re: Temperature monitor

Alex van den Bogaerdt alex at ergens.op.HET.NET
Fri Jul 12 23:53:44 MEST 2002


Williams, Garth wrote:

> Hi.  You CAN read from a script file if you have to.  Simply write a small
> perl script to read the data from the file (it has to be in some sort of
> standard delimited format).  Then you can read each field (as it were) from
> each line and assign it to a variable, and as Alex stated then print it to
> the screen.

This is a definition problem I guess.  In my opinion your small perl
program is reading the text file and mrtg is not.  But yes, this will
work and yes, timing will be problematic.  It is possible to call
rateup.exe just as one can call rrdtool directly.  Perhaps this also
allows to set the correct time (time of capture in stead of current time).

cheers,
-- 
   __________________________________________________________________
 / 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