Re: [rrd-users] gauges

2008-04-07 Thread Sam Umbach
On Mon, Apr 7, 2008 at 10:50 AM, Joe Loiacono [EMAIL PROTECTED] wrote: I think the chief difference between COUNTER and GAUSE is simply in the retrieval of the information. Actually, the difference is the storage of the data. RRDs store rates, period. With a COUNTER or DERIVE DS, the rate is

Re: [rrd-users] Optimize RRD update

2008-02-05 Thread Sam Umbach
On Feb 5, 2008 7:31 AM, Gwenael Lahay [EMAIL PROTECTED] wrote: Hi, I have an another (last) question. When i use a xff of 0.8 for the frequency 5 minutes, the rrdtool does not calculate correctly the average if the there is only one value. For example, if i have the values : 4 Nan Nan Nan

Re: [rrd-users] Optimize RRD update

2008-02-03 Thread Sam Umbach
, remember that you can collect and batch several RRD updates to run at once. Please see the archives of this mailing list for more information. Thanks, Sam Umbach [EMAIL PROTECTED] ___ rrd-users mailing list rrd-users@lists.oetiker.ch https

Re: [rrd-users] Macosx-Linux, architecture dependent

2007-11-27 Thread Sam Umbach
On Nov 27, 2007 2:52 PM, Christos Vasilakis [EMAIL PROTECTED] wrote: So I would like to ask the list if the rrd file created on a linux machine can be read on a MacosX system? At least in practice it worked. But is there anything that I miss here or overlook considering the fact that rrd files

Re: [rrd-users] delayed updates

2007-11-13 Thread Sam Umbach
functions, consolidating the data before passing it to rrdtool may (probably will) result in a loss of information. If it would be better to show only average numbers (without min and max) instead of a gap in the graph, this may be an reasonable trade-off. -Sam Umbach

Re: [rrd-users] Neuro data in RRD - ns time steps?

2007-08-30 Thread Sam Umbach
I would ideally like to have an RRD for each 2 hour experiment, with each channel as one GAUGE DS containing 36-180M data points (in the native format theses are 2 byte unsigned integers). Be aware that rrdtool stores all values as floating point and performs data aggregation and

Re: [rrd-users] RRDTool time format

2007-08-14 Thread Sam Umbach
The constructor for the Timestamp class requires a value in milliseconds since epoch (1 Jan 1970). RRDTool requires UNIX time which is seconds since epoch. If you need to convert from RRD time to java time, just multiply by 1000. Similarly, you should divide by 1000 (or just drop the last three

Re: [rrd-users] Change time zone (x-axis) on plots?

2007-07-29 Thread Sam Umbach
Try setting TZ=UTC in your environment before calling rrdtool graph. This should override the timezone used for display. -Sam On 7/26/07, Rob Newman [EMAIL PROTECTED] wrote: Hi All, I think this might be a relatively simple question, but I could not see the answer on the rrdtool graph man

Re: [rrd-users] Two Y Axes

2007-07-21 Thread Sam Umbach
Ed, To my knowledge rrdtool cannot draw On 7/21/07, Edward Quick [EMAIL PROTECTED] wrote: Hi, I would like to graph %CPU against Memory Usage (MB) over time. This requires a graph with two Y Axes though, and from what I've been able to ascertain, rrdtool can't do this yet. Could anyone

Re: [rrd-users] Two Y Axes

2007-07-21 Thread Sam Umbach
Sorry, I pressed the wrong key. To my knowledge rrdtool cannot draw a graph with two Y axes, but your case should be pretty simple: convert memory usage to a percentage of total memory and graph them together. -Sam On 7/21/07, Sam Umbach [EMAIL PROTECTED] wrote: Ed, To my knowledge rrdtool

Re: [rrd-users] How to represent national characters on the graphs?

2007-05-04 Thread Sam Umbach
On 5/4/07, [EMAIL PROTECTED] [EMAIL PROTECTED] wrote: Hello, rrd-users. How do I represent national characters on the graphs? I'v searching the list, but didn't get the clue... rrdtool accepts strings in UTF-8 encoding, so you can simply use unicode in your GPRINT, LINE, AREA, and STACK

Re: [rrd-users] rrdfetch resolution problem

2007-05-02 Thread Sam Umbach
I've got a set of RRDs we created to track DNS traffic with a 300 second (5 minute) resolution. I'm trying to retrieve the 5 minute averages, maximums and minimums for the last quarter in order to run some statistics that I can't generate directly from rrd. Unfortunately, I can't seem to

Re: [rrd-users] Wrong Data with rrdfetch

2007-04-25 Thread Sam Umbach
On 4/25/07, Alex van den Bogaerdt [EMAIL PROTECTED] wrote: On Wed, Apr 25, 2007 at 07:08:02PM +0200, Christoph Schwabl wrote: Hello, I get wrong (rounded) data with the rrdfetch command. No, you do not. At least not in your example (I'm sure some rounding will occur, eventually,

Re: [rrd-users] rrd and python - HELP!!!

2007-04-24 Thread Sam Umbach
d) the graphs always show a straight line at '27 k' as seen on http://82.130.102.202 --CODE- #rrdtool.graph(gfxfiles[0],'--end','now','--start','end-43200s','--title','Players on ETH1','DEF:27015='+rrdfile+':27015:AVERAGE','LINE2:27015#FF:\'ETH1\'')

Re: [rrd-users] Problem with CDEFs, and question about PRINT

2007-04-23 Thread Sam Umbach
David, 1) Instead of calling system() directly, save the command to a string first and print it out. That will help you check if there are problems with quotes or other shell special characters. If you're still having a problem, post the command command line (with variables substituted) and we

Re: [rrd-users] libpng error

2007-04-23 Thread Sam Umbach
On 4/20/07, jim steele [EMAIL PROTECTED] wrote: Hello, I have successfully built and installed rrdtool-1.2.19 on OpenBSD 4.0 along with the following libs: freetype-2.3.4 libart_lgpl-2.3.17 libpng-1.2.16 zlib-1.2.3 When I try to create a graph either from a perl script using RRDs or

Re: [rrd-users] Install Problems on OS/X 10.4

2007-04-23 Thread Sam Umbach
On 4/17/07, Doug Kaye [EMAIL PROTECTED] wrote: Perhaps similar to what Phil reported last month, I'm having trouble installing 1.2.19 on OS/X. Here's my configure command. No errors are reported: ./configure --prefix=$INSTALL_DIR --disable-python --disable-tcl make reports (I think

Re: [rrd-users] Not understanding the 'create' function....

2007-04-20 Thread Sam Umbach
On 4/20/07, Leif Neland [EMAIL PROTECTED] wrote: David Ball skrev: I feel a bit sheepish asking, but this just doesn't make sense to me. I create a test RRD as follows: # /usr/local/rrdtool-1.2.19/bin/rrdtool create ../tmp/testRRD3.rrd --start 1167609600 --step 300

Re: [rrd-users] Unable to specify which version of RRDs perl module to use

2007-04-16 Thread Sam Umbach
On 4/15/07, David Ball [EMAIL PROTECTED] wrote: Thanks very much, Sam. That was the ticket. I was CERTAIN I had tried specifying the version yesterday at some point, but obviously hadn't done so correctly, or was being tripped up by something else. Thanks again. Much appreciated.

Re: [rrd-users] Segmentation Fault - Basic Test of RRDTool 1.2.19

2007-04-16 Thread Sam Umbach
On 4/16/07, Mark Easton [EMAIL PROTECTED] wrote: //Create Graph - but this returns a segmentation fault (core dumped) sprintf(argstr, temp.png --start %lu --end %lu DEF:mytemp=temperature.rrd:temp:AVERAGE, (long)start_time, (long)end_time); ret = wrap_rrd_graph( argstr); rrd_wrapper from the

Re: [rrd-users] Question on correct data type

2007-04-16 Thread Sam Umbach
Maybe this is just showing my ignorance, but has anyone ever experienced a counter that fluctuates like this? If so, what have you found to be the best way to handle it in RRDtool? I have tried counter, and guageand out of desperation tried absolute...none of which really depicted what I

Re: [rrd-users] RRDs seems broken on OpenBSD

2007-04-16 Thread Sam Umbach
On 4/11/07, jim steele [EMAIL PROTECTED] wrote: Also, ldconfig does not have a -p switch on OpenBSD Jim, Any progress on your issue? Looking at that list of libraries you posted, I don't see librrd, libpng, libart_lgpl, or libfreetype; and I think that may be the source of the problem. I have

Re: [rrd-users] Segmentation Fault - Basic Test of RRDTool 1.2.19

2007-04-16 Thread Sam Umbach
On 4/16/07, Mark Easton [EMAIL PROTECTED] wrote: rrd_wrapper from the contrib section of the rrdtool website is dated 17-Dec-2001. It has not been kept up and isn't compatible with rrdtool 1.2.x. Actually, I'm not sure how you got it to compile; Yes I know, I wrote my own rrd_wrap which

Re: [rrd-users] Unable to specify which version of RRDs perl module to use

2007-04-15 Thread Sam Umbach
On 4/15/07, David Ball [EMAIL PROTECTED] wrote: use lib '/usr/local/rrdtool-1.2.19/lib/perl/5.6.1/i386-linux'; use RRDs; Try adding the module version number as well: use RRDs 1.2019; print $RRDs::VERSION\n; That way it shouldn't matter if the old RRDs is found first. Also, you'll get a

Re: [rrd-users] RRDs seems broken on OpenBSD

2007-04-10 Thread Sam Umbach
On 4/10/07, jim steele [EMAIL PROTECTED] wrote: The command line rrdtool works properly. Does this mean the rrdtool graph command works properly? If your dynamic linker performs lazy binding (and it looks like it does) then you won't know a symbol is missing until it is accessed. Does this

Re: [rrd-users] Still having problems

2007-04-09 Thread Sam Umbach
So you feed in the number 7 after a one day interval. The program computes the rate as 7 / 86400 somethings/second and stores that - assuming you update on a step boundary. If your updates are not exactly on the step boundaries then the program will normalise what you feed it to fit. For

Re: [rrd-users] RRDs seems broken on OpenBSD

2007-04-09 Thread Sam Umbach
On 4/9/07, jim steele [EMAIL PROTECTED] wrote: Hello, I installed rrdtool 1.2.19 on my newly-installed OpenBSD 4.0 machine, exactly according to the instructions provided. It compiles and installs fine, and the rrdtool command line program works properly, and produces this output: However,

Re: [rrd-users] Is rrd_fetch_fn thread-safe?

2007-03-31 Thread Sam Umbach
Travis, I have attached my patches that add rrd_fetch_r() (and make the strings const char* instead of char*). The only difference between rrd_fetch_r() and rrd_fetch_fn() is that rrd_fetch_r() receives the consolidation function as a string (instead of an enum cf_en). Tobi and other

[rrd-users] Build fails in bindings/python on CentOS and Fedora Core

2007-02-20 Thread Sam Umbach
2.4.4-1.fc6 RRDTool is a wonderful piece of software. I am looking forward to participating in this user community. Thanks, Sam Umbach [EMAIL PROTECTED] ___ rrd-users mailing list rrd-users@lists.oetiker.ch https