[rrd-users] Modifying results for GPRINT output

Alex van den Bogaerdt alex at ergens.op.het.net
Tue Sep 4 14:54:51 CEST 2007


On Tue, Sep 04, 2007 at 12:54:38PM +0100, Piers Kittel wrote:

> >About your interface:  instead of counting pulses and periodically
> >calling RRDtool (e.g. every 5 minutes) it may be better to let those
> >same pulses trigger an RRDtool update.  This will improve accuracy
> >dramatically or so I think.
> 
> Hmm... OK... will I need to create a new kind of database for this?  | 
> f so, how?

Not necessarily, no.  Instead of triggering your updates with
cron, you would be doing so every time the light flashes. You
would still provide updates the same way as you are now.

The only thing to verify is that you receive at least one update
every ${heartbeat} seconds.  Set heartbeat high enough to receive
a trigger from the power consumption by your computer, which you
are using to take the measurement.


However, I strongly suggest running both databases simultaneously
for a while, so that you can see for yourself that the averages will
be the same (or can investigate why not).

> Thanks so much for your time and help again!

No problem.

I may be asking for help myself soon; I'm thinking about a
webcam, a led (for illumination) and some ocr software to
read my own meters.  That, or a smarter idea on how to automate
reading those meters.


-- 
Alex van den Bogaerdt
http://www.vandenbogaerdt.nl/rrdtool/



More information about the rrd-users mailing list