Re: [rrd-users] Modifying results for GPRINT output

This is a discussion on Re: [rrd-users] Modifying results for GPRINT output within the RRD Users forums, part of the Networking and Network Related category; On Sat, Sep 01, 2007 at 05:56:54PM +0100, Piers Kittel wrote: > I have just installed a bunch ...


Go Back   Usenet Forums > Networking and Network Related > RRD Users

FAQ Members List Calendar Search Today's Posts Mark Forums Read
  #1 (permalink)  
Old 09-02-2007
Alex van den Bogaerdt
 
Posts: n/a
Default Re: [rrd-users] Modifying results for GPRINT output

On Sat, Sep 01, 2007 at 05:56:54PM +0100, Piers Kittel wrote:

> I have just installed a bunch of sensor stuff my friend made for me
> to measure my electricity usage. The sensor tells the computer when
> my electricity meter flashes, and a number in a text file is
> increased by one. Every minute, the value is inserted in a RRD as a
> counter. One flash from the meter represents 1/800th of a kW.


This means you have an increasing number, thus COUNTER or ABSOLUTE,
which counts 1000W/800 ticks. This is 1.25W per tick.

You feed this counter to RRDtool every minute, that's 60 seconds.

The way you set it up means that the database stores ticks per second,
not kWh or similar.

Suppose you see 60 of such ticks in a minute, that's 1 tick per
second, thus 1.25W/s. This is what RRDtool should display. This
means you should multiply by 1.25, not by 1250.

If you only see one such tick per minute, that's 1/60 tick per second,
thus 1/60 * 1.25 = 1.25/60 = 0.0208333... = 20.8333... mW/s.

Seeing "m" for milli isn't bad, it's expected. That's because you
look per second, not per hour. Try multiplying by 3600.


Sidenote: Watt is already something per second (Joule per second).
What you are probably measuring is kWh, not kW. See wikipedia.


I am also monitoring this usage. Unfortunately I have to do so by
hand, as of yet I have not found a way to interface this :-(

So far, the numbers look OK to me. I am also doing some math
and compute my next bill. The calculated bill does fall in the
same range as the expected bill, so it's probably going to be
very close.

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

_______________________________________________
rrd-users mailing list
rrd-users@lists.oetiker.ch
https://lists.oetiker.ch/cgi-bin/listinfo/rrd-users
Reply With Quote
Reply
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are Off
[IMG] code is Off
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On



All times are GMT +1. The time now is 02:17 AM.


Powered by vBulletin® Version 3.7.3
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
Content Relevant URLs by vBSEO 3.0.0