[rrd-users] Calculation that is a bit over my head.
Tobias Oetiker
tobi at oetiker.ch
Mon Nov 18 06:12:36 CET 2013
Hi Jan,
Yesterday Jan Johansson wrote:
> >I would suggest to set the DS to GAUGE
> >
> >and then log 3000 when your heater is on and 0 when it is off
> >
> >cheers
> >tobi
>
> Hello!
>
> The DS is set to gauge, but I cannot really change the value, as
> the controller in use actually talks to RRD directly, so I only
> have control over the ?read side? of things.
no problem, then you just log 0 or 1 (again with GAUGE) and if you
ask rrdtool for the average over a given timespan this will be the
ratio of time the value has been 1.
cheers
tobi
>
--
Tobi Oetiker, OETIKER+PARTNER AG, Aarweg 15 CH-4600 Olten, Switzerland
http://it.oetiker.ch tobi at oetiker.ch ++41 62 775 9902 / sb: -9900
More information about the rrd-users
mailing list