Re: [rrd-users] Storing Static + Dynamic data in rrd

2010-02-25 Thread Fabien Wernli
On Thu, Feb 25, 2010 at 02:30:32PM +0100, Tobias Oetiker wrote: > if you have a fixed number of emails per domain then this is doable, the > problem is that all updates to a single rrd file must be > synchronous ... and changeing an existing rrd to a different > structure is not that easy and hav

Re: [rrd-users] How do I install RRDs 1.4.1 in a shared hosted environment (no admin rights)

2010-01-11 Thread Fabien Wernli
On Mon, Jan 11, 2010 at 03:54:24AM -0800, AllSort ofQuestions wrote: > I am posting again, apparently the initial message didn't reach the list, I > have no idea why. Please excuse me if this is going to result in duplicate > messages maybe because it looks like spam? I mean, we don't even know

Re: [rrd-users] RRDTOOL and MRTG on LInux 5

2009-09-22 Thread Fabien Wernli
sorry to play the badass but IMHO this is getting a bit off-topic ___ rrd-users mailing list rrd-users@lists.oetiker.ch https://lists.oetiker.ch/cgi-bin/listinfo/rrd-users

Re: [rrd-users] Background color for day- and night-time and weekends

2009-08-27 Thread Fabien Wernli
On Thu, Aug 27, 2009 at 12:56:45PM +0200, Alexander Skwar wrote: > BUT: You can see there, that there's a small gap between day and night time Just a quick guess: replace GT by GE ? ___ rrd-users mailing list rrd-users@lists.oetiker.ch https://lists.oet

Re: [rrd-users] graphv and Image::Magick::BlobToImage

2009-08-06 Thread Fabien Wernli
On Wed, Aug 05, 2009 at 03:03:33PM +0200, Tobias Oetiker wrote: > ;-) I hope you didn't expect anthing less :-) "The best things in life are unexpected - because there were no expectations." Eli Khamarov ___ rrd-users mailing list rrd-users@lists.oeti

Re: [rrd-users] graphv and Image::Magick::BlobToImage

2009-08-05 Thread Fabien Wernli
Hi Fabien, On Tue, Aug 04, 2009 at 02:38:07PM +0200, Fabien Wernli (aka Fabien Wernli) wrote: > I was wondering if anybody successfully managed to interface perlmagick's > Blob functionality with RRDs's graphv image='-' blob. > > The idea would be to generat

[rrd-users] graphv and Image::Magick::BlobToImage

2009-08-04 Thread Fabien Wernli
Hi, I was wondering if anybody successfully managed to interface perlmagick's Blob functionality with RRDs's graphv image='-' blob. The idea would be to generate rrdtool graphs into memory and directly use them within imagemagick. cheers ___ rrd-users

Re: [rrd-users] Bar Graphs

2009-05-12 Thread Fabien Wernli
On Tue, May 12, 2009 at 08:55:17AM +1000, Sam Nuth wrote: > Just wondering if anyone knows how to create bar graphs with rrdtool instead > of line graphs? by increasing --step ;-) ___ rrd-users mailing list rrd-users@lists.oetiker.ch https://lists.oetik

Re: [rrd-users] Legend box placement

2009-01-02 Thread Fabien Wernli
On Thu, Dec 25, 2008 at 01:22:48AM +0100, Michal Drozdziewicz wrote: > Is there a way to do this or isn't? Anybody knows? there's always a way. I'm afraid here it'll be to modify the source code ___ rrd-users mailing list rrd-users@lists.oetiker.ch http

Re: [rrd-users] Automatic Timestamp in RRD graphs

2008-11-26 Thread Fabien Wernli
On Wed, Nov 26, 2008 at 05:16:45AM -0800, Martin Knoblauch wrote: > is there an rrdtool option to add a time stamp to the RRD graphs? That would > be good for docimantation purposes. One can of course add them manually, but > I am lazy :-) then you won't be able to discover that rrdtool's --laz

Re: [rrd-users] Top 10 Ports

2008-11-26 Thread Fabien Wernli
Hi, On Wed, Nov 26, 2008 at 12:44:25PM -, [EMAIL PROTECTED] wrote: > Currently have the database updating and graphing working for all the ports > however would like to graph only the top 10 ports for the last hour, possibly > in descending order as well? Have looked everywhere for a sample

Re: [rrd-users] Filtering of RRD Data prior to graphing ?

2008-10-30 Thread Fabien Wernli
On Thu, Oct 30, 2008 at 11:05:16AM +0100, Robert wrote: > 4) filter the values greater than X before graphing (this would be > nice, while keeping the auto scaling of the graphs!!) > > Is there a way to to (4) with current implementation of RRD ? sure! use an appropriate RPN, e.g. myds, $MAX,

Re: [rrd-users] problem with a network interface counter

2008-10-06 Thread Fabien Wernli
On Mon, Oct 06, 2008 at 01:18:21PM +0200, Shahar Fleischman wrote: > I have a router that one of its interfaces is zeroed in less than a > minute (its counter get zeroed at 4GB) and I get really weird results in > the graphs, it shows less than what it should show. > I query the router every minute

Re: [rrd-users] rrdtool on amd64 accessing ia32 rrd files...

2008-10-06 Thread Fabien Wernli
On Mon, Oct 06, 2008 at 02:05:58PM +0200, Jan Huijsmans wrote: > Is there any way at all to acces the files on the AMD64 server so I can > use the data or is the only way to dump the data on the ia32 system and > then import them on the amd64 server? you need to export them to xml and back to bina

Re: [rrd-users] Segmentation Fault

2008-09-05 Thread Fabien Wernli
On Wed, Aug 27, 2008 at 10:10:30AM -0300, Caio Brentano wrote: > I noticed that it is causing by RRD::fetch because this is the only > line that I comment and everything goes ok. I debbuged all script, > and everyting seems to be right. I'm getting convinced that RRD::fetch > is not thread safe.

Re: [rrd-users] Inquiring on how to ease disk io (linux).

2008-06-25 Thread Fabien Wernli
On Wed, Jun 25, 2008 at 12:31:09PM +0200, Raimund Berger wrote: > Hm, good point, but is there already a publicly available solution for > this approach? Sounds to me like distributing some home grown scripts > over the network ... I have some trivial shell scripts if you're interested it's only

Re: [rrd-users] Inquiring on how to ease disk io (linux).

2008-06-25 Thread Fabien Wernli
On Wed, Jun 25, 2008 at 11:59:36AM +0200, Raimund Berger wrote: > Been testing with up to 100 clients. then my first advice will be (I have 2500 clients) to cache locally on each client and send the rrd info once in a while. ___ rrd-users mailing list r

Re: [rrd-users] Inquiring on how to ease disk io (linux).

2008-06-25 Thread Fabien Wernli
Hi, On Wed, Jun 25, 2008 at 05:06:29AM +0200, Raimund Berger wrote: > is pretty cool, as the number of monitored systems increases the > server's disks start to rattle noticably. Quite understandably so I How many systems do you monitor? ___ rrd-users

Re: [rrd-users] rrdtool update not working

2008-06-19 Thread Fabien Wernli
On Wed, Jun 18, 2008 at 02:48:47PM -0400, Emily Chouinard wrote: > 'DS:sys_info:DERIVE:00:0:100', [...] > 'DS:idle_info:DERIVE:00:0:100', didn't look at the rest, but a heartbeat of 0 seems to be a bad idea ___ rrd-users mailing list rrd

Re: [rrd-users] Still trying to create a graph from multiple sources in RRDtool

2008-06-13 Thread Fabien Wernli
On Fri, Jun 13, 2008 at 11:40:28AM -0400, Matthew M. Boedicker wrote: > For CPU usage you might want to try GAUGE instead of COUNTER. For graphing no you don't: Emily is pulling /proc/stat values which _are_ counters using GAUGE would produce endlessly growing values _

Re: [rrd-users] RRDtool Beginner

2008-06-11 Thread Fabien Wernli
On Wed, Jun 11, 2008 at 11:38:53AM -0400, Emily Chouinard wrote: > Any pointers in the right direction or suggestions would be appreciated. You could play with the contents of /proc/stat to monitor CPU usage: [...] cpu 823945 102664 419218 112203483 434859 6285 334160 0 0 [...] just create COU

Re: [rrd-users] building a huge rrd / any limitations?

2008-06-11 Thread Fabien Wernli
On Wed, Jun 11, 2008 at 03:14:18AM +0200, Karl Fischer wrote: > I'm planning to create a really huge rrd with 5-10 million rows > holding about 100-200 entries each, so the complete rrd will reach > a size of 5 .. 20 GB ... > Are there any problems to expect when creating and using an rrd > that si

[rrd-users] /proc/stat accuracy

2008-06-10 Thread Fabien Wernli
Hi, Does anyone monitor cpu usage on a recent linux kernel using /proc/stat? I'm having peaks of 42 cpus on my idletime, lucky me! BTW I'm using CONFIG_NO_HZ=y Sorry if this is slightly bit off-topic ___ rrd-users mailing list rrd-users@lists.oetiker.

Re: [rrd-users] Perl 5.10 Issues

2008-06-05 Thread Fabien Wernli
On Thu, Jun 05, 2008 at 01:54:33PM +0200, Tobias Oetiker wrote: > since perl looks in many locations for modules, this can happen > quite easily. The default makefile always installs the rrd modules > together with rrdtool, this makes it simple to keep things apart by > setting use lib qw(...); but

Re: [rrd-users] Perl 5.10 Issues

2008-06-05 Thread Fabien Wernli
On Wed, Jun 04, 2008 at 06:16:34PM +0200, Tobias Oetiker wrote: > I think the problem here is that there are two rc versions > installed on this system. the one from 080526 as well as the one > from 080530 Well I had - but shouln't the makefile take care of that? _

Re: [rrd-users] Perl 5.10 Issues

2008-06-04 Thread Fabien Wernli
On Wed, Jun 04, 2008 at 02:02:17PM +, Martin Rheumer wrote: > RRDs object version 1.2999080526 does not match bootstrap parameter > 1.299908053 at /usr/lib/perl5/5.10.0/i386-linux-thread-multi/DynaLoader.pm > line 226. so you did recompile? I had this issue and thought it was me doing somethi

Re: [rrd-users] RRD and Respironics Smart Card

2008-04-22 Thread Fabien Wernli
On Tue, Apr 22, 2008 at 01:17:08PM -0400, Chris wrote: > Sorry, I have to ask... > So, how is your weight affected when you 'rrdtool dump'? yikes! :-) > I'm looking for suggestions or pointers about how to unlock and > dump such a file. Any help will be greatly appreciated. you were talking abo

Re: [rrd-users] RRD and Respironics Smart Card

2008-04-22 Thread Fabien Wernli
On Tue, Apr 22, 2008 at 09:45:59AM -0400, Chris wrote: > I'm pretty sure the data is in some form of round > robin database for a number of reasons: > a. the data record on the smartcard >is always the same size: 32KB. > b. the old data rolls off when the card >is full, and new data cont

Re: [rrd-users] Using rrd-files cross architecture

2008-04-10 Thread Fabien Wernli
Hi, On Tue, Apr 01, 2008 at 03:27:46PM +0200, Volker Machon wrote: > while dumping and restoring the files. And I need the generated graphs > as fast as it would be if I just generate them calling "rrdtool graph". > So dump and restore is not a good choice for me. If you're stuck with your arch

Re: [rrd-users] Disk I/O

2008-03-14 Thread Fabien Wernli
Hi, Sorry if I'm proposing old news but have you tried a different fs to store the rrds? ___ rrd-users mailing list rrd-users@lists.oetiker.ch https://lists.oetiker.ch/cgi-bin/listinfo/rrd-users

Re: [rrd-users] Disk I/O

2008-03-13 Thread Fabien Wernli
Hi, On Wed, Mar 12, 2008 at 01:06:47PM -0500, Jeremy wrote: > issues, it's keeping up ok but the system is getting less and less > responsive as the I/O stays pegged at near 100%. as Tobi said, 10k rrds should not be a problem using a fairly recent system along with a recent version of rrdtool. O

Re: [rrd-users] Dump and rebuild and restore XML with perl

2008-03-11 Thread Fabien Wernli
Hi, For what it's worth, you can adjust the heartbeat using rrdtune ___ rrd-users mailing list rrd-users@lists.oetiker.ch https://lists.oetiker.ch/cgi-bin/listinfo/rrd-users

Re: [rrd-users] MAX values dependant on width of graph

2008-03-07 Thread Fabien Wernli
On Fri, Mar 07, 2008 at 02:36:02PM +0100, Alex van den Bogaerdt wrote: > which means you are looking at the maximum of all averages, not at > the maximum of all maximums. just to make some noise, I am still looking for an application of using the minimum of a MAX rra ;-) _

Re: [rrd-users] Subtraction and NaN values

2008-02-20 Thread Fabien Wernli
On Tue, Feb 19, 2008 at 01:35:37PM -0300, Eduardo Bragatto wrote: > CDEF:memBuffer=UNKN,DSmemBuffer,EQ,DSmemBuffer,0,IF > > I was expecting memBuffer to have 0 or the value from DSmemBuffer if > it's not NaN. did you try "U" or "NAN" instead? can't remember the syntax either __

Re: [rrd-users] Conception problem on a rrd database

2008-02-19 Thread Fabien Wernli
On Mon, Feb 18, 2008 at 05:50:04PM +0100, Gwenael Lahay wrote: > Do you really think that using a recent version of rrdtool will improve the > performance ? definitely worth a try. I had, at least on a 2.6.x linux kernel, a huge performance gain ___ rrd

Re: [rrd-users] Conception problem on a rrd database

2008-02-18 Thread Fabien Wernli
On Mon, Feb 18, 2008 at 01:53:30PM +0100, Gwenael Lahay wrote: > My hard drive could no manipulate so much files at the same time. > Consequently, i have performance problems to write and read data. did you try rrdtool 1.3beta ? ___ rrd-users mailing li

Re: [rrd-users] update multiple val using perl module

2008-02-12 Thread Fabien Wernli
On Tue, Feb 12, 2008 at 06:21:30AM -0500, solaris identity wrote: > How can update a single DS with multiple values(different timestamp) using > Perl module in one run? I'm using a list: $DB="file.rrd"; RRDs::update($DB, @DATA); ___ rrd-users mailing l

Re: [rrd-users] Trouble graphing small values

2008-02-09 Thread Fabien Wernli
On Fri, Feb 08, 2008 at 11:59:38PM +0100, Lazy wrote: > I'm getting values around 15m(on graphs) when rrd contains small > positive values. you can put an 'IF' directive with a minimum value on your graph directives if you want ___ rrd-users mailing lis

Re: [rrd-users] How to graph full interface graphs

2008-02-05 Thread Fabien Wernli
On Tue, Feb 05, 2008 at 07:58:38AM +, Simon Hobson wrote: > I know there's the tutorials, but there's a gap between the basics of > where the tutorial leaves off, and the complex stuff used in many > graphs. good idea, but it's not possible for all graphs as many use other non-rrd features

Re: [rrd-users] MRTG/RRD Intermittent Graphs

2008-02-04 Thread Fabien Wernli
Hi, I had tremendous performance issues when migrating from an old server running linux 2.4.x and rrdtool 1.2.y to a new server running linux 2.6.w and rrdtool 1.2.y. (managing 2 rrd files). The only plausible cause that I was left with was the kernel handling IOs differently. The upgrade to

Re: [rrd-users] Optimize RRD update

2008-02-03 Thread Fabien Wernli
On Sun, Feb 03, 2008 at 06:48:06PM +0100, Gwenael Lahay wrote: > I update my rrd file to put zero values because my rrd file stores 3 > frequency of the same data. and only one of the 3 gets updated at any one time? > correctly the average value for 5 minutes and half and hour. > For example, i h

Re: [rrd-users] Optimize RRD update

2008-02-01 Thread Fabien Wernli
Hi, On Fri, Feb 01, 2008 at 09:43:31AM +0100, Gwenael Lahay wrote: > More over, is it possible to replace (by default) NaN values with zero for > the period you don't update a rrd. No. Well, you could use a very large heartbeat. > (especially when there is no data and that i need top > update al

Re: [rrd-users] timestamp and manually inserting data

2008-01-23 Thread Fabien Wernli
On Wed, Jan 23, 2008 at 11:49:22AM -0500, Ron Peterson wrote: > I'd still appreciate any insight into the meaning of the --start parameter > though. it's in epoch format (seconds since 01/01/1970) so 1 isn't valid if your database starts now (1201107585) _

Re: [rrd-users] rrdtool & performance: Advise on rrd file size and maximum number of rows

2008-01-23 Thread Fabien Wernli
On Wed, Jan 23, 2008 at 11:02:38AM +0100, Cyrille Bollu wrote: > we are planing to create a few hundred rrd files whose number of rows per > RRA might raise to about 100.000 (though most of them will have between > 1000 and 20.000 rows). The size of the resulting rrd files is expected to > be up

Re: [rrd-users] values being averaged.

2008-01-17 Thread Fabien Wernli
On Thu, Jan 17, 2008 at 12:57:08PM -0500, Shriver, Daniel wrote: > "GAUGE does not save the rate of change. It saves the actual value > itself. There are no divisions or calculations. Note though, GAUGE, > like all other types IS normalized. Thus if a value comes in at an > off interval timing (s

Re: [rrd-users] values being averaged.

2008-01-17 Thread Fabien Wernli
Hi, On Thu, Jan 17, 2008 at 06:18:55PM +0200, [EMAIL PROTECTED] wrote: > My biggest assumption was that the documentation was correct, this seems > to be incorrect, as the tutorial rrd_beginners > http://oss.oetiker.ch/rrdtool/tut/rrd-beginners.en.html states quiet > clearly: > "GAUGE does not sav

Re: [rrd-users] Scaling rrd tables for best performance

2007-12-06 Thread Fabien Wernli
On Thu, Dec 06, 2007 at 01:43:23PM +0100, Alex van den Bogaerdt wrote: > I'm not sure if RRDtool does or does not cache the header parts of > each RRD. This could be a good thing, provided that enough memory > is available. 1.3 at least does mmap and header should be cached in memory yes ___

[rrd-users] feature request

2007-12-03 Thread Fabien Wernli
Hi, I know I should do it myself, but if somebody on the list thinks it's a great idea && is more motivated than me ;) I'd be cool, in conjuction with "-j" = "--only-graph" to have a "--only-legend" option, e.g. to display on a webpage all the thumbnails + the legend seperately _

Re: [rrd-users] backup of the rrd file

2007-11-21 Thread Fabien Wernli
On Wed, Nov 21, 2007 at 08:02:42PM +0100, Peter Mueller wrote: > I think 1 and 2 at the same time is no problem. But what happes when 1 and > 3 runs > at the same time. Is the copy ok or corrupt? I guess it depends on the underlying filesystem and how it handles transactions. I'm still pretty sur

Re: [rrd-users] Data Source Name - 19 character limitation

2007-11-21 Thread Fabien Wernli
On Tue, Nov 20, 2007 at 05:06:19PM -, Clint Cronwright - Jacarta wrote: > The reason I ask is that I support an SNMP device, this device has some very > long element names within the MIB, 30+ characters, and I am being told that > this can not be used with RRDTool as the Data Source Names can o

Re: [rrd-users] Graphics Problem

2007-11-21 Thread Fabien Wernli
On Tue, Nov 20, 2007 at 06:21:58PM -0300, Wagner Vieira wrote: > it?s my first time here. what is wrong: > http://www.provale.com.br/graficos.html you tell us! ___ rrd-users mailing list rrd-users@lists.oetiker.ch https://lists.oetiker.ch/cgi-bin/listi

Re: [rrd-users] Find the DEF and value at x, y on graph image (for mouse-over)?

2007-11-18 Thread Fabien Wernli
Hi, On Wed, Nov 14, 2007 at 11:18:02AM +0100, Peter Valdemar Mørch wrote: > I realize that this may involve som AJAX to fetch the data from RRD file > on the server given the (x,y) on the image, or alternatively huge DATA > structures in the HTML file, but am prepared to deal with that. > > Has

Re: [rrd-users] v1.3 on FreeBSD

2007-11-18 Thread Fabien Wernli
Hi, On Sun, Nov 18, 2007 at 05:55:08AM -, Steven Hartland wrote: > rrd_open.c:178: warning: implicit declaration of function `madvise' are you able to compile disabling mmap? ___ rrd-users mailing list rrd-users@lists.oetiker.ch https://lists.oetik

Re: [rrd-users] Removing spacing around graphs

2007-11-18 Thread Fabien Wernli
On Fri, Nov 16, 2007 at 06:28:54PM +, Richard Lawley wrote: > there any way to trim the space around the graphs? One way to do it which is probably not what you want is the -j option ___ rrd-users mailing list rrd-users@lists.oetiker.ch https://list

Re: [rrd-users] backup of the rrd file

2007-11-18 Thread Fabien Wernli
On Sun, Nov 11, 2007 at 05:10:49PM +0100, Peter Mueller wrote: > lock is released? Can the rrd file become inconsistent? You should be safe. One way to put it is you don't care about that when you run another rrdtool process to graph the data you're currently writing to, do you? _

Re: [rrd-users] delayed updates

2007-11-13 Thread Fabien Wernli
On Tue, Nov 13, 2007 at 09:28:13AM -0800, Jason Fesler wrote: > Nope. SEnd the oldest data first. Maybe don't send it all at once - but > record into rrd from your queue oldest first. what we do is to drop one entry out of two, so we don't get any gaps (as long as our heartbeat=4*step isn't at

Re: [rrd-users] is there an editor for rrd files?

2007-11-04 Thread Fabien Wernli
On Sun, Nov 04, 2007 at 02:08:44PM +0100, Michael Renner wrote: > I wonder if there is a working (!) editor for rrd files. I try to use 'RRD > Editor' from ToolSmith.com, but I had several problems (e.g. the application > crashes immediately (Linux) or isn't able to read the files generated from

Re: [rrd-users] 1.3b and timestamps

2007-11-02 Thread Fabien Wernli
On Wed, Oct 31, 2007 at 07:47:59AM +0100, Tobias Oetiker wrote: > http://lkml.org/lkml/2007/1/9/310 > > it seems to be a kernel bug ... now that's _very_ interesting. I'll update my code then to workaround that. All my "--lazy" stopped working as expected 8-/

Re: [rrd-users] 1.3b and timestamps

2007-10-30 Thread Fabien Wernli
On Wed, Oct 31, 2007 at 01:27:03AM +0100, Tobias Oetiker wrote: > I don't think it has todo with noatime ... it is the mtime which > does not get updated, right ? I have seen the same happening with > samba database files ... I know - and yes, the atime _is_ being modified. It's the mtime which st

Re: [rrd-users] 1.3b and timestamps

2007-10-30 Thread Fabien Wernli
On Tue, Oct 30, 2007 at 01:59:50PM -0400, Andy Riebs wrote: > Is your disk mounted with the "noatime" attribute, by any chance? I already checked: it's not! /dev/md10 /srv xfs rw,nosuid,nodev,sunit=128,swidth=256 0 0 ___ rrd-users mailing list rrd-users

[rrd-users] 1.3b and timestamps

2007-10-30 Thread Fabien Wernli
Hi, I just noticed that timestamps of RRDs stopped to be updated since my upgrade to 1.2.99907080300 Any idea why? ___ rrd-users mailing list rrd-users@lists.oetiker.ch https://lists.oetiker.ch/cgi-bin/listinfo/rrd-users

Re: [rrd-users] Putting a degree sign in an SVG?

2007-10-28 Thread Fabien Wernli
On Sun, Oct 28, 2007 at 06:19:26PM +0200, Anssi Saari wrote: > http://www.modeemi.fi/~as/ctxt_new.svg was generated by 1.3beta, Opera doesn't like it either BTW ___ rrd-users mailing list rrd-users@lists.oetiker.ch https://lists.oetiker.ch/cgi-bin/listi

Re: [rrd-users] I/O Read overkill

2007-10-28 Thread Fabien Wernli
Hi, On Fri, Oct 26, 2007 at 05:53:33AM -0700, Jason Fesler wrote: > I wonder if it is the defaults for readahead. "man blockdev" and search > for readahead. You might read what your defaults were on the old kernel; > and temporarilly apply them to your drives under the new kernel, and see >

Re: [rrd-users] Putting a degree sign in an SVG?

2007-10-28 Thread Fabien Wernli
On Sun, Oct 28, 2007 at 12:18:43AM +0200, Tobias Oetiker wrote: > you may want to try rrdtool 1.3beta ... > > it uses cairo to generate the svg ... this should fix this problem and it'll generate fewer IOs to draw the symbol ;-) ___ rrd-users mailing l

Re: [rrd-users] I/O Read overkill

2007-10-26 Thread Fabien Wernli
On Fri, Oct 26, 2007 at 09:47:38AM +0200, Fabien Wernli wrote: > Before: 294% iowait > 4.9MB/s read (hardware raid1 hidden to linux) > 1.1MB/s write > 4.6 loadavg > > After: 318% iowait > 57.9MB/s read (linux raid10 -> values have to be div

[rrd-users] I/O Read overkill

2007-10-26 Thread Fabien Wernli
Hi, Yesterday I migrated my dual-xeon 4GB RAID1 rrd to a quad-opteron 8GB RAID10 server, in the hope to reduce the load. I am managing 18k RRDs, each being updated randomly every ~10minutes over ssh, which makes roughly 30 file updates/s. I had many performance problems with the new server, which

Re: [rrd-users] rrd with clientside scripting

2007-09-30 Thread Fabien Wernli
Hi, On Sun, Sep 30, 2007 at 10:41:13AM +0200, Peter Mueller wrote: > I have seen perl scripts for that but there I have no perl running on > the Linksys. > What is the best way to realize this? Is there already something > useable out there? What I do is store the RRDs on a linux box connecte

Re: [rrd-users] on demand graph

2007-09-14 Thread Fabien Wernli
On Fri, Sep 14, 2007 at 02:51:07AM +0500, Masood Ahmad Shah wrote: > Well, thanks for giving reference for such application. I'm interested in > some perl code to draw a graph on user request with start and end date > request. How you guys mentioned start date and end date along with time > while c

Re: [rrd-users] FW: RRD

2007-08-22 Thread Fabien Wernli
On Wed, Aug 22, 2007 at 12:09:25PM -0700, Jason Fesler wrote: > You might ask, nicely, whoever packaged the sunfreeware package, if they'd > also consider building with perl bindings. too bad you missed sysadminday ;) ___ rrd-users mailing list rrd-user

Re: [rrd-users] Web log graphing

2007-06-19 Thread Fabien Wernli
On Mon, Jun 18, 2007 at 05:35:05PM -0600, Richard Pyne wrote: > Before I re-invent the wheel, does anyone have or know of scripts to graph > the total bytes transfered using the data from an Apache web log? webalizer will probably do what you need ___

Re: [rrd-users] Architecture errors moving from FreeBSD -> Windows

2007-06-04 Thread Fabien Wernli
On Mon, Jun 04, 2007 at 01:48:57AM +0100, Steven Hartland wrote: > While I can understand architecture issues moving between different > endian CPU architectures it seems a bit strange to get arch errors > when transporting between two OS's on the same architecture. are you sure both were 32 (64)

Re: [rrd-users] convert from rrd files to csv files

2007-06-03 Thread Fabien Wernli
On Sun, Jun 03, 2007 at 08:39:09AM -0700, Engy wrote: > i found it but so u mean that i dumb it in xml then convert from xml to yeah dump it in dumb xml ;) ___ rrd-users mailing list rrd-users@lists.oetiker.ch https://lists.oetiker.ch/cgi-bin/listinfo

Re: [rrd-users] Fedora and rrdtool error '/usr/local/rrdtool/lib/perl/auto/RRDs/RRDs.so'

2007-04-25 Thread Fabien Wernli
On Wed, Apr 25, 2007 at 08:37:51PM -0700, Simon Tipper wrote: > Need someones help. Have installed rrdtool and nmis multiple times and had no > issues > > I get the following error '/usr/local/rrdtool/lib/perl/auto/RRDs/RRDs.so' > on my curret, first Fedora box. I fixed this once by seeting

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

2007-04-24 Thread Fabien Wernli
On Tue, Apr 24, 2007 at 04:42:17PM -0400, Sam Umbach wrote: > Your DEFs are "27015", "27016", and "27017"--that's where your 27k is > coming from. Give your DEFs non-numeric names so rrdtool doesn't > confuse them with numeric literals (try > 'DEF:srv27015='+rrdfile+':27015:AVERAGE', and make the

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

2007-04-24 Thread Fabien Wernli
On Tue, Apr 24, 2007 at 09:19:52PM +0200, Lorenz Breu wrote: > d) the graphs always show a straight line at '27 k' as seen on > http://82.130.102.202 > > can somebody tell me where the problem could be??? i am really stuck :( because you defined constant DS's? DS:27015:GAUGE:20:0:14 27015 is a

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

2007-04-23 Thread Fabien Wernli
On Mon, Apr 23, 2007 at 11:27:22AM -0600, David Ball wrote: > divide by 8 to get Bytes. From the Perl script I'm using a system() > call to call rrdtool. The current system() call line I'm using can be You really ought to use the perl bindings. Using system() really makes no point in using perl

Re: [rrd-users] can RRDTool help me? merge datasets

2007-04-18 Thread Fabien Wernli
On Wed, Apr 18, 2007 at 12:20:39AM -0700, p vr wrote: > even though the connections series started earlier in time. > > am i misunderstanding what rrdtool can do? you have to update the user and connections at the same time into the RRD, as rrdtool cannot import older data than the last inserted

Re: [rrd-users] RPN Question

2007-04-17 Thread Fabien Wernli
On Tue, Apr 17, 2007 at 04:27:02AM -0700, Wesley PA4WDH wrote: > I have tried this: > total=new_value,UN,total_calucated_so_far,total_calulated_so_far,new_value,+,IF you need to replace this with something like: total=new_value,UN,0,new_value,IF,old_value,+ which will add new_value to old_value

Re: [rrd-users] a few question to ask

2007-03-21 Thread Fabien Wernli
On Wed, Mar 21, 2007 at 08:17:52PM -0700, zura baizura wrote: > how to change my script. Before this the script is > using TIMESTAMP=`date +%s`. use TIMESTAMP=`date +%s -d now-5min` > and bytheway the time of data is not at every 5 > minutes or else because he wants the time is random. i > know t

[rrd-users] Re: graphing a time

2006-10-23 Thread Fabien Wernli
On Mon, Oct 23, 2006 at 02:46:54PM +1000, Darryl Lewis wrote: > I'm trying to graph how often google crawls some pages on my site. > So far, it can be as frequent as 1 day, other times, it might be weeks or > months. > Does anyone have an idea how I might be able to use rrdtool to grapgh > someth

[rrd-users] Re: CPU usage RRD-DS Please help

2006-10-13 Thread Fabien Wernli
On Fri, Oct 13, 2006 at 10:05:38AM +0900, Mr. Suhas Ghosh wrote: > Hi all. > I want to display CPU usage graph(perl script+rrdtool) > 1. 6h > 2. 1day > 3.1week. > 4. 1 month > 5. 1 year. > I want to collect data from /proc/stat. > I am using these command > my $usr =

[rrd-users] Re: is rrd appropriate for my purpose?

2006-10-13 Thread Fabien Wernli
On Thu, Oct 12, 2006 at 09:33:21PM +0200, Vojt?ch Krmí?ek wrote: > we are using nfdump tool, which stores netflow data in rrd database. > But we need to store this data for a longer time - one year history or > sth. like this, so the size of rrd file will be aproximately around > 6TB/year. you do

[rrd-users] Re: remove DS from the database

2006-10-11 Thread Fabien Wernli
On Wed, Oct 11, 2006 at 07:51:44PM +0200, Miki Laor wrote: > Is there any script or a command that allows me to delete a DS from the > database? has been discussed many times please consult the archive short answer is no only solution is export, remove DS, import -- Unsubscribe mailto:[EMAIL PROT

[rrd-users] convert rrds between archs

2006-09-13 Thread Fabien Wernli
Hi, Is there a way besides rrd2xml2rrd to convert rrd files e.g. from i386 to amd64? -- Unsubscribe mailto:[EMAIL PROTECTED] Helpmailto:[EMAIL PROTECTED] Archive http://lists.ee.ethz.ch/rrd-users WebAdminhttp://lists.ee.ethz.ch/lsg2.cgi

[rrd-users] Re: Removed DS from RRD files

2006-07-27 Thread Fabien Wernli
On Wed, Jul 26, 2006 at 09:49:05AM -0700, Travis Spencer wrote: > Is it possible to remove a data source from an RRD file? We have some > RRDs that contain two data sources, and we don't want one of them any > more. please search the list archive this has been discussed several times -- Unsubscr

[rrd-users] Re: Different Graph look from 1.0.46 to 1.2.15

2006-07-25 Thread Fabien Wernli
On Mon, Jul 24, 2006 at 05:44:52PM -0300, Rodrigo P. Telles wrote: > Recently I updated from rrdtool 1.0.46 to 1.2.15 and realised that there are > some diferences in the look of the graph as you can see in the link below. > > http://www.devel.it/images/rrdtool.html The second looks *much* better

[rrd-users] Re: RRD-Performance Issue - Need Help

2006-06-21 Thread Fabien Wernli
On Tue, Jun 20, 2006 at 12:38:20PM +0200, Alex van den Bogaerdt wrote: > > | awk '/whatever/{print $2}' in.txt > > How is this different from my: > > > and remove grep as well: > > > > >>> < in.txt awk '/whatever/{print $2}' > > Thank you very much for your contribution! For the record I:

[rrd-users] Re: RRD-Performance Issue - Need Help

2006-06-20 Thread Fabien Wernli
On Tue, Jun 20, 2006 at 11:57:59AM +0200, Simone Felici wrote: > The snmpwalk is fast, but the cicle with all grep, awk, rrdtool update needs > minimum 7 minutes on first router and 20 minutes on second router!! I divided the serverload by at least 20 by using perl and RRDs instead of shell/awk/se

[rrd-users] Re: RRD-Performance Issue - Need Help

2006-06-20 Thread Fabien Wernli
On Tue, Jun 20, 2006 at 12:23:28PM +0200, Alex van den Bogaerdt wrote: > >>> < in.txt grep whatever | awk '{print $2}' hmmm make it | awk '/whatever/{print $2}' in.txt to save another cycle or use perl :o) -- Unsubscribe mailto:[EMAIL PROTECTED] Helpmailto:[EMAIL PROTECTED] Archiv

[rrd-users] rrdgraph_data plot start and end

2006-06-13 Thread Fabien Wernli
Hi, I'm looking for a way to plot "start" and "end" dates on the graph, without having to use "COMMENT" and perl code to reinterpret at-style dates from the command line. -- Unsubscribe mailto:[EMAIL PROTECTED] Helpmailto:[EMAIL PROTECTED] Archive http://lists.ee.ethz.ch/rrd-users Web

[rrd-users] Re: problems summing many sources together

2006-06-07 Thread Fabien Wernli
On Wed, Jun 07, 2006 at 05:26:08PM +0200, Georges Toth wrote: > Which "looks" fine if all the soruces contain data. > But if some sources don't contain data, I just get NAN. you need to add an IF directive there which returns data or zero if undefined: | CDEF:mycdef=mydef,UN,0,mydef,IF which yie

[rrd-users] Re: How to change the graph way ???

2006-05-13 Thread Fabien Wernli
On Sat, May 13, 2006 at 09:16:29AM -0500, Juan Antonio Pérez Gutiérrez wrote: > Thanks Fabien > > umm... lootdrr is an option for the rrdtool graph instruction or is another > application ??? > I'm newer on RRDTool, so please be patient. :-) give it a search on http://elgoog.rb-hosting.de/

[rrd-users] Re: How to change the graph way ???

2006-05-13 Thread Fabien Wernli
On Fri, May 12, 2006 at 10:17:18PM -0500, Juan Antonio Pérez Gutiérrez wrote: > Does any body know how to change the graph way ??. I mean, by default > RRD make the graph from rigth to left, and i need to change that form > left to rigth. maybe use lootdrr ? -- Unsubscribe mailto:[EMAIL PROTECTED

[rrd-users] Re: Getting the timestamp corresponding to MAX value

2006-05-12 Thread Fabien Wernli
On Fri, May 12, 2006 at 10:55:20AM +0200, Alex van den Bogaerdt wrote: > stalled. Perhaps it's time to pick it up again. There does however > not seem to be much demand for it, eventhough it seemed a good idea. I think it's a great idea. I mean it's very valuable information to have the time whe

[rrd-users] Re: New here and yet a question

2006-05-12 Thread Fabien Wernli
Hi, On Fri, May 12, 2006 at 10:31:13AM +0200, Vincent-ML wrote: > can we have an upper limit set + the autoscaling feature (but between 0 > and this upper limit thingy) so i can get rid of the crazy high values > that are returned sometimes and still keep a clean graph if the values > are stand

[rrd-users] temperature measure kills sensor

2006-05-12 Thread Fabien Wernli
Hi, I am monitoring the temperature of hda and hdb of 192 servers using /proc/ide/ smart values and rrdtool. I am measuring every 15s, and I am having strange behaviour after 1 week of data collection on almost all servers: the temperature eventually gets constant. Does anybody have some experie

[rrd-users] Re: Getting the timestamp corresponding to MAX value

2006-05-11 Thread Fabien Wernli
On Thu, May 11, 2006 at 07:16:11AM -0700, Praveen P wrote: > Can you let me know the format so that I can try to > get something out of it ? It might have been %c, %x or %X but I'm not sure -- Unsubscribe mailto:[EMAIL PROTECTED] Helpmailto:[EMAIL PROTECTED] Archive http://lists.ee.et

[rrd-users] Re: Getting the timestamp corresponding to MAX value

2006-05-11 Thread Fabien Wernli
On Thu, May 11, 2006 at 06:31:14AM -0700, Praveen P wrote: > According to 'Variables' section of the page > (http://oss.oetiker.ch/rrdtool/doc/rrdgraph_rpn.en.html), > TIME does not seem to work in a VDEF. I remember having succeeded in making TIME work, but then again the format description seeme

[rrd-users] Re: Getting the timestamp corresponding to MAX value

2006-04-24 Thread Fabien Wernli
On Mon, Apr 24, 2006 at 05:41:35AM -0700, Praveen P wrote: > Hi, > > Is there a way to get the timestamp corresponding to > the MAX value of a variable ? use rrdgraph VDEFs -- Unsubscribe mailto:[EMAIL PROTECTED] Helpmailto:[EMAIL PROTECTED] Archive http://lists.ee.ethz.ch/rrd-users

[rrd-users] Re: How to move old data into rrd

2006-04-13 Thread Fabien Wernli
Hi! On Wed, Apr 12, 2006 at 02:08:44PM -0800, Colht, Charles wrote: > I have a lot of performance data in flat files that I would like to move to > rrds. But when I try to use update to put the data in, rrdtool complains > about the old time stamps or the interval (I'm feeding it lots 5 minute d

  1   2   >