Hi there.
I was attempting to export the data in one of my rrd file... And I'm
puzzled with what I can retrieve..
rrd file was created with:
rrdtool create solarprodX.rrd --start 1252116540 -s 60 \
DS:power:GAUGE:300:0:U \
DS:total:DERIVE:300:0:2.3 \
DS:1:GAUGE:300:0:U \
DS:2:GAUGE:300:0:U \
RRA
Hi there.
Those are changes I've had for a long time on my local rrd copy. I
remember submitted them a long time ago on the RRD's trac, but it
seems to have got lost in the noise...
For 1.4 branch:
https://github.com/oetiker/rrdtool-1.x/pull/375
For master:
https://github.com/oetiker/rrdtool-1.x
On 22 January 2013 20:30, Simon Hobson wrote:
> Jean-Yves Avenard wrote:
>>I just want to do a quick resync of rrd files collecting on arm boxes
>>I have scattered around and display their content on a more beefy
>>server.
>
> Have you looked at using rrdcached ?
>
Hi
thanks for answering
On 21 January 2013 08:59, Steve Shipway wrote:
> Making it arch-independent is not so easy (else it would have been done long
> ago as this has been on the cards some time). There are several problems
> relating to the generated C struct which is written to the file as
Hi there.
When I moved from a 32 bits to 64 bits ubuntu host, my rrd files
weren't usable, I had to do a export / import
Yesterday I got a raspberry pi board and ported some of my energy
monitoring to it... it's very low power making it perfect for my
usage.
Problem is once again the rrd fil
Hi there.
been a long time.
I've been running a patched version of rrdtool for years (patches were
first submitted here in 2009!)...
It's been a bit of a pain to maintain as time went by, so I decided to
clean things up a bit and submit them in the proper fashion...
I checked out master, and sta
On 11 March 2010 01:19, shubham k wrote:
> Hi,
>
> I am new to RRD tool. Currently I am plotting different data on a single
> line graph using different colors. I am doing the following thing:
>
> 1. data1 corresponds to Red Line (say line1 easy to connect to data1)
> 2. data2 corresponds to Green
Hi
On 24 February 2010 06:53, Tobias Oetiker wrote:
> Hi Mike,
>
> thanks for providing the tests ... this is part of your OO module ?
> it would be interesting to integrate this into the rrdtool release
> process ...
>
> cheers
> tobi
I am not sure if this is related...
But with latest svn ;
On 20 February 2010 11:16, Koaps wrote:
> Hehe,
>
> I'm making progress too...
>
> You had to get the idea stuck in my head...
>
> https://test.null.bz/test9.php
> https://test.null.bz/test9.phps
>
no fancy scaled colour, but ...
this is a pure rrdtool solution
http://htpc.avenard.org/power/?grap
On 20 February 2010 20:57, Tobias Oetiker wrote:
> I guess the cause of the problem is the anti aliasing performed
> causing the edge of the area to blend with the background ...
> overlapping is certainly a good idea ...
Rounding all times to the nearest resolution seems to fix it..
__
Silly me; I got the order of the arguments wrong for IF.
I have however found something very weird...
If I do:
"DEF:tt=dummy.rrd:dummy:AVERAGE",
"CDEF:day1=tt,POP,TIME,$sunrise1,$sunset1,LIMIT,UN,UNKN,INF,IF",
"AREA:day1#32348e",
"CDEF:dusk1=t
Hi
On 20 February 2010 11:16, Koaps wrote:
> You had to get the idea stuck in my head...
> I looked up your domain to get a location, so the script will figure out
> sunset and sunrise for your Lat. Long and then try to make a gradient.
Here it is:
http://htpc.avenard.org/power/src/ephemerides.
Hi
On 20 February 2010 11:16, Koaps wrote:
> Hehe,
>
> I'm making progress too...
>
> You had to get the idea stuck in my head...
>
> https://test.null.bz/test9.php
> https://test.null.bz/test9.phps
>
> I looked up your domain to get a location, so the script will figure out
> sunset and sunrise
Hi
Making progress on the matter.
http://htpc.avenard.org/power/?small=1&graph=1&view=day&date=19/02/2010&hour=23&minute=59&plot=total,ext
I'm trying to draw a blue area between sunrise and sunset...
"VRULE:$sunrise#32348e",
"V
Hi
On 16 February 2010 17:27, Tobias Oetiker wrote:
> the 'problem' is pango, the component who does the font
> rendering for rrdtool. as it is started it figures out which font
> to pick ... this can take some time ... there are three things you
> can do:
>
> * have fewer fonts
>
> * make sure y
Hi
On 16 February 2010 03:20, Tobias Oetiker wrote:
> delays could be caused by excessive number of fonts being available
> on your system.
Now I remember what else I changed last week...
Copy all the fonts available on my mac to my linux box !!!
I thought it was the RAM, so I bought 2 extra
On 12 February 2010 19:00, A Darren Dunham wrote:
> I was referring to the "sun on the horizon" graphic. Were you intending
> that to be relative to some data as well?
It wasn't the sun in the horizons :)
It was a poorish attempt at drawing solar power output :)
Something like this (real data)
On 13 February 2010 05:19, Shem Valentine wrote:
>
> I am trying to gather total bytes transferred and am having some
> inconsistencies.
>
>
> When I try to total using fetch, I get different (lower) results, which I'm
> assuming is related to UNKOWN's, am I missing something?
Your python scrip
Hi
On 12 February 2010 04:19, Tobias Oetiker wrote:
> this would seem rather odd, is this somehow multithreaded ? If it
> was, it would not matter if the tzset was done in rrdtool or in
> php the effect would be the same.
This wasn't an issue when I was running rrdtool by doing a exec:
exec("TZ
On 12 February 2010 10:51, A Darren Dunham wrote:
>
> I don't know how to do that exactly (grid on top especially), but you
> could do an AREA graph with the color you want from bottom to top, and
> then give it some transparency so the grid shows through.
The main problem is giving a different c
Hi
I'd like to draw something like this:
http://i46.tinypic.com/5bd3et.png
Pretty much, it's a solar power chart ; the backround would show the
ephemeris of the Sun ; dark when it's night time, gradually lighter
and then a different colour.. Pretty much using gradients.
The grid would be drawn on
I created a ticket to simplify the problem and not have to change the
TZ environment variable.
Adding a --utc option to rrdtool graph
http://oss.oetiker.ch/rrdtool-trac/ticket/252
I have migrated my set to use the rrdtool PHP module ; and changing
the timezone had nasty effect on apache, ... wou
Hi
2010/1/26 Tobias Oetiker :
> this is already done you can add a second axis ... you have to take
> care of the scaling yourself using CDEF, but that is not much of a
> problem ... check out the docs ...
>
> see http://manuel.oetiker.ch/reslog/
Interesting graph ; what system is it ; and how do
Hi
2010/1/26 Tobias Oetiker :
>
> try this:
>
> Index: src/rrd_graph.c
> ===
> --- src/rrd_graph.c (revision 2011)
> +++ src/rrd_graph.c (working copy)
> @@ -1730,6 +1730,7 @@
> prt_fctn != 'r' &&
>
Hi
2010/1/22 Stefan M. Brandl :
> This is a right-aligned text with the grapg-generation date.
> With rrdtool 1.3.9 it's correct aligned on the right side (see attachement).
> With 1.4.2 the text is nor fully bounded to the right side.
> Can I get the old behavior back?
While we're on about right
Hi
2010/1/21 Joseph Mack NA3T :
> in the 1.0 series, for a 24hr chart, there's a number label
> every 2hrs for the time (00:00 02:00 04:00...), which I like
> In 1.4.2 there are labels only every 6hrs, so I have to
> count the alternating background shadings to find the time
> of any particular p
Hi
2010/1/10 Marc Tobien
> Every set of dates is holding the exact timestamp of measurement.
>
> I do not have the problem to write the dates with update into the rdd
> database , but the unknown entered automatically if dates are not coming in
> time or with a bad interval are messing up the a
Hi
2010/1/5 George-lll :
> but if some rrd files have zero/null value(indicate some servers got no
> traffic at that period), the charts combined curve drop to zero too.
Are they zero or undefined ?
They do not mean the same thing.
The reason you are seeting what you're describing is because
un
Hi
2010/1/2 Reinhard Scheck :
> If this turns out to be 64bit specific, I'm interested in trying to reproduce
> this on a F12 64bit system.
> Would you please be so kind to post the plain rrdtool graph command that
> fails?
Here is the original command:
/usr/local/bin/rrdtool graph /tmp/powerO
Hi there
2009/12/28 Jean-Yves Avenard :
> Does so on two different machines ; a Linux (Ubuntu) with rrdtool
> 1.4.2 and another FreeBSD with rrdtool 1.3.9
>
> Always on the same graph ; one that I plot from midnight to midnight
> so the end time is in the future...
>
&g
Hi
Something that may be relevant (actually, I'm now sure it is) ...
The only time this happens is on a graph where I define the --end
value to some time in the future (because I'm plotting from midnight
to midnight)...
Jean-Yves
___
rrd-users mailing
Hi
2010/1/1 Benny Baumann :
> If you are familiar with GDB debugging or one of its frontends (like
> DDD) some more details could be useful. Set a breakpoint at that line
> (in rrdgraph.c) and check the local context given.
I'm familiar with gdb ; but here I have no idea what to look for ..
I've
Hi
2010/1/1 Benny Baumann :
> Which version of RRDTool on what platform using which OS were you using?
I tried RRDtool 1.4.2 and 1.3.9.
That was on a Ubuntu 9.10 / 64 bits Linux (2.6.31)
> ow was the interfacing with RRDTool (I'd guess Command Line client from
> the source below)?
> Is the erro
Hi
2010/1/1 Benny Baumann :
> ==10650== by 0x40377B: main (rrd_tool.c:511)
> ==10650==
>
> If you are familiar with GDB debugging or one of its frontends (like
> DDD) some more details could be useful. Set a breakpoint at that line
> (in rrdgraph.c) and check the local context given.
Which one
rt 1262304000 --end 1262390400 \
> -w 480 -h 120 \
> -W '(c) Jean-Yves Avenard 2009-2010. All rights reserved' COMMENT:'
> ' \
> COMMENT:'Maximum' \
> COMMENT:'Average' \
> COMMENT:'Minimum
Hi
I've encountered a very weird oddity when graphing with rrdtool ; I
can not explain why.
I am plotting five graphs together ; 99% of the time it works great.
>From time to time ; rrdtool doesn't plot anything showing weird scale
on the side.
This only seems to happen with a particular combina
Hi
Merry Christmas to all of you reading ...
Stretching the limit of rrdtool today ; I encountered an error I
hadn't seen before:
"ERROR: malloc im->gdes[gdi].data"
I was trying to plot monthly data; from the 1st to the end of each
month ; like from 1/1/2009 to 31/1/2009, then 1/2/2009 to 28/2/2
Hi
2009/12/16 Clemens Weninger :
>
> thanks for your help. Anyone else have an idea?
I would generate a temporary file
import tempfile
tempfile.mkstemp()
then unlink it when done...
___
rrd-users mailing list
rrd-users@lists.oetiker.ch
https://lists.o
Hi
2009/12/15 Simon Hobson :
> Actually, the problem is VERY different from the usual
> multiply/divide by some value to get 'real' units.
YES !!
FINALLY !
>
> The problem is about doing a calculation that MUST be done on a 5
> minute sample period, in a graph where the resolution is 1da
Hi
2009/12/15 Alex van den Bogaerdt :
> Then, when you subtract your usage from your generated power, with a minimum
> of zero, you end up with the amount of Joules you did generate but not use
> yourself. The remainder is fed to the net. You want to know how much that
> amount is. Correct?
corr
Hi
I got a bit closer to what I wanted to do today ...
2009/12/15 Jean-Yves Avenard :
> However, if I use 5 minutes average (the same calculation as performed
> by the electric meter) the amount of energy put back in the grid is:
> (1000 - 500) * 10 / 60 * 24 / 1000 = 2kW
Hi
2009/12/15 Clemens Weninger :
> Hello everybody,
> I am trying to generate dynamic graphs with rrdtool python bindings
> and display them with a django web page.
> I don't want to save the created picture, but create them on the fly.
>
> In PHP there was the way of calling rrdtool graph - and
Hi
Okay, it looks we started on the wrong foot so I'm going to explain
the problem differently...
I am measuring two things.
One is the power usage of all my electrical appliances ; the other is
the wattage output of my solar panel.
Say my electrical appliances are using 500W of power ; 24/7. So
2009/12/15 Alex van den Bogaerdt :
> It still does. Else you would understand that this 'problem' is no different
> from having bits (or megabytes) in your database and using CDEF and GPRINT
> to display the average, after being multiplied by 86400, to get the amount
> of bits (or megabytes) in a d
2009/12/14 Alex van den Bogaerdt :
>
> I haven't read the entire thread, not even this entire message, so forgive
> me if I'm stating something obvious or something already covered. Just
> ignore me in such a case.
Too bad ; because that would have helped you answering something a bit
more relevan
Hi
Putting the final touch to my energy monitoring.
I have pretty much everything up and running as it should ; except for
one type of calculation.
the aim of my calculations is to monitor how much energy I output to
the electricity grid via solar panels.
The calculation is done as a *net* feed
Hi
2009/12/9 Jean-Yves Avenard :
> I thought that another possibility would be to always store data in
> local time as if it was UTC time ; obviously twice a year it would be
> incorrect for one hour ... something I can probably live with...
Ok,
this is what I have done now...
When s
Hi there...
Ok, I have finally the hang of most of what I intended to do.
Logging my power usage ; then calculating power consumption as charged
by the electricity company (in kWh).
http://htpc.avenard.org/power/
For each graph; you can click on a part of the graph ; and it goes
down to one res
Hi..
Sorry, I'm bumping that one ; as even after investigating for quite a
few days ; I can't figure out how the maximum is calculated in the
graph...
2009/12/6 Jean-Yves Avenard :
> Looking at:
> http://htpc.avenard.org/power/screen.png
>
> It shows the maximum as being 2
Hi.
The graph produced by RRDtool ; while accurate aren't really great
looking graph, lots of broken lines :P
Is there a way to smooth the graph out , like a bezier line between
points ? Like what facebook or google does for their statistic
reports?
Thanks
Jean-Yves
Hi
2009/12/7 Tobias Oetiker :
> Over the last few weeks I have spent a lot of time hacking on a new
> project
>
> remOcular - your eyes in the cloud
>
> The first test version is now online on
>
> http://tobi.oetiker.ch/test/remocular/build/
>
> remOcular is an indirect decendent of SmokeTrace
2009/12/5 A Darren Dunham :
>
> Hopefully that demonstrates the differences pretty well.
>
Actually ; looking at the graph ; I can't understand how the MAX is
actually calculated.
Looking at:
http://htpc.avenard.org/power/screen.png
It shows the maximum as being 2972W ; which is indeed the maxim
Hi
2009/12/5 A Darren Dunham :
[snip]
> You can change the RRA's consolidation function at the top easily to see
> how if it were AVERAGE already, there's no differences between the
> second two graphs.
>
> Hopefully that demonstrates the differences pretty well.
It does ... thank you for enlight
Hi.
Long time user of RRDtool ; but I haven't got into creating new graph
in a while and I'm a bit confused about one detail...
I'm monitoring the power usage at my house with a new gizmo I installed...
Data is collected by a python script every 6s ; I average the data
over a minute and feed it
Hi
On Sun, Mar 23, 2008 at 9:57 PM, Jean-Yves Avenard <[EMAIL PROTECTED]> wrote:
> Hi.
>
> I'd like to collect some extra data, and in order to keep things clean
> I'd like to modify my existing RRD file and add the extra DS ...
>
> Is there an easy way to d
Hi.
I'd like to collect some extra data, and in order to keep things clean
I'd like to modify my existing RRD file and add the extra DS ...
Is there an easy way to do so?
Thank you in advance
Jean-Yves
___
rrd-users mailing list
rrd-users@lists.oetike
Hi
On Sat, Mar 22, 2008 at 2:12 AM, Alex van den Bogaerdt
<[EMAIL PROTECTED]> wrote:
> That's no reset. Don't think of it that way, it will just confuse you.
I see why you think of it that way ;-)
> This should be detectable. A suggestion follows below.
actually, the uptime value of the mode
Hi.
I want to measure the amount of traffic going through my ADSL link.
The data will be fetched using snmp every minute.
One issue is that the snmp server on my ADSL modem only supports 32
bits counter. So it is possible for the counter to reset due to an
overflow.
Another issue is that if ther
Hi
On Fri, Mar 21, 2008 at 11:42 PM, Alex van den Bogaerdt
<[EMAIL PROTECTED]> wrote:
> Datasource maxdown from RRD modem.rrd
> Take the AVERAGES and store those in variable maxdown
A. I see.
So instead I should do:
/usr/local/rrdtool-1.2.27/bin/rrdtool graph images/speedday.png -l 0 \
-t
Hi
On Fri, Mar 21, 2008 at 10:42 PM, Alex van den Bogaerdt
<[EMAIL PROTECTED]> wrote:
> What DEF statements do you use ?
I create the graph with the following:
/usr/local/rrdtool-1.2.27/bin/rrdtool graph images/speedday.png -l 0 \
-t 'Sync Speed - DAILY' \
-x HOUR:1:HOUR:4:HOUR:2:0:%k \
DEF:maxd
Hi
Thank you for your answer !
On Fri, Mar 21, 2008 at 7:42 PM, Tobias Oetiker <[EMAIL PROTECTED]> wrote:
> yes sure, it depends on the definition of exact though ... what you
> seem to be looking for is the 'step' maximum. So if you keep an rra
> with consolidation method MAX and use that as
Hi
On Fri, Mar 21, 2008 at 9:43 AM, Tobias Oetiker <[EMAIL PROTECTED]> wrote:
> Hi Jean-Yves,
>
> check out the first question in the FAQ:
>
> http://oss.oetiker.ch/rrdtool-trac/wiki/RrdFaq
It there a way to retrieve the exact value for the minimum and maximum ?
___
Hi
On Fri, Mar 21, 2008 at 8:36 AM, Simon Hobson <[EMAIL PROTECTED]> wrote:
> Normalisation
>
> OK, I'll mention it again - NORMALISATION
>
> end-start is 481 sample periods, width is 400 pixels (the default
> since you have failed to explicitly set it), therefore the data is
> normalised to
Hi
On Fri, Mar 21, 2008 at 1:00 AM, Simon Hobson <[EMAIL PROTECTED]> wrote:
> rrdtool graph ... -s ${Start} -e ${End} -w ${Pixels} ...
>
This would show 400*5 minutes worth of data.
Ok...
I'm a bit confused with how RRDtool calculate the data quite frankly.
In another example, I collect data
Hi
On Thu, Mar 20, 2008 at 11:03 PM, Simon Hobson <[EMAIL PROTECTED]> wrote:
> From memory, the tutorials don't keep a years worth of hi-res data.
> At work I have an rrd with 510 data series, each with average and max
> consolidations. To keep 5 minute samples of all that lot would
> requir
Hi
On Thu, Mar 20, 2008 at 6:59 PM, Simon Hobson <[EMAIL PROTECTED]> wrote:
> 1205974800 is not a multiple of your interval period, therefore
> normalisation WILL be done on the data and you will NOT get out
> exactly the same values you put in. Go to the rrd website and look up
> the tutoria
Hi
> This is not an error. I thought the same but the reason is that rrdtool
> interpolates the given value based on the step compared to the one before.
> Only if you have absolutely STEP seconds between data points it will take
> the given value.
I see.
Is there a way to retrieve the exact
Hi again
On Thu, Mar 20, 2008 at 3:09 PM, Jean-Yves Avenard <[EMAIL PROTECTED]> wrote:
> timestamplocal remote
>
> 1205895600: 1.264220e+03 1.611500e+02
> 1205906400: 1.264220e+03 1.611500e+02
> 1205917200: 1.264220e+03 1.6115000
Hi again
On Thu, Mar 20, 2008 at 3:00 PM, Jean-Yves Avenard <[EMAIL PROTECTED]> wrote:
> so where is my 1267.13 ??
>
Ok, 3PM passed so it collected more data.
The last values entered were:
1209.49 and 124.98
The command:
-bash-3.1$ rrdtool fetch speed.rrd AVERAGE
timest
Hello
Discovered RRDTool not long ago and I'm able to pretty much work just
like I need it to.
However I am experiencing some issues in a particular case.
I am trying to collect some data at 3 hours interval, trying to
simulate what MRTG would be doing.
I want to keep record of those data of a fu
70 matches
Mail list logo