Re: [rrd-users] how correctly make speed graphics

2011-05-25 Thread Simon Hobson
17300 sets the rate for the 300s leading up to that time. So the rate is 1 from 1306317000 to 1306317300, and **NOT** from 1306317300 to 1306317600. Obviously, you can fiddle with the data to your heart's content until you understand what's going on and have the right outputs. --

Re: [rrd-users] how correctly make speed graphics

2011-05-24 Thread Simon Hobson
I'm not sure how it is treated when the only consolidation you have is AVERAGE. I suspect it may be consolidating the "in" CDEF to a single figure using AVERAGE (which is the CF used in calculation "in") and then applying LAST. It cannot show you the LAST value of th

Re: [rrd-users] how correctly make speed graphics

2011-05-23 Thread Simon Hobson
moose wrote: > > The problem moose has is that he is plotting the data counter, not a >> rate derived from it. >> >> >I did not understand you, Could you tell me what to do? Create the RRD file with type COUNTER - then RRD will calculate the rate correctly. -

Re: [rrd-users] how correctly make speed graphics

2011-05-23 Thread Simon Hobson
Bohdan Linda wrote: >2) why are you using absolute values? If you update from counters, you >should use GAUGE? Err, make that COUNTER. The problem moose has is that he is plotting the data counter, not a rate derived from it. The graph is consistent with that. -- Simon Hobson Visi

Re: [rrd-users] Slow collection runtimes occurring regularly

2011-05-02 Thread Simon Hobson
nd then sequentially submit updates for different rrds - if processing is heavy, then this would naturally delay submitting some of them, at the risk of overrunning into the next step period. In most systems however, it would be "more tricky" to do this - and it's one of the things

Re: [rrd-users] Slow collection runtimes occurring regularly

2011-05-02 Thread Simon Hobson
concerned about, can you delay feeding in some update values a bit ? As long as you use an explicit timestamp in the update statement, then it doesn't matter what actual clock time the update is submitted to rrd - as long as you maintain the right sequence of upd

Re: [rrd-users] various questions on rrdcreate/rrd_create

2011-04-23 Thread Simon Hobson
es rrds, but then it doesn't >create rrds for those others anyway... and perhaps I won't as well. It doesn't have to be all or nothing - you could create 2 rrd files - one for the high res stuff, and one for the rest. -- Simon Hobson Visit http://www.magpiesnestpublishing.co.uk

Re: [rrd-users] various questions on rrdcreate/rrd_create

2011-04-20 Thread Simon Hobson
;bucket' is completed, the accumulator for each RRA is updated with the value in the bucket. As each consolidated time period is completed, then a new consolidated data point is generated. You can easily see that the consolidations aren't always cascadable since you could (for example) you

Re: [rrd-users] Doubt in RRDDef

2011-04-20 Thread Simon Hobson
g for the next. RRD will never store data more detailed than your step size - so even if you collected every second, you'd still only get one value per step. -- Simon Hobson Visit http://www.magpiesnestpublishing.co.uk/ for books by acclaimed author Gladys Hobson. Novels - poetry - sh

Re: [rrd-users] rrd at the ragged edge (updates every second)

2011-04-19 Thread Simon Hobson
Rick Jones wrote: >BTW, how long as "N" been supported and how long have milliseconds been >supported. Don't know about sub-second times, but N has always been supported while I've been using RRDtool (which is several years). -- Simon Hobson Visit http://www.magpie

Re: [rrd-users] rrd at the ragged edge (updates every second)

2011-04-19 Thread Simon Hobson
een collection and update (perhaps some complex conversions). If the script takes very little time to run, the two options are near enough the same in effect. When I wrote the above I wasn't aware you could use decimals in an update time. -- Simon Hobson Visit http://www.magpiesnestpubl

Re: [rrd-users] rrd at the ragged edge (updates every second)

2011-04-18 Thread Simon Hobson
mean that your update "happens" when you submit the call rather than when you take the timestamp, but for your setup I doubt that's a huge issue. -- Simon Hobson Visit http://www.magpiesnestpublishing.co.uk/ for books by acclaimed author Gladys Hobson. Novels - poetry - short

Re: [rrd-users] Graph: Daily / Weekly / Montly timerange marker

2011-04-18 Thread Simon Hobson
u are using. 1.2.27 is over 3 years old now, you have to choose - either upgrade to get the new features you want, or accept that you can't use those features that aren't present until later versions. -- Simon Hobson Visit http://www.magpiesnestpublishing.co.uk/ for books by a

Re: [rrd-users] Graph: Daily / Weekly / Montly timerange marker

2011-04-18 Thread Simon Hobson
7;ll need to do some calculations (to get the right time value) in your script that calculates the parameters for the graph, but a VRULE should do it. http://oss.oetiker.ch/rrdtool/doc/rrdgraph_graph.en.html -- Simon Hobson Visit http://www.magpiesnestpublishing.co.uk/ for books by acclaimed author G

Re: [rrd-users] Update not working

2011-04-13 Thread Simon Hobson
ent one. Given the slight variation in run times, many of your updates will be more than the heartbeat apart and so you'll have many gaps in the data. -- Simon Hobson Visit http://www.magpiesnestpublishing.co.uk/ for books by acclaimed author Gladys Hobson. Novels - poetry - short stori

Re: [rrd-users] [unsure] Re: Things not adding up

2011-04-08 Thread Simon Hobson
last update was a second before the end of a step for one, and just after for the other, then last(something) would refer to different time periods until the old one got updated and the period could be completed. -- Simon Hobson Visit http://www.magpiesnestpublishing.co.uk/ for books by a

Re: [rrd-users] [unsure] Re: Things not adding up

2011-04-05 Thread Simon Hobson
graph a stack of A and B, plus a line for max(sum), and lines for max(imbalance) and average(imbalance) which I suspect is what you are looking for. Obviously calculating imbalance gets harder as you add more data sources. -- Simon Hobson Visit http://www.magpiesnestpublishing.co.uk/ for books

Re: [rrd-users] Things not adding up

2011-04-05 Thread Simon Hobson
olidate that with a MAX function, MAX(SUM) comes to 10 which is what you may be looking for. -- Simon Hobson Visit http://www.magpiesnestpublishing.co.uk/ for books by acclaimed author Gladys Hobson. Novels - poetry - short stories - ideal as Christmas stocking fi

Re: [rrd-users] Graph per month - is it possible?

2011-04-03 Thread Simon Hobson
rather than GPRINT, and don't include any graph drawing commends. Do this once for each month and you could extract a set of values (min/max/ave/total) for that month. That use another graphing tool to draw them, OR create an rrd, import them, and graph that. -- Simon Ho

Re: [rrd-users] What RRA does *rrdtool graph* use?

2011-03-29 Thread Simon Hobson
ve it start and end on a CDP boundary. Eg something like this : Step=300 Width=400 End=$Now - ( $Now mod $Step) Start=$End - ( $Width * $Step ) -- Simon Hobson Visit http://www.magpiesnestpublishing.co.uk/ for books by acclaimed author Gladys Hobson. Novels - poetry - short stories - ideal as C

Re: [rrd-users] Please remove my name from mailing list - thanks

2011-03-23 Thread Simon Hobson
ftware, or via it's web interface. Also, in the footer of every list message is this : ___ >rrd-users mailing list >rrd-users@lists.oetiker.ch >https://lists.oetiker.ch/cgi-bin/listinfo/rrd-users Clicking on that link takes you to the web page for the list wh

Re: [rrd-users] Graphing a rotating logfile

2011-03-21 Thread Simon Hobson
he 2nd and 3rd steps will effectively reset to the counter to zero without all the wrap around detection stuff kicking in and potentially putting in some huge number. -- Simon Hobson Visit http://www.magpiesnestpublishing.co.uk/ for books by acclaimed author Gladys Hobson. Novels - poetry - short

Re: [rrd-users] RRDTOOL Good with step 300, Bad with step 600

2011-03-11 Thread Simon Hobson
t; 978305100:1 \ > 978305700:4 978304500 is not an integer multiple of 600 - therefore your data it normalised into buckets that start/end on times that are. http://www.vandenbogaerdt.nl/rrdtool/ See "Rates, normalizing and consolidating" -- Simon Hobson Visit http://www.magp

Re: [rrd-users] line wrap for at the legend

2011-03-11 Thread Simon Hobson
that I have 1,5 Line of legend below my graph. This is >looking ridicules. Have you tried embedding line breaks - add "\n" at the end of an item. Eg, from one of my scripts : GPRINT:vdatainavg:\"%6.2lf %sBps\n\" -- Simon Hobson Visit http://www.magpiesnestpublishing.co.uk

Re: [rrd-users] Graph strange lag on datas

2011-03-07 Thread Simon Hobson
your graph is quite correct. For more detailed explanation, see Alex's tutorials at : http://www.vandenbogaerdt.nl/rrdtool/ in particular the one on normalisation and consolidation. BTW - full marks for providing the exact data used for the test, the definition of your file, the actual out

Re: [rrd-users] counting errors in rrd

2011-03-04 Thread Simon Hobson
an then get rrd graph to do logic such as "if rate > some_threshold then draw it in red". -- Simon Hobson Visit http://www.magpiesnestpublishing.co.uk/ for books by acclaimed author Gladys Hobson. Novels - poetry - short stories - ideal as Christmas sto

Re: [rrd-users] Simple question about calculating

2011-02-20 Thread Simon Hobson
) and 4 decimal places. %S means to scale the numbers and apply an SI multiplier. Hence (I think) 1504 becomes 1.5040k -- Simon Hobson Visit http://www.magpiesnestpublishing.co.uk/ for books by acclaimed author Gladys Hobson. Novels - poetry - short st

Re: [rrd-users] rrd + zfs compression = massive space savings

2011-02-20 Thread Simon Hobson
t; which might range from 1 to (say) 25 - but will tend to have a lot of repetition if all 25 are normally available. -- Simon Hobson Visit http://www.magpiesnestpublishing.co.uk/ for books by acclaimed author Gladys Hobson. Novels - poetry - short stories - ideal

Re: [rrd-users] Trend to show cloud height -Weather Station Application

2011-02-19 Thread Simon Hobson
of getting clouds would be to use an image as the plot area initial fill (which isn't supported, though I'd imagine it might not be hard to hack), then plot a solid white area up to the cloudbase to obliterate it. -- Simon Hobson Visit http://www.magpiesnestpublishing.co.uk/ for book

Re: [rrd-users] Summarize minute values into hourly values

2011-02-18 Thread Simon Hobson
of 60 would get you 60*86400 = 5,184,000 Ws, divide by 3600 to get 1440 Wh, and divide by another 1000 to get 1.44 kWh. -- Simon Hobson Visit http://www.magpiesnestpublishing.co.uk/ for books by acclaimed author Gladys Hobson. Novels - poetry - short stories - ideal as Christma

Re: [rrd-users] Update and graph doesn't show what I expect

2011-02-18 Thread Simon Hobson
ts averaged over the hour. > It has lead me to a new >question but I will create a new thread. > >Thanks for the links - they are good (but wow RRDTool is complicated). Actually I'd suggest RRD Tool is actually quite simple - but the concepts behind what it does are very d

Re: [rrd-users] Update and graph doesn't show what I expect

2011-02-18 Thread Simon Hobson
ts used the last >minute (some thing between 40-90). http://www.vandenbogaerdt.nl/rrdtool/ and in particular : http://www.vandenbogaerdt.nl/rrdtool/process.php -- Simon Hobson Visit http://www.magpiesnestpublishing.co.uk/ for books by acclaimed author Gladys Hobson. Novels - poetry - shor

Re: [rrd-users] Question with 1-hour samples

2011-01-21 Thread Simon Hobson
to graph/extract data longer than 14 days will automatically use the longer one. -- Simon Hobson Visit http://www.magpiesnestpublishing.co.uk/ for books by acclaimed author Gladys Hobson. Novels - poetry - short stories - ideal as Christmas stocking fillers. Some

Re: [rrd-users] Question with 1-hour samples

2011-01-20 Thread Simon Hobson
11 00:00 UTC" +%s` step=300 values=( "10" "10" "20" "30" ) time=${start_time} for value in ${values[@]} do time=$(( ${time} + ${step} )) echo rrdtool update "${file}" ${time}:${value} done end_time=${time} echo rrdtool fetch "${fil

Re: [rrd-users] How to get LAST, AVG, MAX data (that are in graph legend) in text/string format?

2011-01-20 Thread Simon Hobson
e it drops out >tons of space seperated data. Do I need to do recursive search for maximum >with a script? That's one way. Another is to use GRAPH to do the calculation(s) for you and PRINT the value(s). -- Simon Hobson Visit http://www.magpiesnestpublishing.co.uk/ for books by accla

Re: [rrd-users] Question with 1-hour samples

2011-01-20 Thread Simon Hobson
e that in all cases, these are not calculated from the values you put in, but from the normalised values stored in the PDPs. -- Simon Hobson Visit http://www.magpiesnestpublishing.co.uk/ for books by acclaimed author Gladys Hobson. Novels - poetry - short stories - ideal as Christmas stockin

Re: [rrd-users] How to get LAST, AVG, MAX data (that are in graph legend) in text/string format?

2011-01-20 Thread Simon Hobson
of RRD. It would be easier for me, to >make OCR trace on graph image, to extract those numbers :D In RRD Graph you can use PRINT (not GPRINT) to print some numbers (to StdOut I assume). So doa 'graph' that has not graph elements (LINE, AREA, etc) and just PRINTs the values you want.

Re: [rrd-users] Question with 1-hour samples

2011-01-19 Thread Simon Hobson
will fetch out the real data ... You really need to script some sample data. It only need by fairly simple, and preferably not silly large values that are hard to work with in your head. By using known (and repeatable) inputs, you can easily compare what you get with what you put in. It may be th

Re: [rrd-users] Question with 1-hour samples

2011-01-19 Thread Simon Hobson
#x27;ve zero idea what values you put in and when, or what you got out. Can you post an example showing what updates you put in, and what you get out. That means showing us the rrdtool update commands to see what went in, and show the stored data obtained with rrdtool fetch. -- Simon Hobson Vi

Re: [rrd-users] Resolution of .png image being printed to STDOUT with 'rrdtool graph'

2011-01-15 Thread Simon Hobson
options echo and so on ) | rrdcgi --filter >/dev/null In many cases, the options are dynamically created with while or for loops, and of course influenced by the parameters requested. When you are stacking 500+ areas, and printing over 1k items in the legend, then that lot wo

Re: [rrd-users] Updating more than once per second using rrdcached

2011-01-10 Thread Simon Hobson
to suggest other than integer second resolution. -- Simon Hobson Visit http://www.magpiesnestpublishing.co.uk/ for books by acclaimed author Gladys Hobson. Novels - poetry - short stories - ideal as Christmas stocking fillers. Some available as e-books. _

Re: [rrd-users] Updating more than once per second using rrdcached

2011-01-10 Thread Simon Hobson
to "undo" the previous update (hard since the older data won't be there) and re-do it with the new values. -- Simon Hobson Visit http://www.magpiesnestpublishing.co.uk/ for books by acclaimed author Gladys Hobson. Novels - poetry - short

Re: [rrd-users] Whole numbers.

2011-01-08 Thread Simon Hobson
er, if you feed in updates exactly on every step boundary (bearing in mind that they are all an integer multiple of "step" from unix epoch (midnight Jan 1st 1970)) then normalisation is a null operation. -- Simon Hobson Visit http://www.magpiesnestpublishing.co.uk/ for books by acclai

Re: [rrd-users] Whole numbers.

2011-01-07 Thread Simon Hobson
Paul Halliday wrote: >I am dumping whole numbers at exact intervals but still getting this: What did you put in ? -- Simon Hobson Visit http://www.magpiesnestpublishing.co.uk/ for books by acclaimed author Gladys Hobson. Novels - poetry - short stories - ideal as Christmas stocking fill

Re: [rrd-users] Streaming Events into RRD

2011-01-06 Thread Simon Hobson
you could just update the RRD file as each report came in, and these would be accumulated within each "step" period and then normalised. You may find Alex's tutorials helpful : http://www.vandenbogaerdt.nl/rrdtool/ particularly "Rates, normalizing and consolidating" -- Simon

Re: [rrd-users] Pie Charts

2011-01-06 Thread Simon Hobson
felix00 wrote: >Is there anyway to produce a pie chart within RRDTool ?? No, it's not what the tool was designed for. You could, however, use rrdfetch to extract data and then plot it in another program - but you cannot do anything (eg calculations) when extracting data this way. -

Re: [rrd-users] One-off and no-data-problem

2010-12-30 Thread Simon Hobson
he first 100s of the next step. So you see, for storage of partial updates, you only have to store one tuple of data - the time for which we have data, and the "running value" of that data. -- Simon Hobson Visit http://www.magpiesnestpublishing.co.uk/ for books by acclaimed author Gl

Re: [rrd-users] One-off and no-data-problem

2010-12-30 Thread Simon Hobson
tiple of the step size from Unix epoch (midnight, 1st Jan 1970). If you leave a gap longer than heartbeat between updates then the data for that period of time is specifically unknown. -- Simon Hobson Visit http://www.magpiesnestpublishing.co.uk/ for books by acclaimed author Gladys Hobson. Nov

Re: [rrd-users] One-off and no-data-problem

2010-12-30 Thread Simon Hobson
at time ? Genuine question, and similar questions arise if no updates are received for the heartbeat interval. -- Simon Hobson Visit http://www.magpiesnestpublishing.co.uk/ for books by acclaimed author Gladys Hobson. Novels - poetry - short stories - ideal as Christmas stocking fillers. Some avail

Re: [rrd-users] One-off and no-data-problem

2010-12-30 Thread Simon Hobson
000 (400+600) when the value will be reverted to unknown. Only then will you get an output at time 600. Also, unless the next update (on or after time 600) is also 123, then you won't get 123 as the result. You may well find it useful to read Alex's tutorials at http://www.vandenbo

Re: [rrd-users] rrdtool 1.4.5 - zero bugs in rrdtool bugtracker

2010-12-27 Thread Simon Hobson
rk you've done (and to all the others who have contributed). And seasons greetings. -- Simon Hobson Visit http://www.magpiesnestpublishing.co.uk/ for books by acclaimed author Gladys Hobson. Novels - poetry - short stories - ideal as Christmas stocking fillers. Some availa

Re: [rrd-users] Normalization and NaN (?)

2010-12-23 Thread Simon Hobson
st : The command used to create the rrd file. The values you are updating the file with. What you get out. What you expected to get out. With that information we should be able to help. -- Simon Hobson Visit http://www.magpiesnestpublishing.co.uk/ for books by acclaimed author Gladys Hobson.

Re: [rrd-users] Text formatting

2010-12-06 Thread Simon Hobson
like tabs are only dealt with relative to the current bit of text I'm trying to lay down, not to the line. So putting a tab after "Total" can line up the end of the first bit of text, but I can't use tabs to take care of the space taken by the colour blobs. So I'm

Re: [rrd-users] RRDTool not accepting any updates (NaN instead)

2010-12-05 Thread Simon Hobson
ecome a LOT easier to understand (and customise) once you know the fundamentals which are well covered in Alex's tutorials. It does take some effort to get your head round the way it works initially - it's a significantly different type of storage to what most people are familiar with

Re: [rrd-users] Graphing potentially missing files

2010-12-03 Thread Simon Hobson
.oetiker.ch/rrdtool/doc/rrdflushcached.en.html Near the bottom it gives the example : rrdtool flush --daemon unix:/var/run/rrdcached.sock /var/lib/rrd/foo.rrd That should be "flushcached" rather than "flush". After this afternoon I'm getting back into RPN notation ;-)

[rrd-users] Text formatting

2010-12-03 Thread Simon Hobson
7;t add the maximums to get a meaningful number. Eg, I might have one router doing 1Mbps max, and the other doing 1Mbps max, but the total traffic could be anywhere between 1Mbps and 2Mbps max depending on how much overlap there is. -- Simon Hobson Visit http://www.magpiesnestpublishing.co.uk/ fo

Re: [rrd-users] Graphing potentially missing files

2010-12-03 Thread Simon Hobson
ecause of the difficulty of building a huge parameter list and the lack of a "read the rest from stdin" option to rrdgraph. Unless you now tell me that there is such an option and I've missed it ! >You can ask rrdcached to flush caches using 'rrdtool flushcached' That&#

Re: [rrd-users] extracting tabular data with rrdgraph

2010-12-02 Thread Simon Hobson
ditional columns. Is >this possible? AFAIK you are supposed to be able to use PRINT statements and have the results output as text rather than generating a graph. I've never tried with with a CDEF though (as opposed to printing a single value VDEF) so I don't

Re: [rrd-users] Graphing potentially missing files

2010-12-02 Thread Simon Hobson
h, that flushes the cache but still accesses the local file doesn't it ? 2) Other than connecting to the socket, is there a way to trigger caches to be written ? I tried : >echo "FLUSH " >> /var/run/rrdcached.sock but all I got was : >-bash: /var/run/rrdcached.sock:

Re: [rrd-users] Graphing potentially missing files

2010-12-01 Thread Simon Hobson
lling or anything. rrdcached wasn't around when I originally set this up, it would certainly be simpler. -- Simon Hobson Visit http://www.magpiesnestpublishing.co.uk/ for books by acclaimed author Gladys Hobson. Novels - poetry - short stories - ideal as

[rrd-users] Graphing potentially missing files

2010-11-30 Thread Simon Hobson
storical data though. Could this unmount when the NFS share is unavailable be automated ? Any other ideas ? -- Simon Hobson Visit http://www.magpiesnestpublishing.co.uk/ for books by acclaimed author Gladys Hobson. Novels - poetry - short stories - ideal as Christmas stocking fillers. Some

Re: [rrd-users] "wrong" highest resolution?

2010-11-30 Thread Simon Hobson
= 3,1040640971e+05 >rra[3].cdp_prep[0].unknown_datapoints = 0 In other words, you are asking for a graph of 8640 values from a data set that only contains 600. The 'best' data set that contains the number of data points (or rather, covers the time interval) asked for is th

Re: [rrd-users] A few questions

2010-11-29 Thread Simon Hobson
ts again from zero. Because you inserted the unknown value, the previous counter values aren't used when working out the rate and you can't get that spike. You can also apply limits, or use the derive datatype. -- Simon Hobson Visit http://www.magpiesnestpublishing.co.uk/ for books by

Re: [rrd-users] retrieving lower level information from defined higher level archieves

2010-11-28 Thread Simon Hobson
the data you ask it to plus a few internal values used to calculate it. If you want to plot/extract data for a higher resolution, then you'll have to alter your database to hold the extra data, and possibly modify your collection routines to make sure it's populated in a

Re: [rrd-users] Graph of rails requests average hour by hour, as a "typical day"

2010-11-26 Thread Simon Hobson
amount", and "Rates, normalizing and consolidating". Also note that your primary data points start/end on well defined step boundaries. These are ALWAYS a multiple of the step period from unix epoch (midnight, 1st Jan 1970 UTC). Rrdtool always works in UTC internally. -- Simon

Re: [rrd-users] Need Help in rrdtool fetch AVERAGE

2010-11-09 Thread Simon Hobson
n buckets that start/end on a timestamp which is an integer multiple of the bucket length. So data consolidated into 300s periods will always use periods whose timestamp is an integer multiple of 300. 1289262000 is a multiple of 300, 1289261975 is not. -- Simon Hobson Visit http://www.magpies

Re: [rrd-users] Need Help in rrdtool fetch AVERAGE

2010-11-08 Thread Simon Hobson
testing.rrd AVERAGE -r 300 -s 1289261655 -e 1289261975 >1289261640: nan >1289261700: nan >1289261760: 0.00e+00 >1289261820: 0.00e+00 >1289261880: 0.00e+00 >1289261940: 0.00e+00 >1289262000: nan And if you round your start a

Re: [rrd-users] (no subject)

2010-11-08 Thread Simon Hobson
y hiding them from you. In addition, every list message has this in the footer : >___ >rrd-users mailing list >rrd-users@lists.oetiker.ch >https://lists.oetiker.ch/cgi-bin/listinfo/rrd-users Go there and you can unsubscribe. -- Simon Hobson Visit http://www.magpiesnestpublishing.co.

Re: [rrd-users] RRA's for a Month

2010-11-06 Thread Simon Hobson
lot harder. Could you get by by keeping a lower resolution data set for a year or two ? An even lower res for longer ? While it's a lot more work, could you keep one active RRD (with historical data for say a year), and then dump/munge/import the data you want to archive in some month end

Re: [rrd-users] More observations and questions on COUNTER

2010-10-24 Thread Simon Hobson
rage. The calculation is (current - previous)/time = rate Eg, store 1000 at time 0, store 4000 at time 300, stored value is (4000-1000)/300 = 10 -- Simon Hobson Visit http://www.magpiesnestpublishing.co.uk/ for books by acclaimed author Gladys Hobson. Novels - poetry - short stories -

Re: [rrd-users] More observations and questions on COUNTER

2010-10-24 Thread Simon Hobson
umber. See Alex's tutorial on normalisation and consolidation at http://www.vandenbogaerdt.nl/rrdtool/ -- Simon Hobson Visit http://www.magpiesnestpublishing.co.uk/ for books by acclaimed author Gladys Hobson. Novels - poetry - short stories - ideal as Christmas stocking fillers. Some ava

Re: [rrd-users] More observations and questions on COUNTER

2010-10-24 Thread Simon Hobson
anomalies ? I've had a very quick look and the numbers seem about right to me. You do understand that RRD tool only ever stores rates don't you ? Ie, updates of : 1287866340:80740899 1287866370:80741789 80741789 - 80740899 = 890 890 / 30 = 29.667 value stored : 1287866370: 2.9

Re: [rrd-users] More observations and questions on COUNTER

2010-10-23 Thread Simon Hobson
the actual DB content: I don't want to see what's in the database. Please provide a set of update values that reproduce the problem. If we don't know what went in, then we cannot even guess at whether what comes out is correct or not. -- Simon Hobson Visit http://www.magpiesne

Re: [rrd-users] More observations and questions on COUNTER

2010-10-23 Thread Simon Hobson
t; as I was assuming your were immediately storing real values after the reset (and wondering why the zeros before the spike). -- Simon Hobson Visit http://www.magpiesnestpublishing.co.uk/ for books by acclaimed author Gladys Hobson. Novels - poetry - short

Re: [rrd-users] More observations and questions on COUNTER

2010-10-23 Thread Simon Hobson
ents they are using to a text file - that way, when you next see the problem occur, your can refer to the text file and see what actual updates were done - and replay them into a fresh file a step at a time while monitoring the result. -- Simon Hobson Visit http://www.ma

Re: [rrd-users] Please help me understand this

2010-10-15 Thread Simon Hobson
wing data from Sunday (there was no earlier data so there should be blank pixels for that) through to Friday 1am (there is no later data and there should be blank pixels there as well). See Alex's tutorial on normalisation and consolidation at http://www.vandenbogaerdt.nl/rrdtool/ -- Simon

Re: [rrd-users] Please help me understand this

2010-10-14 Thread Simon Hobson
nd end times which exactly match the boundaries of the stored data buckets. Also note that all times are relative to UTC, so if your timezone is +1, your one day periods run from 1am to 1am local time. -- Simon Hobson Visit http://www.magpiesnestpublishing.co.uk/ for books by acclaimed author Gla

Re: [rrd-users] Trying to find out if rrd would be suitable for this task.

2010-09-25 Thread Simon Hobson
r to create a timestamp:key:value record in a history table when a field changes perhaps ?), but it does mean you'll have to roll your own programs to analyse the data. -- Simon Hobson Visit http://www.magpiesnestpublishing.co.uk/ for books by acclaimed author Gladys Hobson. Novels -

Re: [rrd-users] Merging some graphs

2010-09-24 Thread Simon Hobson
e numbers and display them as part of the web page. -- Simon Hobson Visit http://www.magpiesnestpublishing.co.uk/ for books by acclaimed author Gladys Hobson. Novels - poetry - short stories - ideal as Christmas stocking fillers. Some available as e-books. __

Re: [rrd-users] Merging some graphs

2010-09-24 Thread Simon Hobson
ible. You may need to artificially scale some of your data - IIRC one graph I did, I plotted T/10 so that temperature scaled to fit something else on the graph. -- Simon Hobson Visit http://www.magpiesnestpublishing.co.uk/ for books by acclaimed author Gladys Hobson. Novels - poetry - shor

Re: [rrd-users] step period, start and end

2010-09-22 Thread Simon Hobson
abase. See Alex's tutorial on normalisation and consolidation at http://www.vandenbogaerdt.nl/rrdtool/ -- Simon Hobson Visit http://www.magpiesnestpublishing.co.uk/ for books by acclaimed author Gladys Hobson. Novels - poetry - short stories - ideal as Christmas stocking fillers. Some avail

Re: [rrd-users] step period, start and end

2010-09-21 Thread Simon Hobson
make RRD Tool think that the times you are feeding it are UTC rather than your real local timezone. -- Simon Hobson Visit http://www.magpiesnestpublishing.co.uk/ for books by acclaimed author Gladys Hobson. Novels - poetry - short stories - ideal as Christmas stocking fill

Re: [rrd-users] plz help me

2010-09-08 Thread Simon Hobson
t; By far the quickest and easiest way to unsubscribe is to click on the link mailto:rrd-users-requ...@lists.oetiker.ch?subject=unsubscribe and send the message that's created. This must be sent from the address you subscribed under. IIRC you will get a confirmation

Re: [rrd-users] help with update

2010-09-08 Thread Simon Hobson
me that the default is 300 seconds if not specified. What you posted should work. -- Simon Hobson Visit http://www.magpiesnestpublishing.co.uk/ for books by acclaimed author Gladys Hobson. Novels - poetry - short stories - ideal as Christmas stocking fillers. So

Re: [rrd-users] couple of questions

2010-09-08 Thread Simon Hobson
covers period of time, and then use a VDEF to show the average of that. Form the docs : >Note that currently only aggregation functions work in VDEF rpn >expressions. Patches to change this are welcome. -- Simon Hobson Visit http://www.magpiesnestpublishing.co.uk/ for books by acc

Re: [rrd-users] help with update

2010-09-08 Thread Simon Hobson
ntering data every 5 minutes, it may take 2 or 3 updates before data appears. Also, is it a typo/copy&paste error, because I don't see a step declaration in that rrd tool create command ? -- Simon Hobson Visit http://www.magpiesnestpublishing.co.uk/ for books by acclaimed author Glad

Re: [rrd-users] Different Colours in a single plot

2010-09-08 Thread Simon Hobson
s red. I'm sure there are other ways of doing it. One other obvious way is : CDEF:alarm1=op_pc_max,${Plimit},GT,op_pc_max,UNKN which does much the same thing - sets alarm1 to the value if it's greater than the limit, or unknown if it isn't. -- Simon Hobson Visit http://www.magpiesnestp

Re: [rrd-users] how to get plain numbers from rrd

2010-09-08 Thread Simon Hobson
gt; >Can i save or redirect output of this "function" in file or standard output >? Use PRINT instead of GPRINT ? -- Simon Hobson Visit http://www.magpiesnestpublishing.co.uk/ for books by acclaimed author Gladys Hobson. Novels - poetry - short stories - ideal as

Re: [rrd-users] adding DS values from multiple rrd files?

2010-09-08 Thread Simon Hobson
nknown and you still want to get an answer, then you might want : CDEF:sum=a,UN,0,a,IF,b,UN,0,b,IF,+,c,UN,0,c,IF,+, ... which means : if a is unknown, then use 0 else use a if b is unknown, then use 0 else use b add the previous values (a and b) if c is unknown, then use 0 else use c add the previous

Re: [rrd-users] couple of questions

2010-09-08 Thread Simon Hobson
riod, multiply by the accumulator period (eg 86400 for 24 hours), and then display the result. * My graphs aren't the same periods - for example, my "month" actually shows about 6 weeks, it's just the way the number of pixels and consolidation periods works out. -- Simon Hob

Re: [rrd-users] multiple stack graph

2010-08-23 Thread Simon Hobson
DEF:availpct2neg=0,availpct2,*,50,- 2) try a different formula, eg CDEF:usedpct2neg=usedpct2,-1,* CDEF:availpct2neg=availpct2,-1,* See if either make a difference. Hmm, takes another look and consults the docs ... But before doing that, you may want to take a look at your Y axis scaling option

Re: [rrd-users] multiple stack graph

2010-08-23 Thread Simon Hobson
3.2lf%Sb"\\j \ GPRINT:usedpct1:MAX:"maximal used disk\\:%3.2lf%%" GPRINT:usedpct1:AVERAGE:"average used disk\\:%3.2lf%%" \ GPRINT:usedpct1:LAST:"current used disk\\:%3.2lf%%"\\j GPRINT:availpct1:MAX:"maximal free disk\\:%3.2lf%%" \ GPRINT:availpct1

Re: [rrd-users] Once a day updates incorrect by timezone

2010-08-20 Thread Simon Hobson
And when putting in end of day updates, a timestamp of 23:59:59 (or earlier) will not complete a time slot - so you will only get back 'unknown' for that day. You do need to use 00:00:00 or later. -- Simon Hobson Visit http://www.magpiesnestpublishing.co.uk/ for books by acclai

Re: [rrd-users] [rrd] Can't I turn off data smoothing for GAUGE?

2010-08-20 Thread Simon Hobson
has used it as a bitmap, so 128 means one thing, 64 means something else - so "fans running" and "nothing" averages to "sprinklers on" ! -- Simon Hobson Visit http://www.magpiesnestpublishing.co.uk/ for books by acclaimed author Gladys Hobson. Novels - poetry - s

Re: [rrd-users] [rrd] Can't I turn off data smoothing for GAUGE?

2010-08-19 Thread Simon Hobson
7;ll get an error if the last update goes over the minute and is the same time (or even later) than the next minutes invocation. But since it's for something that's not critical either on timing or accuracy then I'm not that bothered. -- Simon Hobson Visit http://www.magpiesne

Re: [rrd-users] [rrd] Can't I turn off data smoothing for GAUGE?

2010-08-19 Thread Simon Hobson
. I use RRD Tool for two main jobs at work - one is rate based (network traffic flows), the other is gauge based (temperatures). It works equally well for both. Your argument is like saying "I don't have any drills, it's the hammers fault that it doesn't make tid

Re: [rrd-users] [rrd] Can't I turn off data smoothing for GAUGE?

2010-08-19 Thread Simon Hobson
of being 7 seconds late, you could use a timestamp of 00:00:00. Obviously you may some some precision in timing, but if your primary concern is to avoid normalisation then overall you gain. -- Simon Hobson Visit http://www.magpiesnestpublishing.co.uk/ for books by acclaimed author Gladys Hob

Re: [rrd-users] [rrd] Can't I turn off data smoothing for GAUGE?

2010-08-19 Thread Simon Hobson
No it won't - except under special circumstances that you can use anyway. If you do not feed in an update **exactly** on every step boundary then normalisation will occur - as per the tutorial I previously posted a link to, you have read it I assume ? This is how rrd works, it would require massi

Re: [rrd-users] GAUGE stored values

2010-08-18 Thread Simon Hobson
idation without breaking that. See http://www.vandenbogaerdt.nl/rrdtool/ In particular, see the tutorial on "Rates, normalizing and consolidating" for an explanation of what rrd tool does. -- Simon Hobson Visit http://www.magpiesnestpublishing.co.uk

Re: [rrd-users] RRA:AVERAGE - How does RRDtool know which RRA to use?

2010-08-18 Thread Simon Hobson
raph. I'd forgotten that, I don't know if it's something that got added since I started with rrdtool, or if I'd just forgotten about it. -- Simon Hobson Visit http://www.magpiesnestpublishing.co.uk/ for books by acclaimed author Gladys Hobson. Novels - poetry - short stories - ideal

<    1   2   3   4   5   6   7   >