From Mathieu.Larchet at univ-nancy2.fr Fri Jun 1 08:08:33 2007 From: Mathieu.Larchet at univ-nancy2.fr (Mathieu LARCHET) Date: Fri, 01 Jun 2007 08:08:33 +0200 Subject: [rrd-users] Duplicate month In-Reply-To: References: <465ED6DB.80601@univ-nancy2.fr> Message-ID: <465FB7E1.7000100@univ-nancy2.fr> Hello, I've already tried with 1.2.23, even if it's quite complicated to compile on Ubuntu because of deprecated library (freetype2 and libart) but the result is the same. I've also tried to change my LANG variable, but without any success. I'm very surprised to be the only one who's facing this problem, any help would be really apprecied. Mathieu PS : is there any way to specify freetype2 and libart path at configure time ? Anything like : ./configure --freetype-dir=/usr/local/freetype2 --libart-dir=/usr/local/libart Tobias Oetiker a ?crit : > Methieu, > > please try the with current version > > tobi > > Today Mathieu LARCHET wrote: > > >> Hello, >> >> I'm new at rrdtool and I have a strange behavior with x-axis labels. >> I've specified --x-grid MONTH:1:MONTH:1:MONTH:1:0:%b options and I have a >> duplicate month : october. >> >> If I try with %m option, then I have : 1 2 3 4 5 6 7 8 9 _*10*_ _*10*_ 12 >> >> My rrdtool version is 1.2.15 (Ubuntu packaged). >> I've already search in bugs without any success. >> >> Does anybody knows if it's a known bug and if it's fixed in more recent >> versions ? >> >> Thanks >> >> > > -- Mathieu Larchet Centre de Ressources Informatiques Universit? Nancy 2 *03-54-50-36-57* Informations compl?mentaires -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.oetiker.ch/pipermail/rrd-users/attachments/20070601/54eececc/attachment.html From alex at ergens.op.het.net Fri Jun 1 13:00:42 2007 From: alex at ergens.op.het.net (Alex van den Bogaerdt) Date: Fri, 1 Jun 2007 13:00:42 +0200 Subject: [rrd-users] Duplicate month In-Reply-To: <465FB7E1.7000100@univ-nancy2.fr> References: <465ED6DB.80601@univ-nancy2.fr> <465FB7E1.7000100@univ-nancy2.fr> Message-ID: <20070601110042.GA25207@ergens.op.het.net> On Fri, Jun 01, 2007 at 08:08:33AM +0200, Mathieu LARCHET wrote: > >>I'm new at rrdtool and I have a strange behavior with x-axis labels. > >>I've specified --x-grid MONTH:1:MONTH:1:MONTH:1:0:%b options and I have a > >>duplicate month : october. > >> > >>If I try with %m option, then I have : 1 2 3 4 5 6 7 8 9 _*10*_ _*10*_ 12 Month number 10 is when daylight saving ends. On the last Sunday, at 01:00 UTC, wallclock time changes from 03:00 to 02:00. This means October is one hour longer than it would normally be. If it's "October 1st 00:00" at the beginning of the month, then after 31 times 24 hours it is "October 31st 23:00". Try changing your x-axis label definition, especially the part "1:0:%b". I didn't try it, but I think you are placing labels at the wrong place and thus suffer from this "problem" (not really a problem, because if I'm right, you are asking RRDtool to do this). HTH -- Alex van den Bogaerdt http://www.vandenbogaerdt.nl/rrdtool/ From everton at lab.ipaccess.diveo.net.br Fri Jun 1 14:56:25 2007 From: everton at lab.ipaccess.diveo.net.br (Everton da Silva Marques) Date: Fri, 1 Jun 2007 09:56:25 -0300 Subject: [rrd-users] Sampling at a higher rate than "step" Message-ID: <20070601125625.GA14541@diveo.net.br> Hi, Is there any undesired side effect from feeding rrd archive at a rate higher than the specified "step"? I mean, what if I feed a 300-sec-step database at 60-sec intervals? Please advise. Thanks, Everton From tobi at oetiker.ch Fri Jun 1 15:50:53 2007 From: tobi at oetiker.ch (Tobias Oetiker) Date: Fri, 1 Jun 2007 15:50:53 +0200 (CEST) Subject: [rrd-users] Sampling at a higher rate than "step" In-Reply-To: <20070601125625.GA14541@diveo.net.br> References: <20070601125625.GA14541@diveo.net.br> Message-ID: Hi Everton, no there is no problem with this. you can feed as often as you want. tobi Today Everton da Silva Marques wrote: > Hi, > > Is there any undesired side effect from > feeding rrd archive at a rate higher than > the specified "step"? > > I mean, what if I feed a 300-sec-step > database at 60-sec intervals? > > Please advise. > > Thanks, > Everton > > _______________________________________________ > rrd-users mailing list > rrd-users at lists.oetiker.ch > https://lists.oetiker.ch/cgi-bin/listinfo/rrd-users > > -- Tobi Oetiker, OETIKER+PARTNER AG, Aarweg 15 CH-4600 Olten http://it.oetiker.ch tobi at oetiker.ch ++41 62 213 9902 From jnicastr at cablevision.com Fri Jun 1 16:01:00 2007 From: jnicastr at cablevision.com (John Nicastro) Date: Fri, 01 Jun 2007 10:01:00 -0400 Subject: [rrd-users] Literature? Message-ID: Hello, Are there any recommended books or literature available for RRD? Something deeper than the online documentation? And if not, Tobias have you considered teaming with O'Rielley and publishing something? Thanks, John -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.oetiker.ch/pipermail/rrd-users/attachments/20070601/6df997cb/attachment.html From davidtball at gmail.com Fri Jun 1 18:03:05 2007 From: davidtball at gmail.com (David Ball) Date: Fri, 1 Jun 2007 10:03:05 -0600 Subject: [rrd-users] Duplicate month In-Reply-To: <465FB7E1.7000100@univ-nancy2.fr> References: <465ED6DB.80601@univ-nancy2.fr> <465FB7E1.7000100@univ-nancy2.fr> Message-ID: <8d4861b00706010903w6341e718we4fda715b6028454@mail.gmail.com> I have a similar issue, but my duplicates are occuring on the Y-axis, and more frequently (ex. I'll see 3 instances of the same number instead of just duplicates). Happens VERY rarely (approximately 1 in 80 times that I generate a graph). I've now seen it happen in 2 consecutive months for the same RRD data set (ie. data from the same interface for 2 different months). Still seaching for commonalities that might be causing it on my side, as the latest RRDTool produced the same result. David On 6/1/07, Mathieu LARCHET wrote: > Hello, > > I've already tried with 1.2.23, even if it's quite complicated to > compile on Ubuntu because of deprecated library (freetype2 and libart) > but the result is the same. > > I've also tried to change my LANG variable, but without any success. > > I'm very surprised to be the only one who's facing this problem, any > help would be really apprecied. > > Mathieu > > PS : is there any way to specify freetype2 and libart path at configure > time ? > Anything like : ./configure --freetype-dir=/usr/local/freetype2 > --libart-dir=/usr/local/libart > > Tobias Oetiker a ?crit : > > Methieu, > > > > please try the with current version > > > > tobi > > > > Today Mathieu LARCHET wrote: > > > > > >> Hello, > >> > >> I'm new at rrdtool and I have a strange behavior with x-axis labels. > >> I've specified --x-grid MONTH:1:MONTH:1:MONTH:1:0:%b options and I have a > >> duplicate month : october. > >> > >> If I try with %m option, then I have : 1 2 3 4 5 6 7 8 9 _*10*_ _*10*_ 12 > >> > >> My rrdtool version is 1.2.15 (Ubuntu packaged). > >> I've already search in bugs without any success. > >> > >> Does anybody knows if it's a known bug and if it's fixed in more recent > >> versions ? > >> > >> Thanks > >> > >> > > > > > > -- > Mathieu Larchet > Centre de Ressources Informatiques > Universit? Nancy 2 > *03-54-50-36-57* > Informations compl?mentaires > > From alex at ergens.op.het.net Fri Jun 1 18:28:27 2007 From: alex at ergens.op.het.net (Alex van den Bogaerdt) Date: Fri, 1 Jun 2007 18:28:27 +0200 Subject: [rrd-users] Duplicate Y-axis labels Not: Duplicate month In-Reply-To: <8d4861b00706010903w6341e718we4fda715b6028454@mail.gmail.com> References: <465ED6DB.80601@univ-nancy2.fr> <465FB7E1.7000100@univ-nancy2.fr> <8d4861b00706010903w6341e718we4fda715b6028454@mail.gmail.com> Message-ID: <20070601162827.GA2127@ergens.op.het.net> On Fri, Jun 01, 2007 at 10:03:05AM -0600, David Ball wrote: > I have a similar issue, but my duplicates are occuring on the > Y-axis, and more frequently (ex. I'll see 3 instances of the same > number instead of just duplicates). Happens VERY rarely > (approximately 1 in 80 times that I generate a graph). I've now seen > it happen in 2 consecutive months for the same RRD data set (ie. data > from the same interface for 2 different months). Still seaching for > commonalities that might be causing it on my side, as the latest > RRDTool produced the same result. I believe I have recently answered this... Let's try again, in a different fashion: One line is 1.000000005 One line is 1.000000004 One line is 1.000000003 One line is 1.000000002 One line is 1.000000001 RRDtool only displays a couple of digits: One line is 1.000000005 --> 1.000 One line is 1.000000004 --> 1.000 One line is 1.000000003 --> 1.000 One line is 1.000000002 --> 1.000 One line is 1.000000001 --> 1.000 There is an option to use which gives better results. I don't remember exactly which one it is, please see the manual page for rrdtool graph. HTH -- Alex van den Bogaerdt http://www.vandenbogaerdt.nl/rrdtool/ From tobi at oetiker.ch Fri Jun 1 19:26:19 2007 From: tobi at oetiker.ch (Tobias Oetiker) Date: Fri, 1 Jun 2007 19:26:19 +0200 (CEST) Subject: [rrd-users] [rrd] Literature? In-Reply-To: References: Message-ID: Hi John, the problem with books is that they take a lot of time to write and pay very little unless they are hugely successful which will not be the case for something as specific as an rrdtool book ... but if you miss explanations for something in particular, please feel free to ask on the mailinglist, or even start writing a document on the rrdtool wiki once you find the answer ... cheers tobi Today John Nicastro wrote: > Hello, > > Are there any recommended books or literature available for RRD? > Something deeper than the online documentation? And if not, Tobias have > you considered teaming with O'Rielley and publishing something? > > Thanks, > John > -- Tobi Oetiker, OETIKER+PARTNER AG, Aarweg 15 CH-4600 Olten http://it.oetiker.ch tobi at oetiker.ch ++41 62 213 9902 From davidtball at gmail.com Fri Jun 1 20:45:16 2007 From: davidtball at gmail.com (David Ball) Date: Fri, 1 Jun 2007 12:45:16 -0600 Subject: [rrd-users] Duplicate Y-axis labels Not: Duplicate month In-Reply-To: <20070601162827.GA2127@ergens.op.het.net> References: <465ED6DB.80601@univ-nancy2.fr> <465FB7E1.7000100@univ-nancy2.fr> <8d4861b00706010903w6341e718we4fda715b6028454@mail.gmail.com> <20070601162827.GA2127@ergens.op.het.net> Message-ID: <8d4861b00706011145t40183c74y7bfaa7ee938860ff@mail.gmail.com> I imagine you're referring to the -Y rrdtool graph argument, which I have tried previously (and again just now). It works well in many situations, but in others, it will print only 1 Y-axis value at a certain location on the Y-axis (at the middle of the Y-axis in my most recent test case) which, while eliminating the duplication issue, introduces another. Clearly this is the lesser of the evils, but I'll keep tinkering I guess. David On 6/1/07, Alex van den Bogaerdt wrote: > On Fri, Jun 01, 2007 at 10:03:05AM -0600, David Ball wrote: > > I have a similar issue, but my duplicates are occuring on the > > Y-axis, and more frequently (ex. I'll see 3 instances of the same > > number instead of just duplicates). Happens VERY rarely > > (approximately 1 in 80 times that I generate a graph). I've now seen > > it happen in 2 consecutive months for the same RRD data set (ie. data > > from the same interface for 2 different months). Still seaching for > > commonalities that might be causing it on my side, as the latest > > RRDTool produced the same result. > > I believe I have recently answered this... > > Let's try again, in a different fashion: > > One line is 1.000000005 > One line is 1.000000004 > One line is 1.000000003 > One line is 1.000000002 > One line is 1.000000001 > > RRDtool only displays a couple of digits: > > One line is 1.000000005 --> 1.000 > One line is 1.000000004 --> 1.000 > One line is 1.000000003 --> 1.000 > One line is 1.000000002 --> 1.000 > One line is 1.000000001 --> 1.000 > > There is an option to use which gives better results. I don't > remember exactly which one it is, please see the manual page > for rrdtool graph. > > HTH > -- > Alex van den Bogaerdt > http://www.vandenbogaerdt.nl/rrdtool/ > > _______________________________________________ > rrd-users mailing list > rrd-users at lists.oetiker.ch > https://lists.oetiker.ch/cgi-bin/listinfo/rrd-users > From come_baby_here at hotmail.com Sun Jun 3 16:44:41 2007 From: come_baby_here at hotmail.com (Engy) Date: Sun, 3 Jun 2007 07:44:41 -0700 (PDT) Subject: [rrd-users] convert from rrd files to csv files Message-ID: <10937219.post@talk.nabble.com> dear all IT's my new question , do any of u know how to get csv files from rrd ones Thxxxxxxx all in advance(f) Engy -- View this message in context: http://www.nabble.com/convert-from-rrd-files-to-csv-files-tf3860760.html#a10937219 Sent from the RRDTool - User mailing list archive at Nabble.com. From davidtball at gmail.com Sun Jun 3 17:03:26 2007 From: davidtball at gmail.com (David Ball) Date: Sun, 3 Jun 2007 09:03:26 -0600 Subject: [rrd-users] convert from rrd files to csv files In-Reply-To: <10937219.post@talk.nabble.com> References: <10937219.post@talk.nabble.com> Message-ID: <8d4861b00706030803h64db78c2r1a3c5fea0f4e27f@mail.gmail.com> This would be possible by using RRDTool's 'fetch' command (which will dump the data you're likely seeking), which you could then push to a .csv using your favourite method (Perl/shell script, or copy&paste. David On 6/3/07, Engy wrote: > > dear all > IT's my new question , do any of u know how to get csv files from > rrd ones > > Thxxxxxxx all in advance(f) > > Engy > -- > View this message in context: http://www.nabble.com/convert-from-rrd-files-to-csv-files-tf3860760.html#a10937219 > Sent from the RRDTool - User mailing list archive at Nabble.com. > > _______________________________________________ > rrd-users mailing list > rrd-users at lists.oetiker.ch > https://lists.oetiker.ch/cgi-bin/listinfo/rrd-users > From format_c at online.de Sun Jun 3 17:25:36 2007 From: format_c at online.de (Alexander Koeppe) Date: Sun, 3 Jun 2007 17:25:36 +0200 Subject: [rrd-users] convert from rrd files to csv files In-Reply-To: <10937219.post@talk.nabble.com> References: <10937219.post@talk.nabble.com> Message-ID: see http://oss.oetiker.ch/rrdtool/doc/rrddump.en.html rrdtool dump produces an dump on stdout using XML format. You can parse it with a perl script for example to convert it into any format that fit your needs. Maybe XML could also be a usable format. Cheers Alex Am 03.06.2007 um 16:44 schrieb Engy: > > dear all > IT's my new question , do any of u know how to get csv > files from > rrd ones > > Thxxxxxxx all in advance(f) > > Engy > -- > View this message in context: http://www.nabble.com/convert-from- > rrd-files-to-csv-files-tf3860760.html#a10937219 > Sent from the RRDTool - User mailing list archive at Nabble.com. > > _______________________________________________ > rrd-users mailing list > rrd-users at lists.oetiker.ch > https://lists.oetiker.ch/cgi-bin/listinfo/rrd-users From come_baby_here at hotmail.com Sun Jun 3 17:39:09 2007 From: come_baby_here at hotmail.com (Engy) Date: Sun, 3 Jun 2007 08:39:09 -0700 (PDT) Subject: [rrd-users] convert from rrd files to csv files In-Reply-To: <8d4861b00706030803h64db78c2r1a3c5fea0f4e27f@mail.gmail.com> References: <10937219.post@talk.nabble.com> <8d4861b00706030803h64db78c2r1a3c5fea0f4e27f@mail.gmail.com> Message-ID: <10937558.post@talk.nabble.com> dear David, Thxxxxxxx soo much , although i am working on java framework-Not perl now-, i found it but so u mean that i dumb it in xml then convert from xml to csv which is easier.. am i right? thx David Ball-3 wrote: > > This would be possible by using RRDTool's 'fetch' command (which > will dump the data you're likely seeking), which you could then push > to a .csv using your favourite method (Perl/shell script, or > copy&paste. > > David > > > On 6/3/07, Engy wrote: >> >> dear all >> IT's my new question , do any of u know how to get csv files from >> rrd ones >> >> Thxxxxxxx all in advance(f) >> >> Engy >> -- >> View this message in context: >> http://www.nabble.com/convert-from-rrd-files-to-csv-files-tf3860760.html#a10937219 >> Sent from the RRDTool - User mailing list archive at Nabble.com. >> >> _______________________________________________ >> rrd-users mailing list >> rrd-users at lists.oetiker.ch >> https://lists.oetiker.ch/cgi-bin/listinfo/rrd-users >> > > _______________________________________________ > rrd-users mailing list > rrd-users at lists.oetiker.ch > https://lists.oetiker.ch/cgi-bin/listinfo/rrd-users > > -- View this message in context: http://www.nabble.com/convert-from-rrd-files-to-csv-files-tf3860760.html#a10937558 Sent from the RRDTool - User mailing list archive at Nabble.com. From wernli at in2p3.fr Sun Jun 3 19:27:13 2007 From: wernli at in2p3.fr (Fabien Wernli) Date: Sun, 3 Jun 2007 19:27:13 +0200 Subject: [rrd-users] convert from rrd files to csv files In-Reply-To: <10937558.post@talk.nabble.com> References: <10937219.post@talk.nabble.com> <8d4861b00706030803h64db78c2r1a3c5fea0f4e27f@mail.gmail.com> <10937558.post@talk.nabble.com> Message-ID: <20070603172713.GC13933@faxm0dem.org> 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 ;) From come_baby_here at hotmail.com Mon Jun 4 00:43:15 2007 From: come_baby_here at hotmail.com (Engy) Date: Sun, 3 Jun 2007 15:43:15 -0700 (PDT) Subject: [rrd-users] convert from rrd files to csv files In-Reply-To: <20070603172713.GC13933@faxm0dem.org> References: <10937219.post@talk.nabble.com> <8d4861b00706030803h64db78c2r1a3c5fea0f4e27f@mail.gmail.com> <10937558.post@talk.nabble.com> <20070603172713.GC13933@faxm0dem.org> Message-ID: <10941134.post@talk.nabble.com> :D:D Ok thx;) Fabien Wernli wrote: > > 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 at lists.oetiker.ch > https://lists.oetiker.ch/cgi-bin/listinfo/rrd-users > > -- View this message in context: http://www.nabble.com/convert-from-rrd-files-to-csv-files-tf3860760.html#a10941134 Sent from the RRDTool - User mailing list archive at Nabble.com. From killing at multiplay.co.uk Mon Jun 4 02:48:57 2007 From: killing at multiplay.co.uk (Steven Hartland) Date: Mon, 4 Jun 2007 01:48:57 +0100 Subject: [rrd-users] Architecture errors moving from FreeBSD -> Windows Message-ID: <036501c7a642$22b10f70$b6db87d4@multiplay.co.uk> 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. rrdtool info cr1.ixnlon_4.rrd ERROR: This RRD was created on other architecture Is this by design or a detection error in itself? N.B. Dump on FreeBSD + restore on Windows worked so the .rrd is ok. Regards Steve ================================================ This e.mail is private and confidential between Multiplay (UK) Ltd. and the person or entity to whom it is addressed. In the event of misdirection, the recipient is prohibited from using, copying, printing or otherwise disseminating it or any information contained in it. In the event of misdirection, illegible or incomplete transmission please telephone +44 845 868 1337 or return the E.mail to postmaster at multiplay.co.uk. From wernli at in2p3.fr Mon Jun 4 08:47:04 2007 From: wernli at in2p3.fr (Fabien Wernli) Date: Mon, 4 Jun 2007 08:47:04 +0200 Subject: [rrd-users] Architecture errors moving from FreeBSD -> Windows In-Reply-To: <036501c7a642$22b10f70$b6db87d4@multiplay.co.uk> References: <036501c7a642$22b10f70$b6db87d4@multiplay.co.uk> Message-ID: <20070604064704.GA5342@ccfw.in2p3.fr> 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) bit OS's? From tobi at oetiker.ch Mon Jun 4 10:54:39 2007 From: tobi at oetiker.ch (Tobias Oetiker) Date: Mon, 4 Jun 2007 10:54:39 +0200 (CEST) Subject: [rrd-users] Architecture errors moving from FreeBSD -> Windows In-Reply-To: <20070604064704.GA5342@ccfw.in2p3.fr> References: <036501c7a642$22b10f70$b6db87d4@multiplay.co.uk> <20070604064704.GA5342@ccfw.in2p3.fr> Message-ID: Hi Fabien, the approach here is quite pragmatic, rrdtool encodes a number 8.642135E130 and looks if the number in the rrd file is the same ... if it is not, it complains ... cheers tobi Today Fabien Wernli wrote: > 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) bit OS's? > > _______________________________________________ > rrd-users mailing list > rrd-users at lists.oetiker.ch > https://lists.oetiker.ch/cgi-bin/listinfo/rrd-users > > -- Tobi Oetiker, OETIKER+PARTNER AG, Aarweg 15 CH-4600 Olten http://it.oetiker.ch tobi at oetiker.ch ++41 62 213 9902 From jeff_singleton at securecomputing.com Mon Jun 4 22:54:55 2007 From: jeff_singleton at securecomputing.com (Jeffrey Singleton) Date: Mon, 04 Jun 2007 16:54:55 -0400 Subject: [rrd-users] Graphs not printing Data Message-ID: <1180990495.10997.20.camel@lameduck.ciphertrust.net> I am using rrdtool 1.2.23 under Cacti. We recently upgraded Cacti to the latest version and since then, rrdtool is not showing any data on the Graphs, only the default blank graphs are showing. I have already tried the cacti website and they really don't have much there to help. Is there any trick I can use to get more information from the commands being run so I can see what is happening? -- Jeffrey Singleton Network Systems Administrator (Trusted Source) From killing at multiplay.co.uk Mon Jun 4 23:49:35 2007 From: killing at multiplay.co.uk (Steven Hartland) Date: Mon, 4 Jun 2007 22:49:35 +0100 Subject: [rrd-users] Architecture errors moving from FreeBSD -> Windows References: <036501c7a642$22b10f70$b6db87d4@multiplay.co.uk><20070604064704.GA5342@ccfw.in2p3.fr> Message-ID: <00a101c7a6f2$3e65bda0$b6db87d4@multiplay.co.uk> Yes both are 32 bit. From what Tobi says I assume its just down to some underlying type def on one side being slightly different to the other even though the hardware architecture / bit width is identical. Steve ----- Original Message ----- From: "Tobias Oetiker" > the approach here is quite pragmatic, > > rrdtool encodes a number 8.642135E130 and looks if the number in > the rrd file is the same ... if it is not, it complains ... ================================================ This e.mail is private and confidential between Multiplay (UK) Ltd. and the person or entity to whom it is addressed. In the event of misdirection, the recipient is prohibited from using, copying, printing or otherwise disseminating it or any information contained in it. In the event of misdirection, illegible or incomplete transmission please telephone +44 845 868 1337 or return the E.mail to postmaster at multiplay.co.uk. From bbeasley at telecomsys.com Tue Jun 5 14:37:23 2007 From: bbeasley at telecomsys.com (Bill Beasley) Date: Tue, 5 Jun 2007 08:37:23 -0400 Subject: [rrd-users] Graphs not printing Data In-Reply-To: <1180990495.10997.20.camel@lameduck.ciphertrust.net> References: <1180990495.10997.20.camel@lameduck.ciphertrust.net> Message-ID: Try logging into the console, and select New Graphs under Create. Select one of the systems from the Create new Graphs for the following host: pop-up. Look for the Green Circle in the title bar of each data query. Click on the green circle to reload the data query's. This has worked for me in the past. HTH Bill Beasley Telecommunication Systems Owings Mills, MD -----Original Message----- From: rrd-users-bounces at lists.oetiker.ch [mailto:rrd-users-bounces at lists.oetiker.ch] On Behalf Of Jeffrey Singleton Sent: Monday, June 04, 2007 4:55 PM To: rrd-users at lists.oetiker.ch Subject: [rrd-users] Graphs not printing Data I am using rrdtool 1.2.23 under Cacti. We recently upgraded Cacti to the latest version and since then, rrdtool is not showing any data on the Graphs, only the default blank graphs are showing. I have already tried the cacti website and they really don't have much there to help. Is there any trick I can use to get more information from the commands being run so I can see what is happening? -- Jeffrey Singleton Network Systems Administrator (Trusted Source) _______________________________________________ rrd-users mailing list rrd-users at lists.oetiker.ch https://lists.oetiker.ch/cgi-bin/listinfo/rrd-users The information contained in this message may be privileged and/or confidential. If you are not the intended recipient, or responsible for delivering this message to the intended recipient, any review, forwarding, dissemination, distribution or copying of this communication or any attachment(s) is strictly prohibited. If you have received this message in error, please so notify the sender immediately, and delete it and all attachments from your computer and network. From jeff_singleton at securecomputing.com Tue Jun 5 15:41:00 2007 From: jeff_singleton at securecomputing.com (Jeffrey Singleton) Date: Tue, 05 Jun 2007 09:41:00 -0400 Subject: [rrd-users] Graphs not printing Data In-Reply-To: <8d4861b00706041441r66fbc563kb2d4a7796ce68b5d@mail.gmail.com> References: <1180990495.10997.20.camel@lameduck.ciphertrust.net> <8d4861b00706041441r66fbc563kb2d4a7796ce68b5d@mail.gmail.com> Message-ID: <1181050860.10997.26.camel@lameduck.ciphertrust.net> Hi david, Thanks for replying, I am on the cacti Forums and found a NaN Debug page. I am running through this now to see if I can id the problem. When I ran the poller from cli ... it appears to have timed out at the end for some reason. Here is the ending messages: Waiting on 1/1 pollers. Waiting on 1/1 pollers. Waiting on 1/1 pollers. Waiting on 1/1 pollers. Waiting on 1/1 pollers. 06/04/2007 09:30:33 PM - POLLER: Poller[0] Maximum runtime of 292 seconds exceeded. Exiting. 06/04/2007 09:30:33 PM - SYSTEM STATS: Time:292.9510 Method:cmd.php Processes:1 Threads:N/A Hosts:4 HostsPerProcess:4 DataSources:149 RRDsProcessed:0 Warning: pclose(): 56 is not a valid stream resource in /usr/support/htdocs/cacti/lib/rrd.php on line 48 06/04/2007 09:30:33 PM - POLLER: Poller[0] DEBUG: About to Spawn a Remote Process [CMD: /usr/local/bin/php, ARGS: -q /usr/support/htdocs/cacti/poller_export.php] On Mon, 2007-06-04 at 15:41 -0600, David Ball wrote: > If your version of RRDTool didn't change with the Cacti upgrade, > this kinda points to Cacti. While their website may not have proven > fruitful, I can't help but imagine that their mailing list would be > helpful, given Cacti's relatively widespread use. > > http://lists.sourceforge.net/lists/listinfo/cacti-user > > Also, I believe Cacti produces some cacti.log files which might > provide some insight...not sure if extra debugging must be enabled to > accomplish this or not. > > David > > > > On 6/4/07, Jeffrey Singleton wrote: > > I am using rrdtool 1.2.23 under Cacti. > > > > We recently upgraded Cacti to the latest version and since then, rrdtool > > is not showing any data on the Graphs, only the default blank graphs are > > showing. > > > > I have already tried the cacti website and they really don't have much > > there to help. > > > > Is there any trick I can use to get more information from the commands > > being run so I can see what is happening? > > > > -- > > Jeffrey Singleton > > Network Systems Administrator (Trusted Source) > > > > _______________________________________________ > > rrd-users mailing list > > rrd-users at lists.oetiker.ch > > https://lists.oetiker.ch/cgi-bin/listinfo/rrd-users > > > -- Jeffrey Singleton Network Systems Administrator (Trusted Source) Secure Computing Corporation 48000 North Point Parkway Alpharetta, GA 30022 C: 770-820-2909 O: 678- From shoktai at gmail.com Tue Jun 5 18:18:43 2007 From: shoktai at gmail.com (Toto Capuccino) Date: Tue, 5 Jun 2007 18:18:43 +0200 Subject: [rrd-users] Windows 2003 OIDs Message-ID: <619cf3c0706050918l3d25a838h5ae416eb674748f8@mail.gmail.com> Hi Everyone! Do you guys know the OIDs for monitoring the Memory on a windows 2003 server (available and used)? I have also downloaded the informant software but i cant find those OIDs. All i get is snmpget -v 1 -c community hostname .1.3.6.1.2.1.25.2.2.0 HOST-RESOURCES-MIB::hrMemorySize.0 = INTEGER: 2096632 KBytes I'd also like the OIDs for Disk I/O operations. Any help greatly appreciated! Cheers -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.oetiker.ch/pipermail/rrd-users/attachments/20070605/7e398483/attachment.html From groover4life at hotmail.com Tue Jun 5 22:27:35 2007 From: groover4life at hotmail.com (Danny Willis) Date: Tue, 5 Jun 2007 16:27:35 -0400 Subject: [rrd-users] Problems with building on Suse Linux 9.0 Message-ID: Hi everyone, I have been using rrdtool version 1.1 for quite some time now, using Suse's default installation of the application. I am now trying to upgrade one of my applications which requires rrdtool 1.2. Suse does not have a built in update for rrdtool 1.2 so I have to install it manually. Of course there is no rpm for my specific build of Suse Linux (9.0 Enterprise Server, 64-bit) so I need to build rrd. I am having the normal library problem where it is unable to located the libpng and the libart libraries. I have followed the instructions to download and manually build these libraries and then changed the environment variables to point to where the libraries and header files were placed, but I am still receiving the same error when trying the following command: /configure --prefix=$INSTALL_DIR Any ideas? This is really gotten me hamstrung and I'm unable to upgrade my applications until I am able to resolve this. Any help is greatly appreciated. Best, Dan -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.oetiker.ch/pipermail/rrd-users/attachments/20070605/dc442fdc/attachment.html From killing at multiplay.co.uk Wed Jun 6 01:02:48 2007 From: killing at multiplay.co.uk (Steven Hartland) Date: Wed, 6 Jun 2007 00:02:48 +0100 Subject: [rrd-users] Unportable options in doc Makefile.am (POSIX) Message-ID: <004c01c7a7c5$a3131080$b6db87d4@multiplay.co.uk> When building rrdtool on interix automake complains: doc/Makefile.am:41: Inference rules can have only one target before the colon (POSIX). doc/Makefile.am:50: Inference rules can have only one target before the colon (POSIX). The three options on each of the above simply need splitting into separate rules to make it happy. Regards Steve ================================================ This e.mail is private and confidential between Multiplay (UK) Ltd. and the person or entity to whom it is addressed. In the event of misdirection, the recipient is prohibited from using, copying, printing or otherwise disseminating it or any information contained in it. In the event of misdirection, illegible or incomplete transmission please telephone +44 845 868 1337 or return the E.mail to postmaster at multiplay.co.uk. From killing at multiplay.co.uk Wed Jun 6 01:21:11 2007 From: killing at multiplay.co.uk (Steven Hartland) Date: Wed, 6 Jun 2007 00:21:11 +0100 Subject: [rrd-users] Missing lib options in Makefile.PL for interix Message-ID: <005401c7a7c8$34706f30$b6db87d4@multiplay.co.uk> When compiling under interix I needed to edit Makefile.PL from: 'dynamic_lib' => {'OTHERLDFLAGS' => "$librrd -lm"}, to: 'dynamic_lib' => {'OTHERLDFLAGS' => "$librrd -lm -lpng12 -lart_lgpl_2 -lfreetype"}, Without doing so make test failed: perl-shared> make test PERL_DL_NONLAZY=1 /bin/perl "-MExtUtils::Command::MM" "-e" "test_harness(0, 'blib/lib', 'blib/arch')" t/*.t t/base....Can't load '/tmp/rrdtool-1.2.23/bindings/perl-shared/blib/arch/auto/RRDs/RRDs.so' for module RRDs: /tmp/rrdtool-1.2.23/bin dings/perl-shared/blib/arch/auto/RRDs/RRDs.so: undefined symbol: _png_get_image_width at /usr/local/lib/perl5/5.8.8/x86-interix-thre ad-multi/DynaLoader.pm line 230. at t/base.t line 20 Compilation failed in require at t/base.t line 20. BEGIN failed--compilation aborted at t/base.t line 20. t/base....dubious Test returned status 2 (wstat 512, 0x200) DIED. FAILED tests 1-7 Failed 7/7 tests, 0.00% okay Failed Test Stat Wstat Total Fail List of Failed ------------------------------------------------------------------------------- t/base.t 2 512 7 13 1-7 Failed 1/1 test scripts. 7/7 subtests failed. Files=1, Tests=7, 0 wallclock secs ( 0.11 cusr + 0.05 csys = 0.16 CPU) Failed 1/1 test programs. 7/7 subtests failed. *** Error code 2 Stop. Pretty sure this change will also be safe under other OS's but will need testing. Regards Steve ================================================ This e.mail is private and confidential between Multiplay (UK) Ltd. and the person or entity to whom it is addressed. In the event of misdirection, the recipient is prohibited from using, copying, printing or otherwise disseminating it or any information contained in it. In the event of misdirection, illegible or incomplete transmission please telephone +44 845 868 1337 or return the E.mail to postmaster at multiplay.co.uk. From ralf-buero at kruedewagen.de Wed Jun 6 08:21:35 2007 From: ralf-buero at kruedewagen.de (Ralf Kruedewagen) Date: Wed, 6 Jun 2007 08:21:35 +0200 Subject: [rrd-users] Problems with building on Suse Linux 9.0 In-Reply-To: References: Message-ID: <200706060821.35587.ralf-buero@kruedewagen.de> Hi Dan, building rrdtool 1.2 under (open)SUSE 10.0, 10.1 and 10.2 (64bit) was never a problem for me. What error message do you get ? What is the output of "configure" (config.log) ? BR Ralf On Dienstag, 5. Juni 2007, Danny Willis wrote: > Hi everyone, > > I have been using rrdtool version 1.1 for quite some time now, using Suse's > default installation of the application. I am now trying to upgrade one of > my applications which requires rrdtool 1.2. Suse does not have a built in > update for rrdtool 1.2 so I have to install it manually. > > Of course there is no rpm for my specific build of Suse Linux (9.0 > Enterprise Server, 64-bit) so I need to build rrd. > > I am having the normal library problem where it is unable to located the > libpng and the libart libraries. I have followed the instructions to > download and manually build these libraries and then changed the > environment variables to point to where the libraries and header files were > placed, but I am still receiving the same error when trying the following > command: > > /configure --prefix=$INSTALL_DIR > > Any ideas? This is really gotten me hamstrung and I'm unable to upgrade my > applications until I am able to resolve this. Any help is greatly > appreciated. > > Best, > Dan From rlnewman at ucsd.edu Thu Jun 7 02:11:32 2007 From: rlnewman at ucsd.edu (Rob Newman) Date: Wed, 6 Jun 2007 17:11:32 -0700 Subject: [rrd-users] RRD Wishlist: Adding comments to RRD created graphs Message-ID: Hi RRD folks, I know this is probably going to garner a 'nope, can't do that response', but I was wondering if the RRD developers (Tobi et al) had considered the capability of users adding comments to RRD files along the lines of timestamp:comment string that could be added in the header of an RRD archive. These comments could then be plotted on the graphical output when RRDtool graph is called. An example: No comments (typical rrdtool graph output): http://eqinfo.ucsd.edu/ ~rnewman/images/rrd_wishlist/nocomments.gif With comments: http://eqinfo.ucsd.edu/~rnewman/images/rrd_wishlist/ comments.gif I could see this capability being useful for viewers so they can read the attribution of any anomalous changes in data values. If I do an XML dump of an RRD archive, I see the following in the (although not explicitly defined) 'header area': 0003 20 1181171131 m0 GAUGE 21600 NaN NaN -2 -6.6000000000e+01 0 I could see altering this structure to be like (in the XML format of rrdtool dump) : 0003 20 1181171131 m0 GAUGE 21600 NaN NaN -2 -6.6000000000e+01 0 New instrument Mass recenter This could be added using a new command called 'rrdtool comment archive_name.rrd timestamp comment_string'. Comments? Thoughts? I would love to say that I will volunteer to make these changes in the RRDTool source code, but it is way above my capabilities, so I can meekly retreat back into my corner if someone takes umbrage at my request. I wouldn't be asking for this capability if RRD wasn't such as awesome tool - Tobi has already done an exceptional job. Thanks! - Rob ________________________________________________________ Rob Newman Ph.D. Institute of Geophysics and Planetary Physics Scripps Institution of Oceanography University of California, San Diego 9500 Gilman Drive, La Jolla, CA 92093-0225, USA -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.oetiker.ch/pipermail/rrd-users/attachments/20070606/6a929284/attachment.html From leif at neland.dk Thu Jun 7 07:07:52 2007 From: leif at neland.dk (Leif Neland) Date: Thu, 7 Jun 2007 07:07:52 +0200 Subject: [rrd-users] RRD Wishlist: Adding comments to RRD created graphs References: Message-ID: <012a01c7a8c1$cd32ee10$0e05a8c0@gina> Rob Newman wrote: > Hi RRD folks, > > I know this is probably going to garner a 'nope, can't do that > response', but I was wondering if the RRD developers (Tobi et al) had > considered the capability of users adding comments to RRD files along > the lines of timestamp:comment string that could be added in the > header of an RRD archive. These comments could then be plotted on the > graphical output when RRDtool graph is called. > New instrument Mass recenter One reason to turn this down is that rrd-files always have the same size, the "slots" for data are allocated when the rrd is created. Adding comments would break this. Unless you allocated slots for x messages of y chars at creation. Leif From tobi at oetiker.ch Thu Jun 7 08:18:34 2007 From: tobi at oetiker.ch (Tobias Oetiker) Date: Thu, 7 Jun 2007 08:18:34 +0200 (CEST) Subject: [rrd-users] RRD Wishlist: Adding comments to RRD created graphs In-Reply-To: <012a01c7a8c1$cd32ee10$0e05a8c0@gina> References: <012a01c7a8c1$cd32ee10$0e05a8c0@gina> Message-ID: Hi Rob, I would suggest keeeping such information in a file called ${rrdbasename}.comments then when you do your graph, you use ${rrdbasename}.rrd for the graph and read the ${rrdbasename}.comments file to create additional COMMENT: lines in the graph command. cheers tobi Today Leif Neland wrote: > Rob Newman wrote: > > Hi RRD folks, > > > > I know this is probably going to garner a 'nope, can't do that > > response', but I was wondering if the RRD developers (Tobi et al) had > > considered the capability of users adding comments to RRD files along > > the lines of timestamp:comment string that could be added in the > > header of an RRD archive. These comments could then be plotted on the > > graphical output when RRDtool graph is called. > > > > New > instrument > Mass > recenter > > > One reason to turn this down is that rrd-files always have the same size, > the "slots" for data are allocated when the rrd is created. > Adding comments would break this. Unless you allocated slots for x messages > of y chars at creation. > > Leif > > _______________________________________________ > rrd-users mailing list > rrd-users at lists.oetiker.ch > https://lists.oetiker.ch/cgi-bin/listinfo/rrd-users > > -- Tobi Oetiker, OETIKER+PARTNER AG, Aarweg 15 CH-4600 Olten http://it.oetiker.ch tobi at oetiker.ch ++41 62 213 9902 From mjoyce at iinet.net.au Thu Jun 7 13:50:56 2007 From: mjoyce at iinet.net.au (Matt) Date: Thu, 07 Jun 2007 21:50:56 +1000 Subject: [rrd-users] Windows 2003 OIDs In-Reply-To: <619cf3c0706050918l3d25a838h5ae416eb674748f8@mail.gmail.com> References: <619cf3c0706050918l3d25a838h5ae416eb674748f8@mail.gmail.com> Message-ID: <4667F120.9060002@iinet.net.au> http://www.mibdepot.com/cgi-bin/xsearch_index3.cgi Toto Capuccino wrote: > Hi Everyone! > > Do you guys know the OIDs for monitoring the Memory on a windows 2003 > server (available and used)? > > I have also downloaded the informant software but i cant find those OIDs. > All i get is > snmpget -v 1 -c community hostname .1.3.6.1.2.1.25.2.2.0 > HOST-RESOURCES-MIB::hrMemorySize.0 = INTEGER: 2096632 KBytes > > I'd also like the OIDs for Disk I/O operations. > > Any help greatly appreciated! > > Cheers > ------------------------------------------------------------------------ > > _______________________________________________ > rrd-users mailing list > rrd-users at lists.oetiker.ch > https://lists.oetiker.ch/cgi-bin/listinfo/rrd-users > From groover4life at hotmail.com Thu Jun 7 16:28:07 2007 From: groover4life at hotmail.com (Dan Willis) Date: Thu, 7 Jun 2007 10:28:07 -0400 Subject: [rrd-users] Problems with building on Suse Linux 9.0 Message-ID: Any thoughts regarding this? ----- Original Message ----- From: "Dan Willis" To: "Ralf Kruedewagen" Sent: Wednesday, June 06, 2007 10:52 AM Subject: Re: [rrd-users] Problems with building on Suse Linux 9.0 > Here is my config.log. > > The errors I continously get are the following for libart and libpng: > I could not find a working copy of libart-2.0. Check config.log for hints > on why this is the case. Maybe you need to set the LDFLAGS and CPPFLAGS > appropriately so that compiler and the linker can find libart_lgpl_2 and its > header files. If you have not installed libart-2.0, you can get it from > either... > > [links inserted here] > LIBS=-lm > LDFLAGS= > CPPFLAGS= -I/usr/include/libart-2.0 > > Now, here's the directories where my built libaries ended up: > /lb/include/ > lb/include/libpng12 > lb/include/libart-2.0 > > When I set the LDFLAGS and CPPFLAGS according to the instructions found > here: http://oss.oetiker.ch/rrdtool/doc/rrdbuild.en.html but pointing them > to the directories above, I still get the same error, but with the LDFLAGS > and CPPFLAGS set to the folders above where my built libraries are... > > Now, I found libart and libpng on my machine preinstalled but I was unable > to locate the header files anywhere, so I decided to try and build the > libraries and point rrdtool's build to them... > > What do I need to do in order to get this built? > > Thanks in advance, > Dan > > ----- Original Message ----- > From: "Ralf Kruedewagen" > To: > Sent: Wednesday, June 06, 2007 2:21 AM > Subject: Re: [rrd-users] Problems with building on Suse Linux 9.0 > > > > Hi Dan, > > > > building rrdtool 1.2 under (open)SUSE 10.0, 10.1 and 10.2 (64bit) was > never a > > problem for me. > > > > What error message do you get ? What is the output of "configure" > > (config.log) ? > > > > BR > > Ralf > > > > On Dienstag, 5. Juni 2007, Danny Willis wrote: > > > Hi everyone, > > > > > > I have been using rrdtool version 1.1 for quite some time now, using > Suse's > > > default installation of the application. I am now trying to upgrade one > of > > > my applications which requires rrdtool 1.2. Suse does not have a built > in > > > update for rrdtool 1.2 so I have to install it manually. > > > > > > Of course there is no rpm for my specific build of Suse Linux (9.0 > > > Enterprise Server, 64-bit) so I need to build rrd. > > > > > > I am having the normal library problem where it is unable to located the > > > libpng and the libart libraries. I have followed the instructions to > > > download and manually build these libraries and then changed the > > > environment variables to point to where the libraries and header files > were > > > placed, but I am still receiving the same error when trying the > following > > > command: > > > > > > /configure --prefix=$INSTALL_DIR > > > > > > Any ideas? This is really gotten me hamstrung and I'm unable to upgrade > my > > > applications until I am able to resolve this. Any help is greatly > > > appreciated. > > > > > > Best, > > > Dan > > > > _______________________________________________ > > rrd-users mailing list > > rrd-users at lists.oetiker.ch > > https://lists.oetiker.ch/cgi-bin/listinfo/rrd-users > > > From groover4life at hotmail.com Thu Jun 7 17:28:44 2007 From: groover4life at hotmail.com (Dan Willis) Date: Thu, 7 Jun 2007 11:28:44 -0400 Subject: [rrd-users] Problems with building on Suse Linux 9.0 References: <200706071718.31159.ralf-buero@kruedewagen.de> Message-ID: Oh. I'll try that and get back to you within the hour. ----- Original Message ----- From: To: Cc: Sent: Thursday, June 07, 2007 11:18 AM Subject: Re: [rrd-users] Problems with building on Suse Linux 9.0 > According to config.log you have set > LDFLAGS="-I/lb/lib" . > But the lib variable must begin with a -L like > LDFLAGS="-L/lb/lib" > > Ralf > > > [links inserted here] > > LIBS=-lm > > LDFLAGS= > > CPPFLAGS= -I/usr/include/libart-2.0 > > > > Now, here's the directories where my built libaries ended up: > > /lb/include/ > > lb/include/libpng12 > > lb/include/libart-2.0 > > > > When I set the LDFLAGS and CPPFLAGS according to the instructions found > > here: http://oss.oetiker.ch/rrdtool/doc/rrdbuild.en.html but pointing them > > to the directories above, I still get the same error, but with the LDFLAGS > > and CPPFLAGS set to the folders above where my built libraries are... > > > From nirnimesh at gmail.com Thu Jun 7 17:43:58 2007 From: nirnimesh at gmail.com (Nirnimesh) Date: Thu, 7 Jun 2007 21:13:58 +0530 Subject: [rrd-users] "not a simple integer" error with DERIVE ds Message-ID: I get "not a simple integer" error with the DERIVE ds. I looked up the archives and as far as I can understand, the only solution I can find is to switch to integers. However, I do have valid reasons why I cannot, without incurring too much pain. I expected this to be handled in a neater way. Am I missing something? ../NiR -- Gravitation is not responsible for people falling in love. -- Albert Einstein. -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.oetiker.ch/pipermail/rrd-users/attachments/20070607/5f003d67/attachment.html From ralf-buero at kruedewagen.de Thu Jun 7 17:18:30 2007 From: ralf-buero at kruedewagen.de (ralf-buero at kruedewagen.de) Date: Thu, 7 Jun 2007 17:18:30 +0200 Subject: [rrd-users] Problems with building on Suse Linux 9.0 Message-ID: <200706071718.31159.ralf-buero@kruedewagen.de> According to config.log you have set LDFLAGS="-I/lb/lib" . But the lib variable must begin with a -L like LDFLAGS="-L/lb/lib" Ralf > [links inserted here] > LIBS=-lm > LDFLAGS= > CPPFLAGS= -I/usr/include/libart-2.0 > > Now, here's the directories where my built libaries ended up: > /lb/include/ > lb/include/libpng12 > lb/include/libart-2.0 > > When I set the LDFLAGS and CPPFLAGS according to the instructions found > here: http://oss.oetiker.ch/rrdtool/doc/rrdbuild.en.html but pointing them > to the directories above, I still get the same error, but with the LDFLAGS > and CPPFLAGS set to the folders above where my built libraries are... From groover4life at hotmail.com Thu Jun 7 19:17:24 2007 From: groover4life at hotmail.com (Dan Willis) Date: Thu, 7 Jun 2007 13:17:24 -0400 Subject: [rrd-users] Problems with building on Suse Linux 9.0 Message-ID: Ok, using the variables below I was able to get the configure to run, but now I am into another problem when running the make command. Here is the build error I get: (cd .libs && rm -f librrdupd.la && ln -s ../librrdupd.la librrdupd.la) /bin/sh ../libtool --tag=CC --mode=link gcc -O3 -fno-strict-aliasing -Wall -std=gnu99 -pedantic -Wshadow -Wpointer- arith -Wca st-align -Wmissing-prototypes -Wmissing-declarations -Wnested-externs -Winli ne -W -fPIC -DPIC -L/lb/lib -o librrd.la -rpath /downloads/rrdtool-1.2/lib -version-info 2:10:0 hash_32.lo pngsize.lo rrd_create.lo rrd_dump.lo rrd_fetch.lo rrd_graph.lo rrd_ graph_helper.lo rrd_last.lo rrd_lastupdate.lo rrd_first.lo rrd_resize.lo rrd_restore.lo rrd_tune.lo rrd_version.lo rrd_xport.l o art_rgba_svp.lo rrd_gfx.lo rrd_afm.lo rrd_afm_data.lo rrd_tool.lo librrdupd.la -lfreetype -lpng -lz -lart_lgpl_2 -lm gcc -shared .libs/hash_32.o .libs/pngsize.o .libs/rrd_create.o libs/rrd_dump.o .libs/rrd_fetch.o .libs/rrd_graph.o .libs/rrd _graph_helper.o .libs/rrd_last.o .libs/rrd_lastupdate.o .libs/rrd_first.o libs/rrd_resize.o .libs/rrd_restore.o .libs/rrd_tun e.o libs/rrd_version.o .libs/rrd_xport.o .libs/art_rgba_svp.o .libs/rrd_gfx.o libs/rrd_afm.o .libs/rrd_afm_data.o .libs/rrd_ tool.o -Wl,--whole-archive /.libs/librrdupd.a -Wl,--no-whole-archive -L/lb/lib /usr/lib64/libfreetype.so /lb/lib/libpng12.a -lz /lb/lib/libart_lgpl_2.a -lm -Wl,-soname -Wl,librrd.so.2 -o libs/librrd.so.2.0.10 /usr/lib64/gcc-lib/x86_64-suse-linux/3.3.3/../../../../x86_64-suse-linux/bin /ld: /lb/lib/libpng12.a(libpng12_la-png.o): reloca tion R_X86_64_32 can not be used when making a shared object; recompile with -fPIC /lb/lib/libpng12.a: could not read symbols: Bad value collect2: ld returned 1 exit status make[2]: *** [librrd.la] Error 1 make[2]: Leaving directory `/downloads/rrdtool-1.2.23/src' make[1]: *** [all-recursive] Error 1 make[1]: Leaving directory `/downloads/rrdtool-1.2.23' make: *** [all] Error 2 Any idea what this error is? It seems to be related to libpng and it is saying to recompile it with -fPIC tags??? ----- Original Message ----- From: "Dan Willis" To: Sent: Thursday, June 07, 2007 1:08 PM Subject: Re: [rrd-users] Problems with building on Suse Linux 9.0 > Since my libaries aren't in the same directory as my build directory, > wouldn't the variables be this for me: > > IR=-I/lb/include > CPPFLAGS="$IR $IR/libart-2.0 $IR/freetype2 $IR/libpng" > LDFLAGS="-L/lb/lib" > CFLAGS=-O3 > export CPPFLAGS LDFLAGS CFLAGS > > > ----- Original Message ----- > From: > To: "Dan Willis" > Sent: Thursday, June 07, 2007 12:32 PM > Subject: Re: [rrd-users] Problems with building on Suse Linux 9.0 > > > > The documentation on the website states the variable should be -L: > > IR=-I$BUILD_DIR/lb/include > > CPPFLAGS="$IR $IR/libart-2.0 $IR/freetype2 $IR/libpng" > > LDFLAGS="-L$BUILD_DIR/lb/lib" > > CFLAGS=-O3 > > export CPPFLAGS LDFLAGS CFLAGS > > > > If LDFLAGS points to the dir where only libpng and libart are installed > > (according to the documentation), you should have no problems. The > configure > > script sets the standard libdir /usr/lib64. The LDFLAGS path is an > additional > > one. > > > > Yes, you could also copy (or link) all your extra libs and header files > > to /usr/lib64 and /usr/include, if the method above does not work. But I > > would prefer to keep them in the original dir to avoid trouble with the > > standard SUSE update mechanism. > > > > Ralf > > > > Am Donnerstag, 7. Juni 2007 schrieb Dan Willis: > > > Ah ok. Well then, that's a problem. Not all the libs are installed > there, > > > only the libart and the libpng which I had to build manually. So I > suppose > > > I need to move these into the usr/lib and usr/include where I believe > the > > > rest of the OS's libaries are installed. > > > > > > The BUILD_DIR was set to the directory where I unzipped rrd. > > > > > > Also, I believe the documentation on the website states the variable > should > > > be -I not -L like you suggested.. > > > > > > ----- Original Message ----- > > > From: > > > To: > > > Sent: Thursday, June 07, 2007 11:36 AM > > > Subject: Re: [rrd-users] Problems with building on Suse Linux 9.0 > > > > > > > Please take also care that all your libraries are installed in the > path > > > > > > you > > > > > > > set in LDFLAGS. Do you have really installed them into /lb/lib ? What > was > > > > > > the > > > > > > > $BUILD_DIR when you installed the libs ? > > > > > > > > > Oh. I'll try that and get back to you within the hour. > > > > > > > > > >> According to config.log you have set > > > > >> LDFLAGS="-I/lb/lib" . > > > > >> But the lib variable must begin with a -L like > > > > >> LDFLAGS="-L/lb/lib" > > > > > From groover4life at hotmail.com Fri Jun 8 19:35:36 2007 From: groover4life at hotmail.com (Dan Willis) Date: Fri, 8 Jun 2007 13:35:36 -0400 Subject: [rrd-users] Problems with building on Suse Linux 9.0 References: <200706071942.04708.ralf-buero@kruedewagen.de> <200706072251.12855.ralf-buero@kruedewagen.de> Message-ID: Ok, Well, I would have thought that this would have installed it into the system properly so that all of the other applications would see rrdtool version 1.2 instead of version 1.0.46 (installed by default with Suse). But none of my applications see it so now I'm not sure what I need to do.. ----- Original Message ----- From: To: "Dan Willis" Sent: Thursday, June 07, 2007 4:51 PM Subject: Re: [rrd-users] Problems with building on Suse Linux 9.0 > Great that it works now. Congratulations. > It's 10:50pm here, so I go to bed now ;-) > > Cheers > Ralf > > Am Donnerstag, 7. Juni 2007 schrieb Dan Willis: > > Ok, > > > > I went back and deleted everything and started over. I took my time and > > went through the entire process again, paying careful attention to the > > directories, library locations, etc. I still ended up with the same error. > > > > So I went back and did as you suggested because I saw in part of the error > > that there is a problem trying to link against a shared library. So I > > removed the --disable-shared library option and I also did not compile with > > the -fPIC options (it is suggested to use that compiler option when > > building the libraries in the tutorial on the rrdtool website). > > > > After I went through these steps, rrdtool finally compiled and now runs. I > > installed it into opt/rrdtool-1.2.23 and now I have to go through the > > process of making sure that my applications which are dependent on it will > > now find the new locations of rrdtool. > > > > Thanks a bunch. Seems every OS configuration has it's own quirks... > > > > Best, > > Dan > > > > ----- Original Message ----- > > From: > > To: "Dan Willis" > > Sent: Thursday, June 07, 2007 1:42 PM > > Subject: Re: [rrd-users] Problems with building on Suse Linux 9.0 > > > > > Hm, it is getting strange. It's a problem with libpng, but I have no idea > > > what -fPIC means. And it becomes harder because you have a 64bit system. > > > > In > > > > > general all 64bit systems have libs in /usr/lib64 but also in /usr/lib > > > for remaining 32bit software. That makes compiling sometimes tricky, even > > > SuSE 9.0 is a quite old system. > > > > > > So, my guesses: > > > > > > - libpng (and possibly also libart) is compiled as 32bit, but 64bit might > > > > be > > > > > needed here > > > - libpng (and possibly also libart) is compiled with --disable-shared, > > > > which > > > > > causes problems. Have you used --disable-shared ? Maybe try > > > without --disable-shared. > > > - Are your libpng libs really installed in /lb/lib/ ???? > > > - Try to copy libpng and libart libs and include files to /usr/lib64 > > > and /usr/include and run configure without setting LDFLAGS and CPPFLAGS > > > - Maybe also try to add /usr/lib to your configure run > > > with "--libdir=/usr/lib64 --libdir=/usr/lib" > > > > > > If all this does not help, I am at an end. > > > Good luck > > > Ralf > > > > > > Am Donnerstag, 7. Juni 2007 schrieb Dan Willis: > > > > Ok, using the variables below I was able to get the configure to run, > > > > but > > > > > > now I am into another problem when running the make command. Here is > > > > the > > > > > > build error I get: > > > > > > > > (cd .libs && rm -f librrdupd.la && ln -s ../librrdupd.la librrdupd.la) > > > > /bin/sh ../libtool --tag=CC --mode=link > > > > gcc -O3 -fno-strict-aliasing -Wall -std=gnu99 -pedantic -Wshadow > > > > -Wpointer- arith -Wca > > > > > > > > st-align -Wmissing-prototypes -Wmissing-declarations -Wnested-externs > > > > -Winli ne -W -fPIC -DPIC -L/lb/lib -o librrd.la -rpath > > > > /downloads/rrdtool-1.2/lib -version-info 2:10:0 hash_32.lo pngsize.lo > > > > rrd_create.lo rrd_dump.lo rrd_fetch.lo rrd_graph.lo rrd_ > > > > graph_helper.lo > > > > > > rrd_last.lo rrd_lastupdate.lo rrd_first.lo rrd_resize.lo rrd_restore.lo > > > > rrd_tune.lo rrd_version.lo rrd_xport.l o art_rgba_svp.lo rrd_gfx.lo > > > > rrd_afm.lo rrd_afm_data.lo rrd_tool.lo > > > > librrdupd.la -lfreetype -lpng -lz -lart_lgpl_2 -lm > > > > gcc -shared .libs/hash_32.o .libs/pngsize.o .libs/rrd_create.o > > > > libs/rrd_dump.o .libs/rrd_fetch.o .libs/rrd_graph.o .libs/rrd > > > > _graph_helper.o .libs/rrd_last.o .libs/rrd_lastupdate.o > > > > libs/rrd_first.o > > > > > > libs/rrd_resize.o .libs/rrd_restore.o .libs/rrd_tun e.o > > > > libs/rrd_version.o .libs/rrd_xport.o .libs/art_rgba_svp.o > > > > libs/rrd_gfx.o > > > > > > libs/rrd_afm.o .libs/rrd_afm_data.o .libs/rrd_ > > > > tool.o -Wl,--whole-archive > > > > > > /.libs/librrdupd.a -Wl,--no-whole-archive -L/lb/lib > > > > /usr/lib64/libfreetype.so /lb/lib/libpng12.a -lz > > > > /lb/lib/libart_lgpl_2.a -lm -Wl,-soname -Wl,librrd.so.2 -o > > > > libs/librrd.so.2.0.10 > > > > /usr/lib64/gcc-lib/x86_64-suse-linux/3.3.3/../../../../x86_64-suse-linux/bi > > > > > >n /ld: /lb/lib/libpng12.a(libpng12_la-png.o): reloca tion R_X86_64_32 > > > > can > > > > > > not be used when making a shared object; recompile with -fPIC > > > > /lb/lib/libpng12.a: could not read symbols: Bad value > > > > collect2: ld returned 1 exit status > > > > make[2]: *** [librrd.la] Error 1 > > > > make[2]: Leaving directory `/downloads/rrdtool-1.2.23/src' > > > > make[1]: *** [all-recursive] Error 1 > > > > make[1]: Leaving directory `/downloads/rrdtool-1.2.23' > > > > make: *** [all] Error 2 > > > > > > > > Any idea what this error is? It seems to be related to libpng and it > > > > is saying to recompile it with -fPIC tags??? > > > > > > > > > > > > > > > > ----- Original Message ----- > > > > From: "Dan Willis" > > > > To: > > > > Sent: Thursday, June 07, 2007 1:08 PM > > > > Subject: Re: [rrd-users] Problems with building on Suse Linux 9.0 > > > > > > > > > Since my libaries aren't in the same directory as my build directory, > > > > > wouldn't the variables be this for me: > > > > > > > > > > IR=-I/lb/include > > > > > CPPFLAGS="$IR $IR/libart-2.0 $IR/freetype2 $IR/libpng" > > > > > LDFLAGS="-L/lb/lib" > > > > > CFLAGS=-O3 > > > > > export CPPFLAGS LDFLAGS CFLAGS > > > > > > > > > > > > > > > ----- Original Message ----- > > > > > From: > > > > > To: "Dan Willis" > > > > > Sent: Thursday, June 07, 2007 12:32 PM > > > > > Subject: Re: [rrd-users] Problems with building on Suse Linux 9.0 > > > > > > > > > > > The documentation on the website states the variable should be -L: > > > > > > IR=-I$BUILD_DIR/lb/include > > > > > > CPPFLAGS="$IR $IR/libart-2.0 $IR/freetype2 $IR/libpng" > > > > > > LDFLAGS="-L$BUILD_DIR/lb/lib" > > > > > > CFLAGS=-O3 > > > > > > export CPPFLAGS LDFLAGS CFLAGS > > > > > > > > > > > > If LDFLAGS points to the dir where only libpng and libart are > > > > installed > > > > > > > > (according to the documentation), you should have no problems. The > > > > > > > > > > configure > > > > > > > > > > > script sets the standard libdir /usr/lib64. The LDFLAGS path is an > > > > > > > > > > additional > > > > > > > > > > > one. > > > > > > > > > > > > Yes, you could also copy (or link) all your extra libs and header > > > > files > > > > > > > > to /usr/lib64 and /usr/include, if the method above does not work. > > > > But > > > > > > > > I would prefer to keep them in the original dir to avoid trouble > > > > with > > > > > > > > the standard SUSE update mechanism. > > > > > > > > > > > > Ralf > > > > > > > > > > > > Am Donnerstag, 7. Juni 2007 schrieb Dan Willis: > > > > > > > Ah ok. Well then, that's a problem. Not all the libs are > > > > installed > > > > > > > there, > > > > > > > > > > > > only the libart and the libpng which I had to build manually. So > > > > I > > > > > > > suppose > > > > > > > > > > > > I need to move these into the usr/lib and usr/include where I > > > > believe > > > > > > > the > > > > > > > > > > > > rest of the OS's libaries are installed. > > > > > > > > > > > > > > The BUILD_DIR was set to the directory where I unzipped rrd. > > > > > > > > > > > > > > Also, I believe the documentation on the website states the > > > > variable > > > > > > > should > > > > > > > > > > > > be -I not -L like you suggested.. > > > > > > > > > > > > > > ----- Original Message ----- > > > > > > > From: > > > > > > > To: > > > > > > > Sent: Thursday, June 07, 2007 11:36 AM > > > > > > > Subject: Re: [rrd-users] Problems with building on Suse Linux 9.0 > > > > > > > > > > > > > > > Please take also care that all your libraries are installed in > > > > the > > > > > > > path > > > > > > > > > > > > you > > > > > > > > > > > > > > > set in LDFLAGS. Do you have really installed them into /lb/lib > > > > > > > > ? > > > > > > > > What > > > > > > > > > was > > > > > > > > > > > > the > > > > > > > > > > > > > > > $BUILD_DIR when you installed the libs ? > > > > > > > > > > > > > > > > > Oh. I'll try that and get back to you within the hour. > > > > > > > > > > > > > > > > > >> According to config.log you have set > > > > > > > > >> LDFLAGS="-I/lb/lib" . > > > > > > > > >> But the lib variable must begin with a -L like > > > > > > > > >> LDFLAGS="-L/lb/lib" > From alex at ergens.op.het.net Sat Jun 9 01:26:25 2007 From: alex at ergens.op.het.net (Alex van den Bogaerdt) Date: Sat, 9 Jun 2007 01:26:25 +0200 Subject: [rrd-users] "not a simple integer" error with DERIVE ds In-Reply-To: References: Message-ID: <20070608232625.GF2023@ergens.op.het.net> On Thu, Jun 07, 2007 at 09:13:58PM +0530, Nirnimesh wrote: > I get "not a simple integer" error with the DERIVE ds. I looked up the > archives and as far as I can understand, the only solution I can find is to > switch to integers. However, I do have valid reasons why I cannot, without > incurring too much pain. I expected this to be handled in a neater way. Am I > missing something? It's all about resolution of the data. There's a limited amount of significant digits available, and choices had to be made. A workaround: You can multiply the input by a certain amount (e.g. 1,000 , or 1,000,000) and undo this using a CDEF. This is how I monitor some values; it seems to work well. It also works out when you do the math yourself, no problem: Time 't' 123.500 Time 't+300' 124.100 -------------------- diff 300 seconds 0.600 0.6/300 = 0.002 Time 't' 123500 Time 't+300' 124100 -------------------- diff 300 seconds 600 600/300 = 2 Now divide by 1000 using a CDEF, and you get 0.002 again. HTH -- Alex van den Bogaerdt http://www.vandenbogaerdt.nl/rrdtool/ From tobi at oetiker.ch Mon Jun 11 18:45:49 2007 From: tobi at oetiker.ch (Tobias Oetiker) Date: Mon, 11 Jun 2007 18:45:49 +0200 (CEST) Subject: [rrd-users] News about RRDtool 1.3 development Message-ID: Hi List, In the last 48 hours I have added full cairo/pango support into the rrdtool 1.3 trunk. It is all online and ready to try for the adventurous: svn://svn.oetiker.ch/rrdtool/trunk/program If you like to sit and watch quietly, you might be interested in http://oss.oetiker.ch/rrdtool-trac/wiki/RRDtool13 where you can follow the progress of RRDtool13. If you have contributed to 1.3 and I have not properly explained the new feature, please update the apropriate entries. If you are using rrdtool on windows, and you can programm, it would be great if you had a look at the code, since there have been massive changes, most certainly breaking a lot of windowsy compilability ... cheers tobi -- Tobi Oetiker, OETIKER+PARTNER AG, Aarweg 15 CH-4600 Olten http://it.oetiker.ch tobi at oetiker.ch ++41 62 213 9902 From michael at akatose.de Mon Jun 11 21:29:58 2007 From: michael at akatose.de (=?ISO-8859-1?Q?Michael_H=E4usler?=) Date: Mon, 11 Jun 2007 21:29:58 +0200 Subject: [rrd-users] Graphing the limits for valid records Message-ID: <9A18807B-DA83-43DB-A9BA-C3DC320BCE97@akatose.de> Hi there, I hope that you can help me with a small graphing problem: is it possible to use the limits for valid records in a CDEF? I have a rrd with a max limit for valid records: # rrdtool info db.rrd rrd_version = "0003" step = 3600 last_update = 1181588494 ds[val].type = "GAUGE" ds[val].minimal_heartbeat = 7200 ds[val].min = 0.0000000000e+00 ds[val].max = 2.0158000000e+04 # <-- I want this value as an operand in a CDEF I tried different things, but nothing seems to get the desired result. E.g., I can get the maximum entry with DEF:a=db.rrd:val:AVERAGE VDEF:b=a,MAXIMUM But, so far the only way to get the limit for valid entries semms to be rrdtool info db.rrd | awk '{ if ($1=="ds[val].max") { print $3; }}' Is it possible to directly access ds[val].max? Best regards, Michael From pparrish at cablevision.com Tue Jun 12 01:07:40 2007 From: pparrish at cablevision.com (Paul Parrish) Date: Mon, 11 Jun 2007 19:07:40 -0400 Subject: [rrd-users] Unable to use RRDs.pm for perl scripts Message-ID: All, I am having difficulty using the perl portion of the rrd tool. I compiled and installed rrd with the --enable-perl-site-install option. It did exactly as expected and installed the files into my perl distribution: root at opscgi(/opt/ActivePerl-5.8): find . -name RRD* ./html/site/lib/RRD ./html/site/lib/RRDp.html ./html/site/lib/RRDs.html ./site/lib/auto/RRD ./site/lib/auto/RRDp ./site/lib/auto/RRDs ./site/lib/auto/RRDs/RRDs.so ./site/lib/auto/RRDs/RRDs.bs ./site/lib/RRD ./site/lib/RRDp.pm ./site/lib/RRDs.pm ./site/man/man3/RRD::Simple::Examples.3 ./site/man/man3/RRD::Simple.3 ./site/man/man3/RRDp.3 ./site/man/man3/RRDs.3 my @INC is as follows: @INC: /opt/ActivePerl-5.8/site/lib /opt/ActivePerl-5.8/lib . but when I try to run my perl script(which works perfectly fine on another box) I get the following error: Can't load '/opt/ActivePerl-5.8/site/lib/auto/RRDs/RRDs.so' for module RRDs: ld.so.1: graphcpu1.cgi: fatal: librrd.so.2: open failed: No such file or directory at /opt/ActivePerl-5.8/lib/DynaLoader.pm line 230. at ./graphcpu1.cgi line 4 Compilation failed in require at ./graphcpu1.cgi line 4. BEGIN failed--compilation aborted at ./graphcpu1.cgi line 4. the beginning of my perl script is as follows: #!/opt/ActivePerl-5.8/bin/perl -w # Library Declarations use RRDs; (I've tried with an without this line, no difference) use strict; use CGI; use DBI; use RRD::Simple; # Variable Declarations Any suggestions????? -Desperate and thoroughly confused -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.oetiker.ch/pipermail/rrd-users/attachments/20070611/02d41d8b/attachment.html From florian.rustedt at smartnet.de Tue Jun 12 11:12:28 2007 From: florian.rustedt at smartnet.de (Rustedt, Florian) Date: Tue, 12 Jun 2007 11:12:28 +0200 Subject: [rrd-users] Having a scale on the left AND the reight side of the chart possible? Message-ID: <735D322AED9CD711BE53000476917CD002819D2C@NT-SERVER-5> Hello, Is it possible, to have two scales visible in one chart? P.e.: I am measuring two input sources. One is from 0-100 and the other from 0-20. Now i want on the left side of the graph the scale for 1-100 printed and on the right side 0-20. Is this possible? See this link: http://www.compress.ch/Presse/Bilder/ITR200613_Chart_Konkurs.jpg Kind regards, Florian ********************************************************************************************** IMPORTANT: The contents of this email and any attachments are confidential. They are intended for the named recipient(s) only. If you have received this email in error, please notify the system manager or the sender immediately and do not disclose the contents to anyone or make copies thereof. *** eSafe scanned this email for viruses, vandals, and malicious content. *** ********************************************************************************************** From alex at ergens.op.het.net Tue Jun 12 16:46:46 2007 From: alex at ergens.op.het.net (Alex van den Bogaerdt) Date: Tue, 12 Jun 2007 16:46:46 +0200 Subject: [rrd-users] Graphing the limits for valid records In-Reply-To: <9A18807B-DA83-43DB-A9BA-C3DC320BCE97@akatose.de> References: <9A18807B-DA83-43DB-A9BA-C3DC320BCE97@akatose.de> Message-ID: <20070612144646.GC9687@ergens.op.het.net> On Mon, Jun 11, 2007 at 09:29:58PM +0200, Michael H?usler wrote: > Hi there, > > I hope that you can help me with a small graphing problem: > is it possible to use the limits for valid records in a CDEF? -1- not right now -2- not in a CDEF, but in a VDEF In theory it should be possible to get this data from the RRD. It has not yet been programmed though but VDEF was implemented with this kind of requests in mind. It won't be easy, not just a matter of a couple of lines of code. IIRC the graph functions have no direct access to the relevant portion of the RRD. I have not continued development of VDEF due to time shortage. Food has priority over fun, I'm sure you understand. Perhaps I pick things up Real Soon Now[tm] but I cannot promise that I will. Maybe someone else is willing to implement this, and similar, features right now. cheers -- Alex van den Bogaerdt http://www.vandenbogaerdt.nl/rrdtool/ From alex at ergens.op.het.net Tue Jun 12 16:50:45 2007 From: alex at ergens.op.het.net (Alex van den Bogaerdt) Date: Tue, 12 Jun 2007 16:50:45 +0200 Subject: [rrd-users] Having a scale on the left AND the reight side of the chart possible? In-Reply-To: <735D322AED9CD711BE53000476917CD002819D2C@NT-SERVER-5> References: <735D322AED9CD711BE53000476917CD002819D2C@NT-SERVER-5> Message-ID: <20070612145045.GD9687@ergens.op.het.net> On Tue, Jun 12, 2007 at 11:12:28AM +0200, Rustedt, Florian wrote: > Is it possible, to have two scales visible in one chart? > P.e.: I am measuring two input sources. One is from 0-100 and the other from > 0-20. > Now i want on the left side of the graph the scale for 1-100 printed and on > the right side 0-20. I don't think this is implemented, no. -- Alex van den Bogaerdt http://www.vandenbogaerdt.nl/rrdtool/ From geoff.garside at openhosting.co.uk Wed Jun 13 12:35:22 2007 From: geoff.garside at openhosting.co.uk (Geoff Garside) Date: Wed, 13 Jun 2007 11:35:22 +0100 Subject: [rrd-users] Little trouble with rrd_create_r Message-ID: <000001c7ada6$8c5b5280$0837d30a@Enki> Hello List, I've written an application which collects bandwidth stats from a bunch of switches and then takes those stats and is supposed to insert them into an RRD for each switch port. I've been having some trouble both creating RRDs and inserting data into them. The errors I am getting when creating the RRDs is "expected 2 data source readings (got 1) from 0:". I've got my code printing out the equivalent `rrdtool create` command from the same arguments passed to the `rrd_create_r` function and it prints out the following rrdtool create /path/to/rrds/b4_switch_port_47.rrd --step 300 --start 1181726796 \ "DS:input:COUNTER:600:0:U" \ "DS:output:COUNTER:600:U:U" \ "RRA:AVERAGE:0.5:1:600" \ "RRA:LAST:0.5:1:600" \ "RRA:MAX:0.5:1:600" \ "RRA:AVERAGE:0.5:6:700" \ "RRA:LAST:0.5:6:700" \ "RRA:MAX:0.5:6:700" \ "RRA:AVERAGE:0.5:24:775" \ "RRA:LAST:0.5:24:775" \ "RRA:MAX:0.5:24:775" \ "RRA:AVERAGE:0.5:288:797" \ "RRA:LAST:0.5:288:797" \ "RRA:MAX:0.5:288:797" The function which is used to create the RRD is as follows int sc_rrd_create(const char *filename) { time_t start = time(NULL) - 600; unsigned long step = 300; int argc = 14; char *argv[] = { "DS:input:COUNTER:600:0:U", "DS:output:COUNTER:600:U:U", "RRA:AVERAGE:0.5:1:600", "RRA:LAST:0.5:1:600", "RRA:MAX:0.5:1:600", "RRA:AVERAGE:0.5:6:700", "RRA:LAST:0.5:6:700", "RRA:MAX:0.5:6:700", "RRA:AVERAGE:0.5:24:775", "RRA:LAST:0.5:24:775", "RRA:MAX:0.5:24:775", "RRA:AVERAGE:0.5:288:797", "RRA:LAST:0.5:288:797", "RRA:MAX:0.5:288:797", (char*)NULL }; sc_replay_rrd_create(filename, step, start, argc, (const char **)argv); return rrd_create_r(filename, step, start, argc, (const char **)argv); } The `sc_replay_rrd_create` function is what prints out the above `rrdtool create` command. Out of all the switches I am working with and all their ports, this function correctly creates the RRD for about 10 - 15% of them. The rest have the "expected 2 data source readings (got 1) from 0:" error. Am I missing something glaringly obvious in my RRD definition which is causing this problem? Linking against librrd and using `-O0 -g` when compiling. RRDtool version 1.2.23. Regards, Geoff Garside Open Hosting Ltd -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.oetiker.ch/pipermail/rrd-users/attachments/20070613/0d52e0f2/attachment-0001.html From alex at ergens.op.het.net Wed Jun 13 13:06:03 2007 From: alex at ergens.op.het.net (Alex van den Bogaerdt) Date: Wed, 13 Jun 2007 13:06:03 +0200 Subject: [rrd-users] Little trouble with rrd_create_r In-Reply-To: <000001c7ada6$8c5b5280$0837d30a@Enki> References: <000001c7ada6$8c5b5280$0837d30a@Enki> Message-ID: <20070613110602.GB10440@ergens.op.het.net> On Wed, Jun 13, 2007 at 11:35:22AM +0100, Geoff Garside wrote: > The errors I am getting when creating the RRDs is "expected 2 data source > readings (got 1) from 0:". I've got my code printing out the equivalent > `rrdtool create` command from the same arguments passed to the > `rrd_create_r` function and it prints out the following $ grep 'expected.*data source' * Binary file librrd_th_la-rrd_update.o matches Binary file rrdupdate matches rrd_update.c: rrd_set_error("expected timestamp not found in data source from %s:...", rrd_update.c: rrd_set_error("expected %lu data source readings (got %lu) from %s:...", Binary file rrd_update.o matches $ In other words: there's no way this error message is generated while creating your database. Check your update routines. Try not calling rrd if your input data is incomplete; see if rrdtool still complains (probably not!) Do not assume snmpget (or -walk, or whatever) returns data. Verify this. Before calling "rrdtool update ${rrd} ${timestamp}:${data}", verify that these variables contain something useful. And do write those commands to a file for debugging purposes (make sure timestamp is numeric, not "N"). HTH -- Alex van den Bogaerdt http://www.vandenbogaerdt.nl/rrdtool/ From geoff.garside at openhosting.co.uk Wed Jun 13 13:46:17 2007 From: geoff.garside at openhosting.co.uk (Geoff Garside) Date: Wed, 13 Jun 2007 12:46:17 +0100 Subject: [rrd-users] Little trouble with rrd_create_r In-Reply-To: <20070613110602.GB10440@ergens.op.het.net> References: <000001c7ada6$8c5b5280$0837d30a@Enki> <20070613110602.GB10440@ergens.op.het.net> Message-ID: <000601c7adb0$74078e10$0837d30a@Enki> > -----Original Message----- > From: rrd-users-bounces at lists.oetiker.ch [mailto:rrd-users- > bounces at lists.oetiker.ch] On Behalf Of Alex van den Bogaerdt > Sent: 13 June 2007 12:06 > To: rrd-users at lists.oetiker.ch > Subject: Re: [rrd-users] Little trouble with rrd_create_r > > On Wed, Jun 13, 2007 at 11:35:22AM +0100, Geoff Garside wrote: > > > The errors I am getting when creating the RRDs is "expected 2 data > source > > readings (got 1) from 0:". I've got my code printing out the equivalent > > `rrdtool create` command from the same arguments passed to the > > `rrd_create_r` function and it prints out the following > > $ grep 'expected.*data source' * > Binary file librrd_th_la-rrd_update.o matches > Binary file rrdupdate matches > rrd_update.c: rrd_set_error("expected timestamp not found in data > source from %s:...", > rrd_update.c: rrd_set_error("expected %lu data source readings (got > %lu) from %s:...", > Binary file rrd_update.o matches > $ > > In other words: there's no way this error message is generated while > creating your database. > > Check your update routines. Try not calling rrd if your input > data is incomplete; see if rrdtool still complains (probably not!) > Do not assume snmpget (or -walk, or whatever) returns data. Verify > this. Before calling "rrdtool update ${rrd} ${timestamp}:${data}", > verify that these variables contain something useful. And do write > those commands to a file for debugging purposes (make sure timestamp > is numeric, not "N"). > > HTH > -- > Alex van den Bogaerdt > http://www.vandenbogaerdt.nl/rrdtool/ > > _______________________________________________ > rrd-users mailing list > rrd-users at lists.oetiker.ch > https://lists.oetiker.ch/cgi-bin/listinfo/rrd-users Thanks I'll take a look at that. It has certainly been puzzling me why I seem to be getting this error on create. Within the actual program which calls my rrd wrapper functions I have this. As a context rrd_filename is a character array and err in an int. The sc_warning function prints out to stderr. if (!sc_rrd_file_exists(rrd_filename)) if ((err = sc_rrd_create(rrd_filename)) != 0) sc_warning("Unable to create rrd: %s: %s", rrd_filename, sc_rrd_get_last_error()); which is where I am getting the expected 2 data sources errors from. It is printed on the line with "Unable to create rrd". The sc_rrd_get_last_error() function is just a wrapper which returns rrd_get_context()->rrd_error I am sort of assuming the rrd_error member of the context will be set by the rrd_create_r function provided it doesn't return a value of 0. Am I correct in this assumption? Regards, Geoff Garside Open Hosting Ltd From geoff.garside at openhosting.co.uk Wed Jun 13 14:20:58 2007 From: geoff.garside at openhosting.co.uk (Geoff Garside) Date: Wed, 13 Jun 2007 13:20:58 +0100 Subject: [rrd-users] Little trouble with rrd_create_r In-Reply-To: <000601c7adb0$74078e10$0837d30a@Enki> References: <000001c7ada6$8c5b5280$0837d30a@Enki><20070613110602.GB10440@ergens.op.het.net> <000601c7adb0$74078e10$0837d30a@Enki> Message-ID: <000701c7adb5$4cc76410$0837d30a@Enki> > -----Original Message----- > From: rrd-users-bounces at lists.oetiker.ch [mailto:rrd-users- > bounces at lists.oetiker.ch] On Behalf Of Geoff Garside > Sent: 13 June 2007 12:46 > To: 'Alex van den Bogaerdt'; rrd-users at lists.oetiker.ch > Subject: Re: [rrd-users] Little trouble with rrd_create_r > > > -----Original Message----- > > From: rrd-users-bounces at lists.oetiker.ch [mailto:rrd-users- > > bounces at lists.oetiker.ch] On Behalf Of Alex van den Bogaerdt > > Sent: 13 June 2007 12:06 > > To: rrd-users at lists.oetiker.ch > > Subject: Re: [rrd-users] Little trouble with rrd_create_r > > > > On Wed, Jun 13, 2007 at 11:35:22AM +0100, Geoff Garside wrote: > > > > > The errors I am getting when creating the RRDs is "expected 2 data > > source > > > readings (got 1) from 0:". I've got my code printing out the > equivalent > > > `rrdtool create` command from the same arguments passed to the > > > `rrd_create_r` function and it prints out the following > > > > $ grep 'expected.*data source' * > > Binary file librrd_th_la-rrd_update.o matches > > Binary file rrdupdate matches > > rrd_update.c: rrd_set_error("expected timestamp not found in data > > source from %s:...", > > rrd_update.c: rrd_set_error("expected %lu data source readings > (got > > %lu) from %s:...", > > Binary file rrd_update.o matches > > $ > > > > In other words: there's no way this error message is generated while > > creating your database. > > > > Check your update routines. Try not calling rrd if your input > > data is incomplete; see if rrdtool still complains (probably not!) > > Do not assume snmpget (or -walk, or whatever) returns data. Verify > > this. Before calling "rrdtool update ${rrd} ${timestamp}:${data}", > > verify that these variables contain something useful. And do write > > those commands to a file for debugging purposes (make sure timestamp > > is numeric, not "N"). > > > > HTH > > -- > > Alex van den Bogaerdt > > http://www.vandenbogaerdt.nl/rrdtool/ > > > > _______________________________________________ > > rrd-users mailing list > > rrd-users at lists.oetiker.ch > > https://lists.oetiker.ch/cgi-bin/listinfo/rrd-users > > Thanks I'll take a look at that. It has certainly been puzzling me why I > seem to be getting this error on create. > > Within the actual program which calls my rrd wrapper functions I have > this. > As a context rrd_filename is a character array and err in an int. The > sc_warning function prints out to stderr. > > if (!sc_rrd_file_exists(rrd_filename)) > if ((err = sc_rrd_create(rrd_filename)) != 0) > sc_warning("Unable to create rrd: %s: %s", > rrd_filename, sc_rrd_get_last_error()); > > which is where I am getting the expected 2 data sources errors from. It is > printed on the line with "Unable to create rrd". The > sc_rrd_get_last_error() > function is just a wrapper which returns > > rrd_get_context()->rrd_error > > I am sort of assuming the rrd_error member of the context will be set by > the > rrd_create_r function provided it doesn't return a value of 0. Am I > correct > in this assumption? > > Regards, > Geoff Garside > > Open Hosting Ltd > > > _______________________________________________ > rrd-users mailing list > rrd-users at lists.oetiker.ch > https://lists.oetiker.ch/cgi-bin/listinfo/rrd-users Replying to my own message but it relates to the content. I've modified by rrd error wrapper functions to use the rrd_get_error function and also added a quick wrapper around the rrd_test_error function and am using that to see if there is an error in RRD before printing out as I was above. The majority of the RRDs are now being created properly though nearing the end of the list of rrds created I am getting errors (again from rrd_update.c) of illegal attempt to update using time 1181736640 when last update time is 1181736640 (minimum one second step) Within the main body of code which creates then updates the RRD it should only do an update if there if the result of rrd_create_r == 0 && !rrd_test_error(). One thing which has occurred to me, is that when I am getting the SNMP results I am storing a time_t in the structure with the results for each switch port. This value is then used when creating the RRD update string. Is it possible that I would need to set the initial time when creating the RRD to the same time_t I stored when I obtained the SNMP results? I am currently as shown before taking `time(NULL) - 600` which may well not be long enough. Regards, Geoff Garside Open Hosting Ltd From Gabriel.Fortuna at is.co.za Wed Jun 13 17:04:52 2007 From: Gabriel.Fortuna at is.co.za (Gabriel Fortuna) Date: Wed, 13 Jun 2007 17:04:52 +0200 Subject: [rrd-users] RRD aggregating data into impossibly large numbers. Message-ID: <89D2AE9E4EAAB34FABDBF2913867C62F0CE43E07@ZABRYSVISEX04.af.didata.local> Hi all, I'm hoping someone can help me with this very strange problem I'm having. I'm using rrd to store and graph data that we collect from a number of modems connected to a satellite system. Every 5 minutes, I query the satellite systems performance statistics database and input those numbers into an rrd file per modem. So far so good. :) Next, we have a little web interface where people can go and pull graphs for each modem. This all works fine... until I decide to view weekly and or monthly data. What seems to be happening is rrd is rolling up the primary data points, but, something is completely messing up the aggregated data, and storing it as impossibly high and impossibly low (for these modems at least, not mathematically) numbers. I'll give you an example: I store an availability number which is either 0 (unavailable) or 100 (available). In the monthly rra, the values get aggregated to into numbers with exponents in the hundreds: Snip from an rrdtool dump. --------- 2.0341983732e-230 -3.4449528818e-105 -9.1197725638e+251 --------- Now, I know these numbers can never be negative, because they're hardcoded to originally be either 0 or 100. In fact, nothing in my system is a negative number. I also scrub the numbers prior to updating the rrd to make sure they conform to these rules, yet, the data is still broken as it gets aggregated. Has anyone on this list ever seen similar behavior? Can anyone provide me with help or advice? Many many many thanks in advance! P.S - I'm updating my rrd's with RRDTool::OO (the latest version - 0.19) RRDTool is also the latest version, 1.2.23. OS is RHEL ES4. -- Regards, Gabriel Fortuna Internet Solutions Please note: This email and its content are subject to the disclaimer as displayed at the following link http://www.is.co.za/legal/E-mail+Confidentiality+Notice+and+Disclaimer.htm. Should you not have Web access, send a mail to disclaimers at is.co.za and a copy will be emailed to you. From tobi at oetiker.ch Thu Jun 14 23:06:59 2007 From: tobi at oetiker.ch (Tobias Oetiker) Date: Thu, 14 Jun 2007 23:06:59 +0200 (CEST) Subject: [rrd-users] rrdtool 1.3 progress Message-ID: Folks, I have run some preliminary performance tests with Bernhards MMAP stuff. Herare are some results from my Thinkpad: * in-cache update performance went up form 12k/s to 22k/s * cache usage is greatly reduced (3-5 times is my guess). this lets more rrd files stay in cache which again reduces the need to read data from disk and improves performance ... * The max to-disk-write-speed of 250 updates/s gets realised much more often. My guesstimate is that 1.3 should be able todo 50k updates in a 5 minute interval on a 5.4krpm laptop disk with 1GB ram in the box. I have also added a new command TEXTALIGN to the rrdtool graph module that lets you specify the default legend alignement. Until now it was always "justified" unless you used escape characters at the end of a line. I continue to update the http://oss.oetiker.ch/rrdtool-trac/wiki/RRDtool13 document cheers tobi -- Tobi Oetiker, OETIKER+PARTNER AG, Aarweg 15 CH-4600 Olten http://it.oetiker.ch tobi at oetiker.ch ++41 62 213 9902 From masood at nexlinx.net.pk Thu Jun 14 23:17:24 2007 From: masood at nexlinx.net.pk (Masood Ahmad Shah) Date: Fri, 15 Jun 2007 02:17:24 +0500 Subject: [rrd-users] rrdtool 1.3 progress In-Reply-To: References: Message-ID: <4671B064.8000601@nexlinx.net.pk> Pretty nice to hear this; specially 50K updates in a 5 minute interval wow nice :P May I know when you are gonna release this 1.3 version? Good Job & Keep it up Regards, Masood Ahmad Shah http://www.nexlinx.net.pk Tobias Oetiker wrote: > Folks, > > I have run some preliminary performance tests with Bernhards MMAP > stuff. Herare are some results from my Thinkpad: > > * in-cache update performance went up form 12k/s to 22k/s > > * cache usage is greatly reduced (3-5 times is my guess). this lets > more rrd files stay in cache which again reduces the need to read > data from disk and improves performance ... > > * The max to-disk-write-speed of 250 updates/s gets realised much > more often. My guesstimate is that 1.3 should be able todo 50k > updates in a 5 minute interval on a 5.4krpm laptop disk with 1GB > ram in the box. > > I have also added a new command TEXTALIGN to the rrdtool graph > module that lets you specify the default legend alignement. Until > now it was always "justified" unless you used escape characters at > the end of a line. > > I continue to update the > > http://oss.oetiker.ch/rrdtool-trac/wiki/RRDtool13 > > document > > cheers > tobi > > > From tobi at oetiker.ch Fri Jun 15 07:12:59 2007 From: tobi at oetiker.ch (Tobias Oetiker) Date: Fri, 15 Jun 2007 07:12:59 +0200 (CEST) Subject: [rrd-users] rrdtool 1.3 progress In-Reply-To: <4671B064.8000601@nexlinx.net.pk> References: <4671B064.8000601@nexlinx.net.pk> Message-ID: Masood, > Pretty nice to hear this; specially 50K updates in a 5 minute interval > wow nice :P ain't it ? > May I know when you are gonna release this 1.3 version? there is no schedule ... it depends on how many people test and feedback ... the code is very new ... cheers tobi > > Good Job & Keep it up > > Regards, > Masood Ahmad Shah > http://www.nexlinx.net.pk > > > Tobias Oetiker wrote: > > Folks, > > > > I have run some preliminary performance tests with Bernhards MMAP > > stuff. Herare are some results from my Thinkpad: > > > > * in-cache update performance went up form 12k/s to 22k/s > > > > * cache usage is greatly reduced (3-5 times is my guess). this lets > > more rrd files stay in cache which again reduces the need to read > > data from disk and improves performance ... > > > > * The max to-disk-write-speed of 250 updates/s gets realised much > > more often. My guesstimate is that 1.3 should be able todo 50k > > updates in a 5 minute interval on a 5.4krpm laptop disk with 1GB > > ram in the box. > > > > I have also added a new command TEXTALIGN to the rrdtool graph > > module that lets you specify the default legend alignement. Until > > now it was always "justified" unless you used escape characters at > > the end of a line. > > > > I continue to update the > > > > http://oss.oetiker.ch/rrdtool-trac/wiki/RRDtool13 > > > > document > > > > cheers > > tobi > > > > > > > > -- Tobi Oetiker, OETIKER+PARTNER AG, Aarweg 15 CH-4600 Olten http://it.oetiker.ch tobi at oetiker.ch ++41 62 213 9902 From varmkk at gmail.com Fri Jun 15 13:26:54 2007 From: varmkk at gmail.com (VarmaKK) Date: Fri, 15 Jun 2007 04:26:54 -0700 (PDT) Subject: [rrd-users] RRD shows unknown data in the graph Message-ID: <11116174.post@talk.nabble.com> Hi, I'm using RRD tool to monitor a group of hosts. We have scripts to fetch the time series data from all the hosts and that data is stored in an Oracle DB. And for every hour this time series data is transfered from Oracle DB to RRD database through a perl script. It's been working fine since long time. Now I have discovered a problem with values supposed to be unknown ( Channels not being updated because the corresponding hosts are down for 3 hours): But they don't show up as unknown/NaN in the database - instead it show a constant value let's say 150 in the graphs during that 3 hrs down time. Can any one help how do I track this problem, it's very urgent. Thanks in advance. -- View this message in context: http://www.nabble.com/RRD-shows-unknown-data-in-the-graph-tf3920423.html#a11116174 Sent from the RRDTool - User mailing list archive at Nabble.com. From alex at ergens.op.het.net Fri Jun 15 13:40:34 2007 From: alex at ergens.op.het.net (Alex van den Bogaerdt) Date: Fri, 15 Jun 2007 13:40:34 +0200 Subject: [rrd-users] RRD shows unknown data in the graph In-Reply-To: <11116174.post@talk.nabble.com> References: <11116174.post@talk.nabble.com> Message-ID: <20070615114034.GA24049@ergens.op.het.net> On Fri, Jun 15, 2007 at 04:26:54AM -0700, VarmaKK wrote: > I'm using RRD tool to monitor a group of hosts. We have scripts to fetch the > time series data from all the hosts and that data is stored in an Oracle DB. > And for every hour this time series data is transfered from Oracle DB to RRD > database through a perl script. It's been working fine since long time. > > Now I have discovered a problem with values supposed to be unknown ( > Channels not being updated because the corresponding hosts are down for 3 > hours): > But they don't show up as unknown/NaN in the database - instead it show a > constant value let's say 150 in the graphs during that 3 hrs down time. As with many other updates: the rate is computed delta(value)/delta(time). If the timer increased by 1620000 during the last three hours, the rate will be 150. To solve your problem: If you know a host is down, just feed "U" (unknown) to the database. You will have to track up/down, store it in your database and use it in your update script. Another approach is to utilize RRDtool's heartbeat feature; if an update is done too long after the previous one, RRDtool will set the data to unknown. In my opinion it is better to tell RRDtool than to rely on this heartbeat feature. HTH -- Alex van den Bogaerdt http://www.vandenbogaerdt.nl/rrdtool/ From danny at resennet.dk Fri Jun 15 13:30:41 2007 From: danny at resennet.dk (Danny Kjærgaard) Date: Fri, 15 Jun 2007 13:30:41 +0200 Subject: [rrd-users] rrdgraph problems with year timeline. Message-ID: Hi, I just started using rrdtools, and fell over something i cant really find in the man pages or in a tutorial. I need to make a graph over a year, and would like all major gridlines to be a month, and when i do this with this x_grid MONTH:1:MONTH:1:MONTH:1:0:%b i get double october. Now this is one thing i cant figure out, and an other is, i would like the same behavior as the above x_grid except that there should be a alt_grid in between the majors. How could this easy be done ? Sorry, if i overlooked something. -Danny From danny at resennet.dk Fri Jun 15 15:53:52 2007 From: danny at resennet.dk (Danny Kjærgaard) Date: Fri, 15 Jun 2007 15:53:52 +0200 Subject: [rrd-users] SUM, in gprint, when DS type is GAUGE Message-ID: Hi, as the subject tells, i would like to have a sum after each lengend. I need to messaure mail flow per 5min, over 24 hours, and would like to have the sum of of mails in the last 24 hours too. When i use a vdef and total i tells something way too high, and a floating number too. How might i do this? Thanks in advance. -Danny From tobi at oetiker.ch Fri Jun 15 17:34:45 2007 From: tobi at oetiker.ch (Tobias Oetiker) Date: Fri, 15 Jun 2007 17:34:45 +0200 (CEST) Subject: [rrd-users] rrdgraph problems with year timeline. In-Reply-To: References: Message-ID: Danny, the problem is that you have set the LPR argument such that the label is placed at midnght of the first of the month. This is wrong. The label concerns the whole month, so you must set the precision to 30 days (roughly) 30 * 24 * 3600 in october your error becomes a particular problem because of the daylight switching problem cheer tobi Today Danny Kj?rgaard wrote: > Hi, > > I just started using rrdtools, and fell over something i cant really find in > the man pages or in a tutorial. I need to make a graph over a year, and > would like all major gridlines to be a month, and when i do this with this > x_grid MONTH:1:MONTH:1:MONTH:1:0:%b i get double october. > > Now this is one thing i cant figure out, and an other is, i would like the > same behavior as the above x_grid except that there should be a alt_grid in > between the majors. How could this easy be done ? > > Sorry, if i overlooked something. > > -Danny > > > > _______________________________________________ > rrd-users mailing list > rrd-users at lists.oetiker.ch > https://lists.oetiker.ch/cgi-bin/listinfo/rrd-users > > -- Tobi Oetiker, OETIKER+PARTNER AG, Aarweg 15 CH-4600 Olten http://it.oetiker.ch tobi at oetiker.ch ++41 62 213 9902 From ulf at atc-onlane.com Fri Jun 15 21:52:09 2007 From: ulf at atc-onlane.com (Ulf Zimmermann) Date: Fri, 15 Jun 2007 12:52:09 -0700 Subject: [rrd-users] RRD file format across platforms Message-ID: <5DE4B7D3E79067418154C49A739C1251158414@msmpk01.corp.autc.com> I am currently using collectd to collect statistic on about 100 hosts, for it I wrote my owner grapher. So far we have only run i686 and amd in 32bit and things have not been a problem. Collectd allows to run over the network but so far everytime I looked at it, I lost too many packets and so I got holes in the data. Because of that we run collectd local on each box and copy every 30 minutes the rrd files to the grapher box. This works good enough for us as long we ran only i686. But we also got 3 Solaris sparc machines now and x86_64 is our new target for Database servers. And here lies the problem. The format of the rrd file is depend on the platform is was written on, you can only xml dump it there and then reimport on the grapher box, not very elegant nor efficent, esp. when you are start getting to larger number of machines. I really would like to see if there couldn't be support for (as option maybe) of allowing platform independ files. I know of a friend at Yahoo, who uses rrdtool also and has run into the same problem much more so then I have. Lets discuss please. Ulf. From linux at thehobsons.co.uk Fri Jun 15 21:57:52 2007 From: linux at thehobsons.co.uk (Simon Hobson) Date: Fri, 15 Jun 2007 20:57:52 +0100 Subject: [rrd-users] SUM, in gprint, when DS type is GAUGE In-Reply-To: References: Message-ID: Danny Kj?rgaard wrote: >as the subject tells, i would like to have a sum after each lengend. I need >to messaure mail flow per 5min, over 24 hours, and would like to have the >sum of of mails in the last 24 hours too. When i use a vdef and total i >tells something way too high, and a floating number too. How might i do >this? DS type doesn't matter - it only controls how the data is entered into the RRD. If you multiply rate by time you get total, end of story. Calculate the average over 24 hours, multiply by 86400, and you get the total. It won't normally be an integer because of all the normalisation that goes on - but if you are VERY careful with your data inserts so as to avoid normalisation then you will get something very close and can round it. From jfesler at gigo.com Fri Jun 15 22:23:52 2007 From: jfesler at gigo.com (Jason Fesler) Date: Fri, 15 Jun 2007 13:23:52 -0700 (PDT) Subject: [rrd-users] RRD file format across platforms In-Reply-To: <5DE4B7D3E79067418154C49A739C1251158414@msmpk01.corp.autc.com> References: <5DE4B7D3E79067418154C49A739C1251158414@msmpk01.corp.autc.com> Message-ID: > And here lies the problem. The format of the rrd file is depend on the > platform is was written on, you can only xml dump it there and then Moving to a consistent structure would: Make writing binary tools easier - skipping the expensive export/munge/import process Make displaying data collected by multiple platforms and accessed via (nfs, rsync, whatever) easier and allow a unified front end for end users. This point would be applicable both in large scale operations, and in operations where you're forced to work with multiple platforms. (Or you are trying to migrate from one to another on a medium number of machines). -jason From tobi at oetiker.ch Fri Jun 15 23:59:01 2007 From: tobi at oetiker.ch (Tobias Oetiker) Date: Fri, 15 Jun 2007 23:59:01 +0200 (CEST) Subject: [rrd-users] RRD file format across platforms In-Reply-To: <5DE4B7D3E79067418154C49A739C1251158414@msmpk01.corp.autc.com> References: <5DE4B7D3E79067418154C49A739C1251158414@msmpk01.corp.autc.com> Message-ID: Hi Ulf, on the 'wanted' list for 1.3 is also "Moving the fileformat to xdr" ... this will solve the portability problem ... cheers tobi -- Tobi Oetiker, OETIKER+PARTNER AG, Aarweg 15 CH-4600 Olten http://it.oetiker.ch tobi at oetiker.ch ++41 62 213 9902 From m.alhaj at itc.net.sa Sun Jun 17 15:34:01 2007 From: m.alhaj at itc.net.sa (Mohammed Alhaj Ali) Date: Sun, 17 Jun 2007 16:34:01 +0300 Subject: [rrd-users] POS interface Message-ID: Dear all, How can I include POS interface to the cricket server ?? Yes. We Deliver Mohammed Alhaj Ali Data Center Administrator Integrated Telecom Co. Ltd. Tel : +966(1) 406-2222 Ext. 6150 Fax : +966 (1) 406-2221 GSM : +966 (5) 67-167-167 m.alhaj at itc.net.sa www.itc.net.sa =========================================================== This e-mail is meant for the intended recipient only. If you are not the intended recipient, be aware that any disclosure, copying, distribution or use of the contents of this e-mail is prohibited. If you have received this e-mail in error, please notify us by telephone (+9661-405-8900) or by e-mail (info at itc.net.sa ). =========================================================== -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.oetiker.ch/pipermail/rrd-users/attachments/20070617/a2b06744/attachment-0001.html -------------- next part -------------- A non-text attachment was scrubbed... Name: ITCNewLogo.jpg Type: image/jpeg Size: 15005 bytes Desc: not available Url : http://lists.oetiker.ch/pipermail/rrd-users/attachments/20070617/a2b06744/attachment-0001.jpg From marc at ena.com Sun Jun 17 16:47:01 2007 From: marc at ena.com (Marc Powell) Date: Sun, 17 Jun 2007 09:47:01 -0500 Subject: [rrd-users] POS interface In-Reply-To: Message-ID: > -----Original Message----- > From: rrd-users-bounces at lists.oetiker.ch [mailto:rrd-users- > bounces at lists.oetiker.ch] On Behalf Of Mohammed Alhaj Ali > Sent: Sunday, June 17, 2007 8:34 AM > To: rrd-users at lists.oetiker.ch > Subject: [rrd-users] POS interface > > > > Dear all, > > > > How can I include POS interface to the cricket server ?? This is definitely better suited to the cricket-users mailing list as it's a cricket config question. There's nothing really special about them and this works for us on cisco routers -- ### Interface 24: Packet over SONET/SDH Interface (171)# target POS2_1 interface-name = POS2/1 long-desc = "@@BB OC3
155.0 MBits/s Packet over SONET/SDH Interface" order = 9973 rrd-max = 155000000 rrd-max-octets = 19375000 short-desc = "@@BB" snmp-version = 2c target-type = cisco-interface-hc - Marc From vladoportos at bancodata.eu Mon Jun 18 06:21:56 2007 From: vladoportos at bancodata.eu (VladoPortos) Date: Mon, 18 Jun 2007 06:21:56 +0200 Subject: [rrd-users] Not corect numbers in rrd ? Message-ID: <46760864.6020608@bancodata.eu> Hi all, i made a graph which show online users and getting data from mysql and so on... but when i look on what data are feeded to rrd they look like this: 58 38 and in rrd it looks like this: 1182109560: 5.8000000000e+01 3.7985531650e+01 But in graph last values are 58 (OK) and second one is 37 ( not OK ) rrd db look like this rrdtool.create(cesta, '--step', '120', 'DS:ali_online:GAUGE:240:0:1000', 'DS:hord_online:GAUGE:240:0:1000', 'RRA:LAST:0.5:1:240') ### Its in python script and it updating db every 2min and should keep data for 8hours ( no average or anything just curent data ) and my graphs parameters look like this: def graf(spolu): cas = strftime("%a, %d %b %Y %H\:%M\:%S") rrdtool.graph(obr_cesta, '--width', '510', '--height', '130', '--imgformat', 'PNG', '--base', '1000', '--alt-autoscale-max', '--vertical-label', 'Online players', '--x-grid', 'MINUTE:10:HOUR:1:HOUR:1:0:%H:%M', '--color', 'FONT#A0A0A0', '--color', 'BACK#272727', '--color', 'CANVAS#3C333C', '--color', 'SHADEB#333333', '--color', 'SHADEA#707070', '--color', 'FONT#AAAAAA', '--start', '-8h', '-e', '-300', 'DEF:ali_online='+cesta+':ali_online:LAST', 'DEF:hord_online='+cesta+':hord_online:LAST', '--lower-limit', '0', 'COMMENT: Maximum Priemer Aktualne \\n', 'AREA:ali_online#3574ECC0:Aliancie Online:STACK', 'GPRINT:ali_online:MAX:%8.0lf', 'GPRINT:ali_online:AVERAGE: %8.0lf', 'GPRINT:ali_online:LAST: %8.0lf%s\\n', 'AREA:hord_online#E55451C0:Hordy Online:STACK', 'GPRINT:hord_online:MAX: %8.0lf', 'GPRINT:hord_online:AVERAGE: %8.0lf', 'GPRINT:hord_online:LAST: %8.0lf\\n', 'COMMENT: ', 'COMMENT:'+cas+'\\n', 'COMMENT: \:\:Gbely ON\:\: All online players\: '+spolu+'') But its show wrong data i gues its in parts "%8.0lf\\n'" <-- no idea what is this, or RRA:LAST:0.5:1:240 (what for is 0.5 there ?) Any idea what im doing wrong ? Thank you and best regards Vladimir From linux at thehobsons.co.uk Mon Jun 18 10:10:39 2007 From: linux at thehobsons.co.uk (Simon Hobson) Date: Mon, 18 Jun 2007 09:10:39 +0100 Subject: [rrd-users] SUM, in gprint, when DS type is GAUGE In-Reply-To: References: Message-ID: Danny Kj?rgaard wrote: >However i have some problems with the normalisation that you speak of. >I loose about 3 when i calculate the total of 3-4000 this might >not be that much. But if there is a way to make this better i would >love to know how. I enter the data to the rrd file as precise that i >can and i cast all data to int before inserted. > >Is there a way to make the 3 mails apeare agine ? If absolute precision is required then rrd is probably not the right tool - rrd was designed to do a particular task and only works with rates, not absolute numbers. From alex at ergens.op.het.net Mon Jun 18 11:59:52 2007 From: alex at ergens.op.het.net (Alex van den Bogaerdt) Date: Mon, 18 Jun 2007 11:59:52 +0200 Subject: [rrd-users] Not corect numbers in rrd ? In-Reply-To: <46760864.6020608@bancodata.eu> References: <46760864.6020608@bancodata.eu> Message-ID: <20070618095952.GA24296@ergens.op.het.net> On Mon, Jun 18, 2007 at 06:21:56AM +0200, VladoPortos wrote: > Hi all, > > i made a graph which show online users and getting data from mysql and so > on... > But its show wrong data i gues its in parts "%8.0lf\\n'" <-- no idea what > is this, or RRA:LAST:0.5:1:240 (what for is 0.5 there ?) > > Any idea what im doing wrong ? You are using rrdtool as a graphing tool, and (wrongly) expect it to behave like that. It isn't, and it doesn't. There's plenty of documentation available which explains what's going on; look at the tutorials, the manual pages and my site. In short: rrdtool is _not_ a regular database and it is _not_ a tool to make fancy pictures. The data you are seeing is _not_ wrong, your expectations are. That "0.5" is the "XFF". "%8.0lf" is input for "printf", do a google search for "printf manual" if you don't know it. Output numbers are in scientific notation (1.0e2 = 10) and are not the same as input numbers because of normalization and consolidation (see my site). HTH -- Alex van den Bogaerdt http://www.vandenbogaerdt.nl/rrdtool/ From leif at neland.dk Mon Jun 18 13:00:36 2007 From: leif at neland.dk (Leif Neland) Date: Mon, 18 Jun 2007 13:00:36 +0200 Subject: [rrd-users] Not corect numbers in rrd ? References: <46760864.6020608@bancodata.eu> Message-ID: <009f01c7b197$e6566c30$3c00000a@lan> ----- Original Message ----- From: VladoPortos To: rrd-users at lists.oetiker.ch Sent: Monday, June 18, 2007 6:21 AM Subject: [rrd-users] Not corect numbers in rrd ? Hi all, i made a graph which show online users and getting data from mysql and so on... but when i look on what data are feeded to rrd they look like this: 58 38 and in rrd it looks like this: 1182109560: 5.8000000000e+01 3.7985531650e+01 But in graph last values are 58 (OK) and second one is 37 ( not OK ) Any idea what im doing wrong ? If you want (a better chance of) the exact numbers out that you put in, you must be sure you enter the data at the exact time which matches the steps. So do not enter the data at "now", but calculate the time exactly at eg 12:00:00 If you run a cron job at 12:00, it might be finished and enter the data at 12:00:01, and RRD interpolates by "drawing a straight line" between the last time-corrected data and 12:00:01. Eg, if the value at 11:58:00 was 37 and 12:00:01 was 38, at 12:00:00 it would be 37.985531650 (the calculation is just an example, not the right values (probably)) What works for me in my is storing the timestamp at the start of the script and using it later when I enter the data, my scripts takes quite a few seconds, because they fetch and parse data from webpages. My cron manages to start the job in the right seconds mostly, it doesn't matter for me if it slips a second or two. Leif -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.oetiker.ch/pipermail/rrd-users/attachments/20070618/42a583ff/attachment.html From rpyne at kinfolk.org Tue Jun 19 01:35:05 2007 From: rpyne at kinfolk.org (Richard Pyne) Date: Mon, 18 Jun 2007 17:35:05 -0600 Subject: [rrd-users] Web log graphing Message-ID: <4676C249.16789.97872C0@rpyne.kinfolk.org> 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? I know I can handle the rrdtool part, but I am not sure how to collect and total the data from the web log. Any help or direction will be greatly appreciated. --Richard From meeaghost at gmail.com Tue Jun 19 03:47:40 2007 From: meeaghost at gmail.com (Chris G.) Date: Mon, 18 Jun 2007 18:47:40 -0700 (PDT) Subject: [rrd-users] Problem with Time series data entry Message-ID: <11187269.post@talk.nabble.com> I have some historical time series data. The data was collected approx. every 15 mins, I say approx. because the times are not exactly 15 mins to the second apart. In some cases there could be 10-15 seconds of delay between each of the 15 min collections. In some cases if a collection cycle was skipped a time entry less then 15 mins will occur. For example, data collected at 10:00:01, 10:15:07, 10:30:03, 10:45:11, 10:48:13, 10:51:12, 11:00:32. I have created the following: rrdtool create test.rrd --start 1179721292 --step 900 DS:value:GAUGE:1830:-5:5000 RRA:LAST:0.5:1:672 RRA:AVERAGE:0.5:4:2160 I expected this to allow me to keep the actual measured value and the time the value was collected for 7 days and then the hourly average for the previous 90 days. I update test.rrd with the following: rrdtool update test.rrd 1179722192:0.359 rrdtool update test.rrd 1179723089:0.343 rrdtool update test.rrd 1179724001:0.329 rrdtool update test.rrd 1179724892:0.359 rrdtool update test.rrd 1179725797:0.36 rrdtool update test.rrd 1179726695:0.375 rrdtool update test.rrd 1179727604:0.36 rrdtool update test.rrd 1179728493:0.359 rrdtool update test.rrd 1179729394:0.375 rrdtool update test.rrd 1179730293:0.344 When I perform a rrdtool fetch the first data entry I get has a timestamp of 1179721800 this is not the date/time I passed in with the update. Is it not possible to collect/store and then graph time series data using the exact time the measurement was taken. Any help/guidance would be appreciated. Chris G. -- View this message in context: http://www.nabble.com/Problem-with-Time-series-data-entry-tf3943829.html#a11187269 Sent from the RRDTool - User mailing list archive at Nabble.com. From linux at thehobsons.co.uk Tue Jun 19 08:43:50 2007 From: linux at thehobsons.co.uk (Simon Hobson) Date: Tue, 19 Jun 2007 07:43:50 +0100 Subject: [rrd-users] Problem with Time series data entry In-Reply-To: <11187269.post@talk.nabble.com> References: <11187269.post@talk.nabble.com> Message-ID: Chris G. wrote: >I have some historical time series data. The data was collected approx. >every 15 mins, I say approx. because the times are not exactly 15 mins to >the second apart. In some cases there could be 10-15 seconds of delay >between each of the 15 min collections. In some cases if a collection cycle >was skipped a time entry less then 15 mins will occur. For example, data >collected at 10:00:01, 10:15:07, 10:30:03, 10:45:11, 10:48:13, 10:51:12, >11:00:32. > >I have created the following: >rrdtool create test.rrd --start 1179721292 --step 900 >DS:value:GAUGE:1830:-5:5000 RRA:LAST:0.5:1:672 RRA:AVERAGE:0.5:4:2160 > >I expected this to allow me to keep the actual measured value and the time >the value was collected for 7 days and then the hourly average for the >previous 90 days. >When I perform a rrdtool fetch the first data entry I get has a timestamp of >1179721800 this is not the date/time I passed in with the update. No it won't be the timestamp you passed in the update UNLESS that timestamp is a multiple of the step size you used when creating the rrd. Unless every update is timestamped exactly on a step boundary, then it will be normalised to fit those steps. >Is it not possible to collect/store and then graph time series data using >the exact time the measurement was taken. No, this is not what rrd was designed for, if you want to do that then use a more appropriate tool. Rrd was designed to do one task, and it does it very well, to store historical data which is normalised and consolidated as it is entered so as to a) minimise the processing required for data extraction/graphing and b) to minimise the data storage requirements. >Any help/guidance would be appreciated. As well as the project web pages, there is some excellent information at Alex van den Bogaerdt's site http://www.vandenbogaerdt.nl/rrdtool/ In particular, see under the tutorial section where it says : >>Rates, normalizing and consolidating explains how RRDtool processes >>its input data, normalization and consolidation are described there >>as well as some generic stuff about the properties of an RRA From wernli at in2p3.fr Tue Jun 19 09:12:32 2007 From: wernli at in2p3.fr (Fabien Wernli) Date: Tue, 19 Jun 2007 09:12:32 +0200 Subject: [rrd-users] Web log graphing In-Reply-To: <4676C249.16789.97872C0@rpyne.kinfolk.org> References: <4676C249.16789.97872C0@rpyne.kinfolk.org> Message-ID: <20070619071232.GA31570@ccswiss.in2p3.fr> 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 From sergiusz at pawlowicz.name Tue Jun 19 09:38:09 2007 From: sergiusz at pawlowicz.name (Sergiusz Pawlowicz) Date: Tue, 19 Jun 2007 08:38:09 +0100 Subject: [rrd-users] Web log graphing In-Reply-To: <4676C249.16789.97872C0@rpyne.kinfolk.org> References: <4676C249.16789.97872C0@rpyne.kinfolk.org> Message-ID: On 6/19/07, 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? > > I know I can handle the rrdtool part, but I am not sure how to collect and > total the data from the web log. check collectd: http://collectd.org/ it is reading apache server-status each ten seconds, so you will have very nice graphs. s. From danny at resennet.dk Tue Jun 19 12:45:36 2007 From: danny at resennet.dk (Danny Kjærgaard) Date: Tue, 19 Jun 2007 12:45:36 +0200 Subject: [rrd-users] rrdgraph Message-ID: Hey Can someone help me with some details on generating a graph. I would like to use the font used in this graph: http://oss.oetiker.ch/rrdtool/btdmd8.png And i would like to know how to make the comment alignment with the legend. If the maker could supply the command line that generated this i would be very happy. Thanks. -Danny From kormenx at gmail.com Tue Jun 19 14:03:18 2007 From: kormenx at gmail.com (kormen) Date: Tue, 19 Jun 2007 14:03:18 +0200 Subject: [rrd-users] Migrate RRD database to another (data lost) Message-ID: <4677C606.4050106@gmail.com> Hi! I use RRD with Smokeping. In the smokeping list not respond my question. My problem is, when i upgrade my smokeping, the smokeping don't start. The rrd-s step settings is different. the first install i put the config 10 targets, with 300 step 10 ping. Several time later i put the config file another 10 server and modify the step/ping values to 60 step 10 ping the smokeping accept this values and run. I upgrade the smokeping. and the error "start steps mismatch to configured start 300 configured 60" if i reconfigure the smokeping to 300 steps, another rrd-s drop me errors: "start steps mismatch to configured start 60 configured 300" So i lost 50% of my data. Possible any way to convert rrd-s? or migrate rrd-s? I need this data. Thanx Kormen From rpyne at kinfolk.org Tue Jun 19 15:56:13 2007 From: rpyne at kinfolk.org (Richard Pyne) Date: Tue, 19 Jun 2007 07:56:13 -0600 Subject: [rrd-users] Web log graphing In-Reply-To: <20070619071232.GA31570@ccswiss.in2p3.fr> References: <4676C249.16789.97872C0@rpyne.kinfolk.org>, <20070619071232.GA31570@ccswiss.in2p3.fr> Message-ID: <46778C1D.14633.2C19FA@rpyne.kinfolk.org> On 19 Jun 2007 at 9:12, Fabien Wernli wrote: > 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 Webalizer only graphs averages, I need graphs that show traffic trends. From rpyne at kinfolk.org Tue Jun 19 15:56:13 2007 From: rpyne at kinfolk.org (Richard Pyne) Date: Tue, 19 Jun 2007 07:56:13 -0600 Subject: [rrd-users] Web log graphing In-Reply-To: References: <4676C249.16789.97872C0@rpyne.kinfolk.org>, Message-ID: <46778C1D.15668.2C19AC@rpyne.kinfolk.org> On 19 Jun 2007 at 8:38, Sergiusz Pawlowicz wrote: > On 6/19/07, 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? > > > > I know I can handle the rrdtool part, but I am not sure how to collect > > and total the data from the web log. > > check collectd: http://collectd.org/ > > it is reading apache server-status each ten seconds, > so you will have very nice graphs. This would be nice, but I need it to use the access_log file so I can track virtual domains separately. Thanks for the suggestion. From geoff.garside at openhosting.co.uk Tue Jun 19 16:17:34 2007 From: geoff.garside at openhosting.co.uk (Geoff Garside) Date: Tue, 19 Jun 2007 15:17:34 +0100 Subject: [rrd-users] Web log graphing In-Reply-To: <46778C1D.15668.2C19AC@rpyne.kinfolk.org> References: <4676C249.16789.97872C0@rpyne.kinfolk.org>, <46778C1D.15668.2C19AC@rpyne.kinfolk.org> Message-ID: <004c01c7b27c$94f743b0$0837d30a@Enki> You should be able to get the bytes of each request from the access log, it should be the 7th field in the standard combined log format (%b) "%h %l %u %t \"%r\" %>s %b \"%{Referer}i\" \"%{User-Agent}i\"" though the %r field will require a bit more care as you can't just split on spaces as the %r will have something like "GET /index.html HTTP/1.0" in it. I don't know any application which will currently take this information and add it to RRD. You might have to add up the bytes from X minute blocks or whatever to get reasonably sensible results though. Regards, Geoff Garside Open Hosting Ltd > -----Original Message----- > From: rrd-users-bounces at lists.oetiker.ch [mailto:rrd-users- > bounces at lists.oetiker.ch] On Behalf Of Richard Pyne > Sent: 19 June 2007 14:56 > To: rrd-users at lists.oetiker.ch > Subject: Re: [rrd-users] Web log graphing > > On 19 Jun 2007 at 8:38, Sergiusz Pawlowicz wrote: > > > On 6/19/07, 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? > > > > > > I know I can handle the rrdtool part, but I am not sure how to collect > > > and total the data from the web log. > > > > check collectd: http://collectd.org/ > > > > it is reading apache server-status each ten seconds, > > so you will have very nice graphs. > > This would be nice, but I need it to use the access_log file so I can > track virtual domains separately. > > Thanks for the suggestion. > > _______________________________________________ > rrd-users mailing list > rrd-users at lists.oetiker.ch > https://lists.oetiker.ch/cgi-bin/listinfo/rrd-users From ondemannen at gmail.com Tue Jun 19 16:23:24 2007 From: ondemannen at gmail.com (J-H Johansen) Date: Tue, 19 Jun 2007 16:23:24 +0200 Subject: [rrd-users] Web log graphing In-Reply-To: <4676C249.16789.97872C0@rpyne.kinfolk.org> References: <4676C249.16789.97872C0@rpyne.kinfolk.org> Message-ID: On 6/19/07, 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? > > I know I can handle the rrdtool part, but I am not sure how to collect and > total the data from the web log. > > Any help or direction will be greatly appreciated. If you're keeping one access log per virtual domain, all you need to do is to figure out which column the transferred bytes are kept in and grep them out with shell script or Perl (or Ruby). - J-H Johansen -- There are 10 kinds of people in the world: Those who understand binary and those who don't... From alex at ergens.op.het.net Tue Jun 19 16:45:09 2007 From: alex at ergens.op.het.net (Alex van den Bogaerdt) Date: Tue, 19 Jun 2007 16:45:09 +0200 Subject: [rrd-users] rrdgraph In-Reply-To: References: Message-ID: <20070619144509.GA2694@ergens.op.het.net> On Tue, Jun 19, 2007 at 12:45:36PM +0200, Danny KjXrgaard wrote: > Can someone help me with some details on generating a graph. > I would like to use the font used in this graph: > http://oss.oetiker.ch/rrdtool/btdmd8.png > And i would like to know how to make the comment alignment with the legend. > If the maker could supply the command line that generated this i would be > very happy. Don't know about the font, but I can help with the alignment. The first line is a comment; you just make sure that you use the appropriate amount of spaces. Experiment and you'll find out easily; you could also count and do it right the first time. The other lines are probably just a matter of placing the graph legend, a COMMENT, followed by a number of GPRINTs. COMMENT:"Trunk Grp Ports In Use Current Load ... and so on Later you can adjust the amount of spaces so that they line up with the gprints below. Then, for each set of data: AREA:datasource1#FF0000:LBTX20xxx0 COMMENT:" 30" GPRINT:ds1_inuse:%10.0lf GPRINT:ds1_curload:%10.1lf GPRINT:ds1_avgload:%10.1lf GPRINT:ds1_peakload:%10.1lf\n repeat for every datasource, using the appropriate DEF or CDEF names. Total is printed using a COMMENT, followed by a number of GPRINTs. HTH -- Alex van den Bogaerdt http://www.vandenbogaerdt.nl/rrdtool/ From alex at ergens.op.het.net Tue Jun 19 16:51:35 2007 From: alex at ergens.op.het.net (Alex van den Bogaerdt) Date: Tue, 19 Jun 2007 16:51:35 +0200 Subject: [rrd-users] Migrate RRD database to another (data lost) In-Reply-To: <4677C606.4050106@gmail.com> References: <4677C606.4050106@gmail.com> Message-ID: <20070619145135.GB2694@ergens.op.het.net> On Tue, Jun 19, 2007 at 02:03:18PM +0200, kormen wrote: > I use RRD with Smokeping. In the smokeping list not respond my question. > > My problem is, when i upgrade my smokeping, the smokeping don't start. > The rrd-s step settings is different. the first install i put the config > 10 targets, with 300 step 10 ping. Several time later i put the config > file another 10 server and modify the step/ping values to 60 step 10 > ping the smokeping accept this values and run. > > I upgrade the smokeping. and the error "start steps mismatch to > configured start 300 configured 60" if i reconfigure the smokeping to > 300 steps, another rrd-s drop me errors: "start steps mismatch to > configured start 60 configured 300" So i lost 50% of my data. > > Possible any way to convert rrd-s? or migrate rrd-s? I need this data. You can fetch all data from one of your databases, create a new database which has the GAUGE datatype and a sufficiently large heartbeat, import the fetched data (using rrdtool update) into the new database and then alter the datasource type, heartbeat settings and so on so that they are correct for smokeping. You will loose some precision or fake some precision, depending on which settings you prefer (either you update 5 rows at a time, or you will update one row 5 times and data will be averaged). This task is not really hard but it does require some knowledge of how the tool works, and you will have to be careful when you do the conversion. HTH -- Alex van den Bogaerdt http://www.vandenbogaerdt.nl/rrdtool/ From alex at ergens.op.het.net Tue Jun 19 16:58:59 2007 From: alex at ergens.op.het.net (Alex van den Bogaerdt) Date: Tue, 19 Jun 2007 16:58:59 +0200 Subject: [rrd-users] Not corect numbers in rrd ? Message-ID: <20070619145859.GD2694@ergens.op.het.net> On Mon, Jun 18, 2007 at 04:46:10PM +0200, VladoPortos wrote: > Ofcourse i using rrdtool as graphing tool what do you mean that its not ? It is not a >>>graphing<<< tool. It is a >>>logging and graphing<<< tool. RRDtool is not designed to graph data that you feed it. See my site, the part about normalization and consolidation. This normalization and consolidation is the reason that RRDtool exists. RRDtool doesn't harm your numbers, it changes them by design. If you are looking for nothing more than a graphing tool, you should look for something else. HTH -- Alex van den Bogaerdt http://www.vandenbogaerdt.nl/rrdtool/ From linux at thehobsons.co.uk Tue Jun 19 17:04:53 2007 From: linux at thehobsons.co.uk (Simon Hobson) Date: Tue, 19 Jun 2007 16:04:53 +0100 Subject: [rrd-users] Web log graphing In-Reply-To: <004c01c7b27c$94f743b0$0837d30a@Enki> References: <4676C249.16789.97872C0@rpyne.kinfolk.org>, <46778C1D.15668.2C19AC@rpyne.kinfolk.org> <004c01c7b27c$94f743b0$0837d30a@Enki> Message-ID: Geoff Garside wrote: >You should be able to get the bytes of each request from the access log, it >should be the 7th field in the standard combined log format (%b) > >"%h %l %u %t \"%r\" %>s %b \"%{Referer}i\" \"%{User-Agent}i\"" > >though the %r field will require a bit more care as you can't just split on >spaces as the %r will have something like "GET /index.html HTTP/1.0" in it. Does Apache have the ability to write two logs, the standard one, plus a second with just the information (domain & bytes) required for graphing ? That would save effort parsing the log file that may have awkward spaces and stuff in filenames. From geoff.garside at openhosting.co.uk Tue Jun 19 17:47:20 2007 From: geoff.garside at openhosting.co.uk (Geoff Garside) Date: Tue, 19 Jun 2007 16:47:20 +0100 Subject: [rrd-users] Web log graphing In-Reply-To: References: <4676C249.16789.97872C0@rpyne.kinfolk.org>, <46778C1D.15668.2C19AC@rpyne.kinfolk.org><004c01c7b27c$94f743b0$0837d30a@Enki> Message-ID: <005001c7b289$1f82fbd0$0837d30a@Enki> > -----Original Message----- > From: rrd-users-bounces at lists.oetiker.ch [mailto:rrd-users- > bounces at lists.oetiker.ch] On Behalf Of Simon Hobson > Sent: 19 June 2007 16:05 > To: rrd-users at lists.oetiker.ch > Subject: Re: [rrd-users] Web log graphing > > Geoff Garside wrote: > >You should be able to get the bytes of each request from the access log, > it > >should be the 7th field in the standard combined log format (%b) > > > >"%h %l %u %t \"%r\" %>s %b \"%{Referer}i\" \"%{User-Agent}i\"" > > > >though the %r field will require a bit more care as you can't just split > on > >spaces as the %r will have something like "GET /index.html HTTP/1.0" in > it. > > Does Apache have the ability to write two logs, the standard one, > plus a second with just the information (domain & bytes) required for > graphing ? That would save effort parsing the log file that may have > awkward spaces and stuff in filenames. > Certainly, you can specify your own log format using something like LogFormat "%V %b" parseable CustomLog /var/log/httpd/domain.com-parseable_log parseable You can add the new custom log type alongside the existing combined log format. That should give you a log with domain.com 324 or something of that ilk on each line as well as a timestamp prefix. Regards, Geoff Garside OpenHosting Ltd From Lewis.Darryl at abc.net.au Tue Jun 19 17:13:13 2007 From: Lewis.Darryl at abc.net.au (Darryl Lewis) Date: Wed, 20 Jun 2007 01:13:13 +1000 Subject: [rrd-users] Web log graphing Message-ID: <200706191517.l5JFHdgZ008935@nucfw07.abc.net.au> here's a php script that you might be able to modify to get the output http://tools.wikimedia.de/~leon/source/rawview.php/wikicharts/requests.php -----Original Message----- From: rrd-users-bounces at lists.oetiker.ch [mailto:rrd-users-bounces at lists.oetiker.ch]On Behalf Of Simon Hobson Sent: Wednesday, 20 June 2007 1:05 AM To: rrd-users at lists.oetiker.ch Subject: Re: [rrd-users] Web log graphing Geoff Garside wrote: >You should be able to get the bytes of each request from the access log, it >should be the 7th field in the standard combined log format (%b) > >"%h %l %u %t \"%r\" %>s %b \"%{Referer}i\" \"%{User-Agent}i\"" > >though the %r field will require a bit more care as you can't just split on >spaces as the %r will have something like "GET /index.html HTTP/1.0" in it. Does Apache have the ability to write two logs, the standard one, plus a second with just the information (domain & bytes) required for graphing ? That would save effort parsing the log file that may have awkward spaces and stuff in filenames. _______________________________________________ rrd-users mailing list rrd-users at lists.oetiker.ch https://lists.oetiker.ch/cgi-bin/listinfo/rrd-users ============================================================================== The information contained in this email and any attachment is confidential and may contain legally privileged or copyright material. It is intended only for the use of the addressee(s). If you are not the intended recipient of this email, you are not permitted to disseminate, distribute or copy this email or any attachments. If you have received this message in error, please notify the sender immediately and delete this email from your system. The ABC does not represent or warrant that this transmission is secure or virus free. Before opening any attachment you should check for viruses. The ABC's liability is limited to resupplying any email and attachments ============================================================================== From erik at oezie.org Tue Jun 19 22:06:39 2007 From: erik at oezie.org (Erik de Mare) Date: Tue, 19 Jun 2007 22:06:39 +0200 Subject: [rrd-users] Web log graphing In-Reply-To: <005001c7b289$1f82fbd0$0837d30a@Enki> References: <4676C249.16789.97872C0@rpyne.kinfolk.org>, <46778C1D.15668.2C19AC@rpyne.kinfolk.org><004c01c7b27c$94f743b0$0837d30a@Enki> <005001c7b289$1f82fbd0$0837d30a@Enki> Message-ID: <4678374F.2070702@oezie.org> there are several ways to do it, * with server-status(maybe it need to be patched) * tail the logfile(access_log) * use an other module for apache mod_watch(also shows traffic by virtual host). * or add an firewall rule to count the traffic. Erik Geoff Garside schreef: >> -----Original Message----- >> From: rrd-users-bounces at lists.oetiker.ch [mailto:rrd-users- >> bounces at lists.oetiker.ch] On Behalf Of Simon Hobson >> Sent: 19 June 2007 16:05 >> To: rrd-users at lists.oetiker.ch >> Subject: Re: [rrd-users] Web log graphing >> >> Geoff Garside wrote: >>> You should be able to get the bytes of each request from the access log, >> it >>> should be the 7th field in the standard combined log format (%b) >>> >>> "%h %l %u %t \"%r\" %>s %b \"%{Referer}i\" \"%{User-Agent}i\"" >>> >>> though the %r field will require a bit more care as you can't just split >> on >>> spaces as the %r will have something like "GET /index.html HTTP/1.0" in >> it. >> >> Does Apache have the ability to write two logs, the standard one, >> plus a second with just the information (domain & bytes) required for >> graphing ? That would save effort parsing the log file that may have >> awkward spaces and stuff in filenames. >> > > Certainly, you can specify your own log format using something like > > LogFormat "%V %b" parseable > CustomLog /var/log/httpd/domain.com-parseable_log parseable > > You can add the new custom log type alongside the existing combined log > format. > > That should give you a log with > > domain.com 324 > > or something of that ilk on each line as well as a timestamp prefix. > > Regards, > Geoff Garside > > OpenHosting Ltd > > _______________________________________________ > rrd-users mailing list > rrd-users at lists.oetiker.ch > https://lists.oetiker.ch/cgi-bin/listinfo/rrd-users From dandrikop at cosmote.gr Wed Jun 20 15:38:23 2007 From: dandrikop at cosmote.gr (Andrikopoulos Dimitrios) Date: Wed, 20 Jun 2007 16:38:23 +0300 Subject: [rrd-users] Huge values Message-ID: <13DE22E4D8B4314097C28F5AB80DB77E0E82023F@SMARMAIL01.cosmote.gr> Hello, I use some PERL script to poll SNMP counters and store their values to RRDTool files. Although I didn't take any logging about what values my script actually stored in those RRD files, some times I noticed unexpectedly huge values which ruined the graphs. Of course, I solved this problem by putting maximum values when created the RRD databa- ses. Has anyone noticed similar problem? BR, Dimitris -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.oetiker.ch/pipermail/rrd-users/attachments/20070620/ea4bf317/attachment.html From a.maus at science-computing.de Wed Jun 20 16:00:26 2007 From: a.maus at science-computing.de (Andreas Maus) Date: Wed, 20 Jun 2007 16:00:26 +0200 Subject: [rrd-users] Huge values In-Reply-To: <13DE22E4D8B4314097C28F5AB80DB77E0E82023F@SMARMAIL01.cosmote.gr> References: <13DE22E4D8B4314097C28F5AB80DB77E0E82023F@SMARMAIL01.cosmote.gr> Message-ID: <20070620140026.GS11087@tigger.science-computing.de> On Wed, Jun 20, 2007 at 04:38:23PM +0300, Andrikopoulos Dimitrios wrote: > Hello, > > I use some PERL script to poll SNMP counters and store their values to > RRDTool files. > Although I didn't take any logging about what values my script actually > stored in those > RRD files, some times I noticed unexpectedly huge values which ruined > the graphs. Of > course, I solved this problem by putting maximum values when created the > RRD databa- > ses. > > Has anyone noticed similar problem? Hi Dimitris. Sure. It is called a counter wrap ;) The rrdtutorial - http://oss.oetiker.ch/rrdtool/tut/rrdtutorial.en.html - or man rrdtutorial will explain the details. HTH, Andreas. -- Dipl.-Ing. Andreas Maus science+computing ag System Administration Hagellocher Weg 73 mail: a.maus at science-computing.de 72070 Tuebingen, Germany tel.: +49 7071 9457 671 www.science-computing.de -------------- next part -------------- A non-text attachment was scrubbed... Name: not available Type: application/pgp-signature Size: 189 bytes Desc: not available Url : http://lists.oetiker.ch/pipermail/rrd-users/attachments/20070620/a465dca3/attachment.bin From dandrikop at cosmote.gr Wed Jun 20 16:18:12 2007 From: dandrikop at cosmote.gr (Andrikopoulos Dimitrios) Date: Wed, 20 Jun 2007 17:18:12 +0300 Subject: [rrd-users] Huge values Message-ID: <13DE22E4D8B4314097C28F5AB80DB77E0E820511@SMARMAIL01.cosmote.gr> No, there is no counter wrap. I used the "snmpwalk" to poll manually the SNMP counter in question and it found no wrap. BR, Dimitris -----Original Message----- From: Andreas Maus [mailto:a.maus at science-computing.de] Sent: Wednesday, June 20, 2007 5:00 PM To: Andrikopoulos Dimitrios Cc: rrd-users at lists.oetiker.ch Subject: Re: [rrd-users] Huge values On Wed, Jun 20, 2007 at 04:38:23PM +0300, Andrikopoulos Dimitrios wrote: > Hello, > > I use some PERL script to poll SNMP counters and store their values > to RRDTool files. Although I didn't take any logging about what values > my script actually stored in those > RRD files, some times I noticed unexpectedly huge values which ruined > the graphs. Of > course, I solved this problem by putting maximum values when created the > RRD databa- > ses. > > Has anyone noticed similar problem? Hi Dimitris. Sure. It is called a counter wrap ;) The rrdtutorial - http://oss.oetiker.ch/rrdtool/tut/rrdtutorial.en.html - or man rrdtutorial will explain the details. HTH, Andreas. -- Dipl.-Ing. Andreas Maus science+computing ag System Administration Hagellocher Weg 73 mail: a.maus at science-computing.de 72070 Tuebingen, Germany tel.: +49 7071 9457 671 www.science-computing.de From bs7799 at gmail.com Wed Jun 20 17:18:41 2007 From: bs7799 at gmail.com (John Conner) Date: Wed, 20 Jun 2007 10:18:41 -0500 Subject: [rrd-users] how to add last update info into graphic? Message-ID: <12e4ae820706200818g14c4451crfe5f852993f86d79@mail.gmail.com> hey guys, I am trying to add last update time info into rrdtool graphic, what I did is something like #!/bin/bash now=`date` rrdtool graph blablabla \ blablabla \ blablabla \ COMMENT:"last update\: $now" when I ran the scipt, I got the following error, ERROR: Garbage ':56:46 CDT 2007' after command: COMMENT:last update\: Wed Jun 20 09:56:46 CDT 2007 I know it was caused by the ":", rrdtool does not like any ":" without "\", So any quick solution I can print date info on the graphic? thanks a lot! -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.oetiker.ch/pipermail/rrd-users/attachments/20070620/3fa94544/attachment.html From alex at ergens.op.het.net Wed Jun 20 17:25:49 2007 From: alex at ergens.op.het.net (Alex van den Bogaerdt) Date: Wed, 20 Jun 2007 17:25:49 +0200 Subject: [rrd-users] Huge values In-Reply-To: <13DE22E4D8B4314097C28F5AB80DB77E0E820511@SMARMAIL01.cosmote.gr> References: <13DE22E4D8B4314097C28F5AB80DB77E0E820511@SMARMAIL01.cosmote.gr> Message-ID: <20070620152549.GE18645@ergens.op.het.net> On Wed, Jun 20, 2007 at 05:18:12PM +0300, Andrikopoulos Dimitrios wrote: > No, there is no counter wrap. I used the "snmpwalk" to poll manually the > SNMP counter in question > and it found no wrap. Most likely it is a counter reset, which is perceived by RRDtool as a counter wrap. This can happen when you reset a device. Setting a maximum allowable rate should help. Using DERIVE instead of COUNTER, and setting the minimum allowable value to zero, should also help but will cause a missed update (thus UNKNOWN) in case of a true counter wrap. If you can, try updating with "U" (unknown) as soon as you reset a device, followed by an update of zero. The topic is discussed frequently so it should be relatively easy to find this in the email archives. In short: you are telling RRDtool that you don't know the counter value at reset time, and you do know that it starts from zero again. A: Because we read from top to bottom, left to right. Q: Why should I start my reply below the quoted text? A: Because it messes up the order in which people normally read text. Q: Why is top-posting such a bad thing? A: The lost context. Q: What makes top-posted replies harder to read than bottom-posted? A: Yes. Q: Should I trim down the quoted part of an email to which I'm replying? http://www.idallen.com/topposting.html From marc at ena.com Wed Jun 20 17:28:15 2007 From: marc at ena.com (Marc Powell) Date: Wed, 20 Jun 2007 10:28:15 -0500 Subject: [rrd-users] how to add last update info into graphic? In-Reply-To: <12e4ae820706200818g14c4451crfe5f852993f86d79@mail.gmail.com> Message-ID: > -----Original Message----- > From: rrd-users-bounces at lists.oetiker.ch [mailto:rrd-users- > bounces at lists.oetiker.ch] On Behalf Of John Conner > Sent: Wednesday, June 20, 2007 10:19 AM > To: rrd-users at lists.oetiker.ch > Subject: [rrd-users] how to add last update info into graphic? > > hey guys, I am trying to add last update time info into rrdtool graphic, > what I did is something like > > #!/bin/bash > now=`date` > > > ERROR: Garbage ':56:46 CDT 2007' after command: > COMMENT:last update\: Wed Jun 20 09:56:46 CDT 2007 > > I know it was caused by the ":", rrdtool does not like any ":" without > "\", > > So any quick solution I can print date info on the graphic? thanks a lot! How about just munging $now? now=`date | sed 's/:/\\\:/g'` $echo $now Wed Jun 20 10\:26\:23 CDT 2007 -- Marc From alex at ergens.op.het.net Wed Jun 20 17:29:25 2007 From: alex at ergens.op.het.net (Alex van den Bogaerdt) Date: Wed, 20 Jun 2007 17:29:25 +0200 Subject: [rrd-users] how to add last update info into graphic? In-Reply-To: <12e4ae820706200818g14c4451crfe5f852993f86d79@mail.gmail.com> References: <12e4ae820706200818g14c4451crfe5f852993f86d79@mail.gmail.com> Message-ID: <20070620152925.GF18645@ergens.op.het.net> On Wed, Jun 20, 2007 at 10:18:41AM -0500, John Conner wrote: > hey guys, I am trying to add last update time info into rrdtool graphic, > what I did is something like > > #!/bin/bash > now=`date` > > rrdtool graph blablabla \ > blablabla \ > blablabla \ > COMMENT:"last update\: $now" > > when I ran the scipt, I got the following error, > > ERROR: Garbage ':56:46 CDT 2007' after command: > COMMENT:last update\: Wed Jun 20 09:56:46 CDT 2007 > > I know it was caused by the ":", rrdtool does not like any ":" without "\", > > So any quick solution I can print date info on the graphic? thanks a lot! Try sed, or awk, or any filter you happen to know. For instance: now=`date|sed 's/:/\\:/g'` You could also tell date how to present its output: now=`date -u +%Y-%m-%dT%H\\:%M\\:%SZ` HTH -- Alex van den Bogaerdt http://www.vandenbogaerdt.nl/rrdtool/ From bs7799 at gmail.com Wed Jun 20 17:32:46 2007 From: bs7799 at gmail.com (John Conner) Date: Wed, 20 Jun 2007 10:32:46 -0500 Subject: [rrd-users] how to add last update info into graphic? In-Reply-To: <20070620152925.GF18645@ergens.op.het.net> References: <12e4ae820706200818g14c4451crfe5f852993f86d79@mail.gmail.com> <20070620152925.GF18645@ergens.op.het.net> Message-ID: <12e4ae820706200832k3cfe1695m28cfc5e6f09b8e39@mail.gmail.com> ah, fogot my friend sed, I was just fighting with ', " and \ just now. Thanks guys! John On 6/20/07, Alex van den Bogaerdt wrote: > > On Wed, Jun 20, 2007 at 10:18:41AM -0500, John Conner wrote: > > hey guys, I am trying to add last update time info into rrdtool graphic, > > what I did is something like > > > > #!/bin/bash > > now=`date` > > > > rrdtool graph blablabla \ > > blablabla \ > > blablabla \ > > COMMENT:"last update\: $now" > > > > when I ran the scipt, I got the following error, > > > > ERROR: Garbage ':56:46 CDT 2007' after command: > > COMMENT:last update\: Wed Jun 20 09:56:46 CDT 2007 > > > > I know it was caused by the ":", rrdtool does not like any ":" without > "\", > > > > So any quick solution I can print date info on the graphic? thanks a > lot! > > Try sed, or awk, or any filter you happen to know. For instance: > > now=`date|sed 's/:/\\:/g'` > > > > You could also tell date how to present its output: > > now=`date -u +%Y-%m-%dT%H\\:%M\\:%SZ` > > HTH > -- > Alex van den Bogaerdt > http://www.vandenbogaerdt.nl/rrdtool/ > > _______________________________________________ > rrd-users mailing list > rrd-users at lists.oetiker.ch > https://lists.oetiker.ch/cgi-bin/listinfo/rrd-users > -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.oetiker.ch/pipermail/rrd-users/attachments/20070620/76318af4/attachment.html From mike+rrdtool at delusion.org Thu Jun 21 05:00:54 2007 From: mike+rrdtool at delusion.org (mike newton) Date: Wed, 20 Jun 2007 20:00:54 -0700 Subject: [rrd-users] RRDp.pm error weirdness Message-ID: <4679E9E6.6050007@delusion.org> while recently trying to debug a problem i was having using RRDp i wanted to have a script act based on the error message received. when my script just hung i decided to take a step back and do something simple like the following and that also hung: RRDp::start "/usr/bin/rrdtool"; $cmd = "create buh.rrd --step 60 DS:in:DERIVE:0:10000 RRA:AVERAGE:0.5:1:120"; $RRDp::error_mode = 'catch'; RRDp::cmd $cmd; my $answer = RRDp::read; print $RRDp::error . "\n" if $RRDp::error; so i decided to look at RRDp.pm and i noticed that the error handling section sees the error and sets $ERR = 1 but doesn't return so it gets stuck in the while(1) waiting for something to tell it to return. am i missing something? thx! +m From tobi at oetiker.ch Thu Jun 21 10:09:55 2007 From: tobi at oetiker.ch (Tobias Oetiker) Date: Thu, 21 Jun 2007 10:09:55 +0200 (CEST) Subject: [rrd-users] Perl Trainings with Damian Conway in Switzerland in August! Message-ID: Sorry for being a bit off-topic, but I gather this may be of interest to mrtg, smokeping and rrdtool hackers. Damian Conway is coming to Switzerland in August. OETIKER+PARTNER AG together with ETH Zurich is organizing two training with the Master himself: August 23./24, 2007: "Perl Best Practices" (two days) August 25, 2007: "Perl 6 Update" (one day) Both events will only take place if enough people enroll. Further information can be found on http://www.oetiker.ch/events/ cheers tobi -- Tobi Oetiker, OETIKER+PARTNER AG, Aarweg 15 CH-4600 Olten http://it.oetiker.ch tobi at oetiker.ch ++41 62 213 9902 From valeriaceciliagomez at yahoo.com.ar Fri Jun 22 17:01:02 2007 From: valeriaceciliagomez at yahoo.com.ar (Valeria Gomez) Date: Fri, 22 Jun 2007 08:01:02 -0700 (PDT) Subject: [rrd-users] (no subject) Message-ID: <259923.32732.qm@web53308.mail.re2.yahoo.com> Hi everybody. I need to migrate some RRD files from a machine to another, both with different versions of RRD tool. The first machine has RRDtool 1.0.49 Copyright 1997-2004 and the other, RRDtool 1.2.11 Copyright 1997-2005. If I copy the file directly from a machine to another, I get the following message: rrdtool info 37854.rrd ERROR: This RRD was created on other architecture If I make a rrdtool dump and then a rrdtool restore, I get the following message: rrdtool restore 73/31740.xml 73/31740.rrd ERROR: Can only restore version >= 2 (Not ). Dump your old rrd using a current rrdtool dump. Any idea? Thanks in advance. Valeria __________________________________________________ Pregunt?. Respond?. Descubr?. Todo lo que quer?as saber, y lo que ni imaginabas, est? en Yahoo! Respuestas (Beta). ?Probalo ya! http://www.yahoo.com.ar/respuestas -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.oetiker.ch/pipermail/rrd-users/attachments/20070622/eaad79b3/attachment-0001.html From alex at ergens.op.het.net Fri Jun 22 17:10:25 2007 From: alex at ergens.op.het.net (Alex van den Bogaerdt) Date: Fri, 22 Jun 2007 17:10:25 +0200 Subject: [rrd-users] (no subject) In-Reply-To: <259923.32732.qm@web53308.mail.re2.yahoo.com> References: <259923.32732.qm@web53308.mail.re2.yahoo.com> Message-ID: <20070622151025.GG18645@ergens.op.het.net> On Fri, Jun 22, 2007 at 08:01:02AM -0700, Valeria Gomez wrote: > Hi everybody. > > I need to migrate some RRD files from a machine to another, both with different versions of RRD tool. > The first machine has RRDtool 1.0.49 Copyright 1997-2004 and the other, RRDtool 1.2.11 Copyright 1997-2005. > > If I copy the file directly from a machine to another, I get the following message: > rrdtool info 37854.rrd > ERROR: This RRD was created on other architecture > > If I make a rrdtool dump and then a rrdtool restore, I get the following message: > rrdtool restore 73/31740.xml 73/31740.rrd > ERROR: Can only restore version >= 2 (Not ). Dump your old rrd using a current rrdtool dump. > > Any idea? You have copied the solution in your message: "Dump your old rrd using a current rrdtool dump." Thus: install v1.2 on the source machine, dump your db, restore on the target. HTH -- Alex van den Bogaerdt http://www.vandenbogaerdt.nl/rrdtool/ From a.maus at science-computing.de Fri Jun 22 17:15:24 2007 From: a.maus at science-computing.de (Andreas Maus) Date: Fri, 22 Jun 2007 17:15:24 +0200 Subject: [rrd-users] (no subject) In-Reply-To: <259923.32732.qm@web53308.mail.re2.yahoo.com> References: <259923.32732.qm@web53308.mail.re2.yahoo.com> Message-ID: <20070622151524.GN7443@tigger.science-computing.de> On Fri, Jun 22, 2007 at 08:01:02AM -0700, Valeria Gomez wrote: > Hi everybody. > > I need to migrate some RRD files from a machine to another, both with different versions of RRD tool. > The first machine has RRDtool 1.0.49 Copyright 1997-2004 and the other, RRDtool 1.2.11 Copyright 1997-2005. > > If I copy the file directly from a machine to another, I get the following message: > rrdtool info 37854.rrd > ERROR: This RRD was created on other architecture > > If I make a rrdtool dump and then a rrdtool restore, I get the following message: > rrdtool restore 73/31740.xml 73/31740.rrd > ERROR: Can only restore version >= 2 (Not ). Dump your old rrd using a current rrdtool dump. > > Any idea? > Thanks in advance. Hi ! You should install rrdtool 1.2.x on the first machine and dump the rrd files using version 1.2.x (not 1.0.49). See http://oss.oetiker.ch/rrdtool-trac/ticket/25 for further informations. HTH, Andreas. -- Dipl.-Ing. Andreas Maus science+computing ag System Administration Hagellocher Weg 73 mail: a.maus at science-computing.de 72070 Tuebingen, Germany tel.: +49 7071 9457 671 www.science-computing.de -------------- next part -------------- A non-text attachment was scrubbed... Name: not available Type: application/pgp-signature Size: 189 bytes Desc: not available Url : http://lists.oetiker.ch/pipermail/rrd-users/attachments/20070622/6f3c3bc9/attachment.bin From valeriaceciliagomez at yahoo.com.ar Fri Jun 22 17:47:26 2007 From: valeriaceciliagomez at yahoo.com.ar (Valeria Gomez) Date: Fri, 22 Jun 2007 08:47:26 -0700 (PDT) Subject: [rrd-users] (no subject) Message-ID: <234623.54696.qm@web53307.mail.re2.yahoo.com> OK. I forgot to tell you that I can't change the rrdtool version on the first machine... That's why I was looking for another option. But if there's no other option, I should find the way to install the rrdtool 1.2 on the first machine. Thanks. Valeria ----- Mensaje original ---- De: Andreas Maus Para: Valeria Gomez CC: rrd-users at lists.oetiker.ch Enviado: viernes 22 de junio de 2007, 12:15:24 Asunto: Re: [rrd-users] (no subject) On Fri, Jun 22, 2007 at 08:01:02AM -0700, Valeria Gomez wrote: > Hi everybody. > > I need to migrate some RRD files from a machine to another, both with different versions of RRD tool. > The first machine has RRDtool 1.0.49 Copyright 1997-2004 and the other, RRDtool 1.2.11 Copyright 1997-2005. > > If I copy the file directly from a machine to another, I get the following message: > rrdtool info 37854.rrd > ERROR: This RRD was created on other architecture > > If I make a rrdtool dump and then a rrdtool restore, I get the following message: > rrdtool restore 73/31740.xml 73/31740.rrd > ERROR: Can only restore version >= 2 (Not ). Dump your old rrd using a current rrdtool dump. > > Any idea? > Thanks in advance. Hi ! You should install rrdtool 1.2.x on the first machine and dump the rrd files using version 1.2.x (not 1.0.49). See http://oss.oetiker.ch/rrdtool-trac/ticket/25 for further informations. HTH, Andreas. -- Dipl.-Ing. Andreas Maus science+computing ag System Administration Hagellocher Weg 73 mail: a.maus at science-computing.de 72070 Tuebingen, Germany tel.: +49 7071 9457 671 www.science-computing.de __________________________________________________ Pregunt?. Respond?. Descubr?. Todo lo que quer?as saber, y lo que ni imaginabas, est? en Yahoo! Respuestas (Beta). ?Probalo ya! http://www.yahoo.com.ar/respuestas -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.oetiker.ch/pipermail/rrd-users/attachments/20070622/1bac761b/attachment.html From valeriaceciliagomez at yahoo.com.ar Fri Jun 22 18:33:01 2007 From: valeriaceciliagomez at yahoo.com.ar (Valeria Gomez) Date: Fri, 22 Jun 2007 09:33:01 -0700 (PDT) Subject: [rrd-users] (no subject) Message-ID: <20070622163301.9497.qmail@web53306.mail.re2.yahoo.com> Thanks! ----- Mensaje original ---- De: William Owen Para: Valeria Gomez Enviado: viernes 22 de junio de 2007, 13:03:00 Asunto: RE: [rrd-users] (no subject) You really don?t need to ?install? rrdtool in most cases? just place the binary for 1.2 in a temporary location, use it to do the dump by explicitly referencing it ?/tmp/rrdtool dump /73/31740.rrd > 73/31740.xml? and then delete it. From: rrd-users-bounces at lists.oetiker.ch [mailto:rrd-users-bounces at lists.oetiker.ch] On Behalf Of Valeria Gomez Sent: Friday, June 22, 2007 10:47 AM To: rrd-users at lists.oetiker.ch Subject: Re: [rrd-users] (no subject) OK. I forgot to tell you that I can't change the rrdtool version on the first machine... That's why I was looking for another option. But if there's no other option, I should find the way to install the rrdtool 1.2 on the first machine. Thanks. Valeria ----- Mensaje original ---- De: Andreas Maus Para : Valeria Gomez CC: rrd-users at lists.oetiker.ch Enviado: viernes 22 de junio de 2007, 12:15:24 Asunto: Re: [rrd-users] (no subject) On Fri, Jun 22, 2007 at 08:01:02AM -0700, Valeria Gomez wrote: > Hi everybody. > > I need to migrate some RRD files from a machine to another, both with different versions of RRD tool. > The first machine has RRDtool 1.0.49 Copyright 1997-2004 and the other, RRDtool 1.2.11 Copyright 1997-2005. > > If I copy the file directly from a machine to another, I get the following message: > rrdtool info 37854.rrd > ERROR: This RRD was created on other architecture > > If I make a rrdtool dump and then a rrdtool restore, I get the following message: > rrdtool restore 73/31740.xml 73/31740.rrd > ERROR: Can only restore version >= 2 (Not ). Dump your old rrd using a current rrdtool dump. > > Any idea? > Thanks in advance. Hi ! You should install rrdtool 1.2.x on the first machine and dump the rrd files using version 1.2.x (not 1.0.49). See http://oss.oetiker.ch/rrdtool-trac/ticket/25 for further informations. HTH, Andreas. -- Dipl.-Ing. Andreas Maus science+computing ag System Administration Hagellocher Weg 73 mail: a.maus at science-computing.de 72070 Tuebingen , Germany tel.: +49 7071 9457 671 www.science-computing.de Pregunt?. Respond?. Descubr?. Todo lo que quer?as saber, y lo que ni imaginabas, est? en Yahoo! Respuestas (Beta). ?Probalo ya! __________________________________________________ Pregunt?. Respond?. Descubr?. Todo lo que quer?as saber, y lo que ni imaginabas, est? en Yahoo! Respuestas (Beta). ?Probalo ya! http://www.yahoo.com.ar/respuestas -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.oetiker.ch/pipermail/rrd-users/attachments/20070622/b4c1b855/attachment.html From mike+rrdtool at delusion.org Fri Jun 22 18:40:47 2007 From: mike+rrdtool at delusion.org (mike newton) Date: Fri, 22 Jun 2007 09:40:47 -0700 Subject: [rrd-users] RRDp.pm error weirdness In-Reply-To: <4679E9E6.6050007@delusion.org> References: <4679E9E6.6050007@delusion.org> Message-ID: <467BFB8F.3030609@delusion.org> well, i've "fixed" it for my purposes by changing RRDp.pm to "return $ERR = 1" instead of just setting $ERR = 1 when $line matches ^ERROR. for my immediate purposes this works, but i'm curious if this is a bug or my misunderstanding of how this is supposed to work. +m mike newton wrote: > while recently trying to debug a problem i was having using RRDp i > wanted to have a script act based on the error message received. when > my script just hung i decided to take a step back and do something > simple like the following and that also hung: > > RRDp::start "/usr/bin/rrdtool"; > $cmd = "create buh.rrd --step 60 DS:in:DERIVE:0:10000 > RRA:AVERAGE:0.5:1:120"; > $RRDp::error_mode = 'catch'; > RRDp::cmd $cmd; > my $answer = RRDp::read; > print $RRDp::error . "\n" if $RRDp::error; > > so i decided to look at RRDp.pm and i noticed that the error handling > section sees the error and sets $ERR = 1 but doesn't return so it gets > stuck in the while(1) waiting for something to tell it to return. > > am i missing something? > > thx! > +m > From m.alhaj at itc.net.sa Sun Jun 24 09:31:20 2007 From: m.alhaj at itc.net.sa (Mohammed Alhaj Ali) Date: Sun, 24 Jun 2007 10:31:20 +0300 Subject: [rrd-users] QoS Message-ID: Hello dear all, I need to implement QoS and measure the drop packet for each customer; would any one please help me on how can I generate such map like this with detailed steps please !! Yes. We Deliver Mohammed Alhaj Ali Data Center Administrator Integrated Telecom Co. Ltd. Tel : +966(1) 406-2222 Ext. 6150 Fax : +966 (1) 406-2221 GSM : +966 (5) 67-167-167 m.alhaj at itc.net.sa www.itc.net.sa =========================================================== This e-mail is meant for the intended recipient only. If you are not the intended recipient, be aware that any disclosure, copying, distribution or use of the contents of this e-mail is prohibited. If you have received this e-mail in error, please notify us by telephone (+9661-405-8900) or by e-mail (info at itc.net.sa ). =========================================================== -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.oetiker.ch/pipermail/rrd-users/attachments/20070624/b6b8ee59/attachment.html -------------- next part -------------- A non-text attachment was scrubbed... Name: ITCNewLogo.jpg Type: image/jpeg Size: 15005 bytes Desc: not available Url : http://lists.oetiker.ch/pipermail/rrd-users/attachments/20070624/b6b8ee59/attachment.jpg From linux at thehobsons.co.uk Sun Jun 24 10:38:03 2007 From: linux at thehobsons.co.uk (Simon Hobson) Date: Sun, 24 Jun 2007 09:38:03 +0100 Subject: [rrd-users] QoS In-Reply-To: References: Message-ID: Mohammed Alhaj Ali wrote: > I need to implement QoS and measure the drop packet for each >customer; would any one please help me on how can I generate such >map like this with detailed steps please !! Using what ? What OS do you use ? Where are you applying the QoS ? If you do the routing with a Linux box then I suggest visiting the Linux Advanced Routing Howto and in particular section 9 "Queueing Disciplines for Bandwidth Management". http://lartc.org/howto/lartc.qdisc.html You would probably be making extensive use of HTB queues, for which the documentation is at http://luxik.cdi.cz/~devik/qos/htb/ Once you have your queueing and prioritisation, you can then read the stats from 'tc' and stuff the numbers into one or more rrd files - I do this with a cron job. If you are using different routers (eg Cisco), then you will need to learn how to do traffic shaping on those, and find out how to read the stats (probably with snmp and mrtg). From Gregory_Merta at ml.com Mon Jun 25 06:34:19 2007 From: Gregory_Merta at ml.com (Merta, Gregory (GTI Pac Rim)) Date: Mon, 25 Jun 2007 13:34:19 +0900 Subject: [rrd-users] QoS References: Message-ID: Mohammaed, If you are talking Cisco, look into Cacti RRD management system and its thread on CBQoS... http://forums.cacti.net/about9452.html Here are steps to get per QoS class interface statistics for WAN type QoS... 1.) Get QoS class names... ./snmpwalk -c [string] [ip] .1.3.6.1.4.1.9.9.166.1.7.1.1 SNMPv2-SMI::enterprises.9.9.166.1.7.1.1.1.1025 = STRING: "class-default" SNMPv2-SMI::enterprises.9.9.166.1.7.1.1.1.1041 = STRING: "CRITICAL" SNMPv2-SMI::enterprises.9.9.166.1.7.1.1.1.1051 = STRING: "REALTIME" SNMPv2-SMI::enterprises.9.9.166.1.7.1.1.1.1057 = STRING: "BULK" SNMPv2-SMI::enterprises.9.9.166.1.7.1.1.1.1063 = STRING: "PRIORITY" NOTE: The last number of the OID is a numerical class identifier created by the router for a QoS class name. NOTE: This number will change after each QoS (re)configuration or reboot. Cisco provides a command to save these values to NVRAM. Search on their website for this command. 2.) Get ifIndexes (and ifIndex QoS code) of interfaces with policy maps... ./snmpwalk -c [string] [ip] .1.3.6.1.4.1.9.9.166.1.1.1.1.4 SNMPv2-SMI::enterprises.9.9.166.1.1.1.1.4.1159 = INTEGER: 3 < ifIndex 3 = ifIndex QoS code = 1159 SNMPv2-SMI::enterprises.9.9.166.1.1.1.1.4.1229 = INTEGER: 5 SNMPv2-SMI::enterprises.9.9.166.1.1.1.1.4.1295 = INTEGER: 6 SNMPv2-SMI::enterprises.9.9.166.1.1.1.1.4.7505 = INTEGER: 37 SNMPv2-SMI::enterprises.9.9.166.1.1.1.1.4.7575 = INTEGER: 39 SNMPv2-SMI::enterprises.9.9.166.1.1.1.1.4.7645 = INTEGER: 41 SNMPv2-SMI::enterprises.9.9.166.1.1.1.1.4.7715 = INTEGER: 43 SNMPv2-SMI::enterprises.9.9.166.1.1.1.1.4.7785 = INTEGER: 45 3.) ...determine ifDescres for the above ifIndex'es: ./snmpwalk -c [string] [ip] .1.3.6.1.2.1.2.2.1.2 ... RFC1213-MIB::ifDescr.3 = STRING: "FastEthernet0/0" < ifIndex 3 description = FastEthernet0/0 RFC1213-MIB::ifDescr.5 = STRING: "GigabitEthernet0/1" RFC1213-MIB::ifDescr.6 = STRING: "GigabitEthernet0/2" RFC1213-MIB::ifDescr.37 = STRING: "ATM2/0.5-aal5 layer" RFC1213-MIB::ifDescr.39 = STRING: "ATM3/0.1-aal5 layer" RFC1213-MIB::ifDescr.41 = STRING: "ATM3/0.2-aal5 layer" RFC1213-MIB::ifDescr.43 = STRING: "ATM3/0.3-aal5 layer" RFC1213-MIB::ifDescr.45 = STRING: "ATM3/0.4-aal5 layer" ... 3.) Get .oid.[step 2 ifIndex QoS code].[new random identifier number] to [step 1 QoS class identifier] mapping... (only for the 5 QoS class names we have concern with (step 1)) ./snmpwalk -c [string] [ip] .1.3.6.1.4.1.9.9.166.1.5.1.1.2 ... SNMPv2-SMI::enterprises.9.9.166.1.5.1.1.2.1159.1191 = Gauge32: 1025 < ifIndex 3 QoS code 1159 = CBQoS code = 1159.1191 = class-default QoS code 1025 SNMPv2-SMI::enterprises.9.9.166.1.5.1.1.2.1159.1167 = Gauge32: 1041 < ifIndex 3 QoS code 1159 = CBQoS code = 1159.1167 = CRITICAL QoS code 1041 SNMPv2-SMI::enterprises.9.9.166.1.5.1.1.2.1159.1161 = Gauge32: 1051 < ifIndex 3 QoS code 1159 = CBQoS code = 1159.1161 = REALTIME QoS code 1051 SNMPv2-SMI::enterprises.9.9.166.1.5.1.1.2.1159.1185 = Gauge32: 1057 < ifIndex 3 QoS code 1159 = CBQoS code = 1159.1185 = BULK QoS code 1057 SNMPv2-SMI::enterprises.9.9.166.1.5.1.1.2.1159.1177 = Gauge32: 1063 < ifIndex 3 QoS code 1159 = CBQoS code = 1159.1177 = PRIORITY QoS code 1063 ... Clarification: a. snmpwalk .1.3.6.1.4.1.9.9.166.1.5.1.1.2 and find all values equal to the last number of the OIDs in step 1 (QoS class indentifiers) b. from the snmpwalk result of step a., find the OIDs returned with the ifIndex QoS code (second to last OID value) of the ifIndex you wish to get values for (in this example, ifIndex 3 = ifIndex QoS code 1159) c. check that the returned value of the snmpwalk equals to the QoS code you wish to get values for (in this example, all 5 QoS codes are listed) NOTE: You need to make sure that the QoS codes match the QoS codes (classes) you wish to get statistics for---ifIndex code 1159 (ifIndex) may have more than 5 QoS codes associated with it d. get the last two values of the OID, and use this as the index (CBQoS) code into the statistics table... SNMPv2-SMI::enterprises.9.9.166.1.5.1.1.2.1159.1177 = Gauge32: 1063 < ifIndex 3 QoS code 1159 = CBQoS code = 1159.1177 = PRIORITY QoS code 1063 NOTE: 1159.1177 is the CBQoS code that provides statistics for ifIndex 3 (FastEthernet0/0) (ifIndex QoS code 1159) PRIORITY queue (QoS code 1063). 4.) Get values! Typically graphed CBQoS values... cbQosCMPrePolicyBitRate (7) cbQosCMPostPolicyBitRate (11) cbQosCMDropPkt (13) cbQosCMDropPkt64 (14) cbQosCMDropBitRate (18) For each ifIndex's CBQoS Index (5 per ifIndex), snmpget the following... ./snmpget -c [string] [ip] .1.3.6.1.4.1.9.9.166.1.15.1.1.7.[CBQoS code] > cbQosCMPrePolicyBitRate (7) ./snmpget -c [string] [ip] .1.3.6.1.4.1.9.9.166.1.15.1.1.11.[CBQoS code] > cbQosCMPostPolicyBitRate (11) ./snmpget -c [string] [ip] .1.3.6.1.4.1.9.9.166.1.15.1.1.13.[CBQoS code] > cbQosCMDropPkt (13) ./snmpget -c [string] [ip] .1.3.6.1.4.1.9.9.166.1.15.1.1.14.[CBQoS code] > cbQosCMDropPkt64 (14) ./snmpget -c [string] [ip] .1.3.6.1.4.1.9.9.166.1.15.1.1.19.[CBQoS code] > cbQosCMDropBitRate (18) For example: Get values for ifIndex 3 PRIORITY queue performance... ./snmpget -c [string] [ip] .1.3.6.1.4.1.9.9.166.1.15.1.1.7.1159.1177 > cbQosCMPrePolicyBitRate (7) ./snmpget -c [string] [ip] .1.3.6.1.4.1.9.9.166.1.15.1.1.11.1159.1177 > cbQosCMPostPolicyBitRate (11) ./snmpget -c [string] [ip] .1.3.6.1.4.1.9.9.166.1.15.1.1.13.1159.1177 > cbQosCMDropPkt (13) ./snmpget -c [string] [ip] .1.3.6.1.4.1.9.9.166.1.15.1.1.14.1159.1177 > cbQosCMDropPkt64 (14) ./snmpget -c [string] [ip] .1.3.6.1.4.1.9.9.166.1.15.1.1.19.1159.1177 > cbQosCMDropBitRate (18) Other possible statistic values... cbQosCMStatsTable (1) cbQosCMStatsEntry (1) cbQosCMPrePolicyPktOverflow (1) cbQosCMPrePolicyPkt (2) cbQosCMPrePolicyPkt64 (3) cbQosCMPrePolicyByteOverflow (4) cbQosCMPrePolicyByte (5) cbQosCMPrePolicyByte64 (6) cbQosCMPrePolicyBitRate (7) cbQosCMPostPolicyByteOverflow (8) cbQosCMPostPolicyByte (9) cbQosCMPostPolicyByte64 (10) cbQosCMPostPolicyBitRate (11) cbQosCMDropPktOverflow (12) cbQosCMDropPkt (13) cbQosCMDropPkt64 (14) cbQosCMDropByteOverflow (15) cbQosCMDropByte (16) cbQosCMDropByte64 (17) cbQosCMDropBitRate (18) cbQosCMNoBufDropPktOverflow (19) cbQosCMNoBufDropPkt (20) cbQosCMNoBufDropPkt64 (21) -----Original Message----- From: rrd-users-bounces at lists.oetiker.ch [mailto:rrd-users-bounces at lists.oetiker.ch] On Behalf Of Simon Hobson Sent: Sunday, June 24, 2007 5:38 PM To: rrd-users at lists.oetiker.ch Subject: Re: [rrd-users] QoS Mohammed Alhaj Ali wrote: > I need to implement QoS and measure the drop packet for each >customer; would any one please help me on how can I generate such >map like this with detailed steps please !! Using what ? What OS do you use ? Where are you applying the QoS ? If you do the routing with a Linux box then I suggest visiting the Linux Advanced Routing Howto and in particular section 9 "Queueing Disciplines for Bandwidth Management". http://lartc.org/howto/lartc.qdisc.html You would probably be making extensive use of HTB queues, for which the documentation is at http://luxik.cdi.cz/~devik/qos/htb/ Once you have your queueing and prioritisation, you can then read the stats from 'tc' and stuff the numbers into one or more rrd files - I do this with a cron job. If you are using different routers (eg Cisco), then you will need to learn how to do traffic shaping on those, and find out how to read the stats (probably with snmp and mrtg). _______________________________________________ rrd-users mailing list rrd-users at lists.oetiker.ch https://lists.oetiker.ch/cgi-bin/listinfo/rrd-users -------------------------------------------------------- This message w/attachments (message) may be privileged, confidential or proprietary, and if you are not an intended recipient, please notify the sender, do not use or share it and delete it. Unless specifically indicated, this message is not an offer to sell or a solicitation of any investment products or other financial product or service, an official confirmation of any transaction, or an official statement of Merrill Lynch. Subject to applicable law, Merrill Lynch may monitor, review and retain e-communications (EC) traveling through its networks/systems. The laws of the country of each sender/recipient may impact the handling of EC, and EC may be archived, supervised and produced in countries other than the country in which you are located. This message cannot be guaranteed to be secure or error-free. This message is subject to terms available at the following link: http://www.ml.com/e-communications_terms/. By messaging with Merrill Lynch you consent to the foregoing. -------------------------------------------------------- From langarod2 at gmail.com Tue Jun 26 14:49:48 2007 From: langarod2 at gmail.com (Dag Erlandsson) Date: Tue, 26 Jun 2007 14:49:48 +0200 Subject: [rrd-users] VDEF hangs rrdtool Message-ID: <84d2a26f0706260549p5a22e5dch25793b5dd701419f@mail.gmail.com> Have used rrdtool for over a year now showing my heating system temperatures. Added a counter to also be able to log my power consumption. Everything works good until I tried to define a total consumtion printout using GPRINT. I have pinpointed down my problem downto the following command to rrdtool: rrdtool graph - DEF:countA=/var/owdata/temp1.rrd:temp:AVERAGE VDEF:powerA=countA,TOTAL This command never returns. If I remove the VDEF part, it works. I have tried to use an other rrd file, same result. I'm running rrdtool on a NSLU2 unit (ARM7 cpu) using Debian. I have tried with the motion package in debian and also compiled the sources from the trunk in the SVN archive, same result. Have I done something wrong in this command? Best regards Dag Erlandsson P.S. Just for information I have one proble when building it for debian using dpkg-buildpackage -tc -B -rfakeroot Then it complains that the `/usr/src/rrdtool/program/debian/tmp/usr/doc': No such file or directory dosn't exists. There is a new rrdtool executable generated but no .deb package. D.S. make[4]: Entering directory `/usr/src/rrdtool/program/bindings/perl-shared' make[4]: Leaving directory `/usr/src/rrdtool/program/bindings/perl-shared' make[4]: Entering directory `/usr/src/rrdtool/program/bindings' make[4]: Nothing to be done for `install-exec-am'. test -f perl-piped/Makefile && cd perl-piped && /usr/bin/make install || true make[5]: Entering directory `/usr/src/rrdtool/program/bindings/perl-piped' Installing /usr/src/rrdtool/program/debian/tmp/usr/share/perl5/RRDp.pm Installing /usr/src/rrdtool/program/debian/tmp/usr/share/perl5/leaktest.pl Installing /usr/src/rrdtool/program/debian/tmp/usr/share/man/man3/RRDp.3pm make[5]: Leaving directory `/usr/src/rrdtool/program/bindings/perl-piped' test -f perl-shared/Makefile && cd perl-shared && /usr/bin/make install || true make[5]: Entering directory `/usr/src/rrdtool/program/bindings/perl-shared' Installing /usr/src/rrdtool/program/debian/tmp/usr/lib/perl5/auto/RRDs/RRDs.so Installing /usr/src/rrdtool/program/debian/tmp/usr/lib/perl5/auto/RRDs/RRDs.bs Files found in blib/arch: installing files in blib/lib into architecture dependent library tree Installing /usr/src/rrdtool/program/debian/tmp/usr/lib/perl5/ntmake.pl Installing /usr/src/rrdtool/program/debian/tmp/usr/lib/perl5/RRDs.pm Installing /usr/src/rrdtool/program/debian/tmp/usr/share/man/man3/RRDs.3pm make[5]: Leaving directory `/usr/src/rrdtool/program/bindings/perl-shared' test -f ruby/Makefile && cd ruby && /usr/bin/make EPREFIX=/usr/src/rrdtool/program/debian/tmp/usr sitedir=/usr/lib/ruby install || true test -d python/build && cd python && env BUILDLIBDIR=../../src/.libs /usr/bin/python setup.py install --skip-build --prefix=/usr/src/rrdtool/program/debian/tmp/usr --exec-prefix=/usr/src/rrdtool/program/debian/tmp/usr || true make[4]: Leaving directory `/usr/src/rrdtool/program/bindings' make[3]: Leaving directory `/usr/src/rrdtool/program/bindings' make[2]: Leaving directory `/usr/src/rrdtool/program/bindings' make[2]: Entering directory `/usr/src/rrdtool/program' make[3]: Entering directory `/usr/src/rrdtool/program' make[3]: Nothing to be done for `install-exec-am'. make[3]: Nothing to be done for `install-data-am'. make[3]: Leaving directory `/usr/src/rrdtool/program' make[2]: Leaving directory `/usr/src/rrdtool/program' make[1]: Leaving directory `/usr/src/rrdtool/program' mkdir -p /usr/src/rrdtool/program/debian/tmp/usr/share/doc mv /usr/src/rrdtool/program/debian/tmp/usr/doc /usr/src/rrdtool/program/debian/tmp/usr/share/doc/rrdtool mv: cannot stat `/usr/src/rrdtool/program/debian/tmp/usr/doc': No such file or directory make: *** [install] Error 1 -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.oetiker.ch/pipermail/rrd-users/attachments/20070626/3eb31ab0/attachment.html From alex at ergens.op.het.net Tue Jun 26 15:38:31 2007 From: alex at ergens.op.het.net (Alex van den Bogaerdt) Date: Tue, 26 Jun 2007 15:38:31 +0200 Subject: [rrd-users] VDEF hangs rrdtool In-Reply-To: <84d2a26f0706260549p5a22e5dch25793b5dd701419f@mail.gmail.com> References: <84d2a26f0706260549p5a22e5dch25793b5dd701419f@mail.gmail.com> Message-ID: <20070626133831.GA27987@ergens.op.het.net> On Tue, Jun 26, 2007 at 02:49:48PM +0200, Dag Erlandsson wrote: > rrdtool graph - DEF:countA=/var/owdata/temp1.rrd:temp:AVERAGE > VDEF:powerA=countA,TOTAL > > This command never returns. If I remove the VDEF part, it works. I have > tried to use an other rrd file, same result. > > I'm running rrdtool on a NSLU2 unit (ARM7 cpu) using Debian. I have tried > with the motion package in debian and also compiled the sources from the > trunk in the SVN archive, same result. > > Have I done something wrong in this command? I don't think so. The same problem should occur when you try to compute the average (this uses the same code). Please try: VDEF:powerA=countA,AVERAGE Does this hang as well? It sounds like an endless loop, however I don't see how (and where) this would happen. Do you have a huge amount of rows to process, combined with a small integer size perhaps? Maybe you can add some debugging printf statements to the code, look in rrd_graph.c near the end, function vdef_calc(). It would be interesting to know if the code is reached and if it exits again. -- Alex van den Bogaerdt http://www.vandenbogaerdt.nl/rrdtool/ From gore_jarold at yahoo.com Tue Jun 26 23:34:19 2007 From: gore_jarold at yahoo.com (Gore Jarold) Date: Tue, 26 Jun 2007 14:34:19 -0700 (PDT) Subject: [rrd-users] can't sanity-check rrdtool with sample data ... please help Message-ID: <647737.49895.qm@web63009.mail.re1.yahoo.com> New user of rrdtool. I plan on graphing the number of hits I get each day on my webserver. I have logs going back over a year, so my RRD will be backdated many months back and I will populate it with a script that parses my weblogs. Sounds very easy, but beause I am new I decided to just test it out and get a sense of how it worked. So I create an RRD: rrdtool create hits.rrd --start 1141200000 --step 86400 DS:hits:GAUGE:172800:0:U RRA:MAX:0.5:1:3650 starting about 13 months ago, step size is one whole day ... I thought that ABSOLUTE was a better choice for a discrete number every day, but every example I saw of web hits people were using GAUGE, so I guess I will too. Not sure if MAX is right, but the point is I do not want to do ANY averaging or summing or ANYTHING. I just want to plug in one number per day and graph that SINGLE number each day. The end. I assume MIN/MAX/LAST would provide the same results, right ? Ok, so the RRD creates without errors. Now I populate the first six days of data with make-believe values: rrdtool update hits.rrd 1141286400:1 1141372800:10 1141459200:10 1141545600:12 1141632000:12 1141718400:12 Easy. Start time is 1141200000, so my first value will be +86400, and adding +86400 each value after that. Again, this completes without errors. So, all is well - I'll just check the data with fetch to make sure it comes back just as I expect it to: # rrdtool fetch hits.rrd MAX --start 1141200000 --end 1141718400 hits 1141257600: 1.0000000000e+00 1141344000: 7.0000000000e+00 1141430400: 1.0000000000e+01 1141516800: 1.1333333333e+01 1141603200: 1.2000000000e+01 1141689600: 1.2000000000e+01 1141776000: nan And here are the problems. As you can see, the above output is completely wrong. The first, obvious, and mind-blowing behavior is that the time values in the output DO NOT MATCH my data points. My first data point was at time: 1141286400 and fetch returns that data point at: 1141257600 And then, the obvious problem that the data values are not correct - the values I entered into the RRD are clearly: 1,10,10,12,12,12 and fetch is giving me back: 1,7,1,11.3,12,12 (the 11.3 is particularly humurous) So, I give up. Is there a secret command line switch to "turn off the internal RNG that is applied to all dates and values" ? My question is simple: How do I plug in 6 test values with 6 specific dates and successfully fetch them back out again _exactly as I entered them_ ? Thanks. --------------------------------- Choose the right car based on your needs. Check out Yahoo! Autos new Car Finder tool. -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.oetiker.ch/pipermail/rrd-users/attachments/20070626/4c569307/attachment-0001.html From langarod2 at gmail.com Tue Jun 26 23:53:43 2007 From: langarod2 at gmail.com (Dag Erlandsson) Date: Tue, 26 Jun 2007 23:53:43 +0200 Subject: [rrd-users] VDEF hangs rrdtool In-Reply-To: <20070626133831.GA27987@ergens.op.het.net> References: <84d2a26f0706260549p5a22e5dch25793b5dd701419f@mail.gmail.com> <20070626133831.GA27987@ergens.op.het.net> Message-ID: <84d2a26f0706261453o5faa2623v6b97486b2be3e7c7@mail.gmail.com> It hangs with AVERAGE, MINIMUM and LAST also. The strange thing is that if I enable the debug printf in the beginning of vcalc_def() function, it prints out AND returns OK. Then I tested to remove the debug printf again and now it hangs again. Tries to add it again, and now it dosn't hang. The debug printf prints: DEBUG: start == 1182807840, end == 1182894480, 361 steps So just now I'm in the situation when I add printfs to see what happens it works, removes the dosn't work. It looks like I have to learn how to use gdb. Can it be run on an ARM7 platform? Best regards Dag Erlandsson 2007/6/26, Alex van den Bogaerdt : > > On Tue, Jun 26, 2007 at 02:49:48PM +0200, Dag Erlandsson wrote: > > > rrdtool graph - DEF:countA=/var/owdata/temp1.rrd:temp:AVERAGE > > VDEF:powerA=countA,TOTAL > > > > This command never returns. If I remove the VDEF part, it works. I have > > tried to use an other rrd file, same result. > > > > I'm running rrdtool on a NSLU2 unit (ARM7 cpu) using Debian. I have > tried > > with the motion package in debian and also compiled the sources from the > > trunk in the SVN archive, same result. > > > > Have I done something wrong in this command? > > I don't think so. The same problem should occur when you try to > compute the average (this uses the same code). Please try: > > VDEF:powerA=countA,AVERAGE > > Does this hang as well? > > It sounds like an endless loop, however I don't see how (and where) > this would happen. > > Do you have a huge amount of rows to process, combined with a small > integer size perhaps? > > Maybe you can add some debugging printf statements to the code, > look in rrd_graph.c near the end, function vdef_calc(). It would > be interesting to know if the code is reached and if it exits again. > > > -- > Alex van den Bogaerdt > http://www.vandenbogaerdt.nl/rrdtool/ > > _______________________________________________ > rrd-users mailing list > rrd-users at lists.oetiker.ch > https://lists.oetiker.ch/cgi-bin/listinfo/rrd-users > -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.oetiker.ch/pipermail/rrd-users/attachments/20070626/b14c215f/attachment.html From alex at ergens.op.het.net Wed Jun 27 00:06:36 2007 From: alex at ergens.op.het.net (Alex van den Bogaerdt) Date: Wed, 27 Jun 2007 00:06:36 +0200 Subject: [rrd-users] can't sanity-check rrdtool with sample data ... please help In-Reply-To: <647737.49895.qm@web63009.mail.re1.yahoo.com> References: <647737.49895.qm@web63009.mail.re1.yahoo.com> Message-ID: <20070626220636.GD11824@ergens.op.het.net> On Tue, Jun 26, 2007 at 02:34:19PM -0700, Gore Jarold wrote: > My question is simple: How do I plug in 6 test values with 6 specific dates and successfully fetch them back out again _exactly as I entered them_ ? RRDtool behaviour is well documented. You have selected a step size of 86400, so every timestamp is a whole multiple of 86400. If you want some other timestamp, you will have to use another step size. Try a step size of 3600. HTH -- Alex van den Bogaerdt http://www.vandenbogaerdt.nl/rrdtool/ From alex at ergens.op.het.net Wed Jun 27 00:09:55 2007 From: alex at ergens.op.het.net (Alex van den Bogaerdt) Date: Wed, 27 Jun 2007 00:09:55 +0200 Subject: [rrd-users] VDEF hangs rrdtool In-Reply-To: <84d2a26f0706261453o5faa2623v6b97486b2be3e7c7@mail.gmail.com> References: <84d2a26f0706260549p5a22e5dch25793b5dd701419f@mail.gmail.com> <20070626133831.GA27987@ergens.op.het.net> <84d2a26f0706261453o5faa2623v6b97486b2be3e7c7@mail.gmail.com> Message-ID: <20070626220955.GE11824@ergens.op.het.net> On Tue, Jun 26, 2007 at 11:53:43PM +0200, Dag Erlandsson wrote: > It hangs with AVERAGE, MINIMUM and LAST also. Ack. > The strange thing is that if I enable the debug printf in the beginning of > vcalc_def() function, it prints out AND returns OK. > Then I tested to remove the debug printf again and now it hangs again. :-) Maybe a faulty optimizer? Try different optimizer settings when compiling. > So just now I'm in the situation when I add printfs to see what happens it > works, removes the dosn't work. It looks like I have to learn how to use > gdb. Can it be run on an ARM7 platform? Sorry, can't help here. -- Alex van den Bogaerdt http://www.vandenbogaerdt.nl/rrdtool/ From gore_jarold at yahoo.com Wed Jun 27 04:47:32 2007 From: gore_jarold at yahoo.com (Gore Jarold) Date: Tue, 26 Jun 2007 19:47:32 -0700 (PDT) Subject: [rrd-users] can't sanity-check rrdtool with sample data ... please help In-Reply-To: <20070626220636.GD11824@ergens.op.het.net> Message-ID: <117803.20955.qm@web63014.mail.re1.yahoo.com> --- Alex van den Bogaerdt wrote: > On Tue, Jun 26, 2007 at 02:34:19PM -0700, Gore > Jarold wrote: > > > My question is simple: How do I plug in 6 test > values with 6 specific dates and successfully fetch > them back out again _exactly as I entered them_ ? > > RRDtool behaviour is well documented. You have > selected a step > size of 86400, so every timestamp is a whole > multiple of 86400. Yes, I see that it is - and that is good, but it's the _wrong_ multiple of 86400 - the dates coming out of my RRD are (as far as I can tell) random. Look at my create statement: rrdtool create hits.rrd --start 1141200000 --step 86400 DS:hits:GAUGE:172800:0:U RRA:MAX:0.5:1:3650 Notice how the --start is 1141200000 ? Now look at my update statement - the first date is +86400 after --start, and each subsequent date is +86400 after the previous one: rrdtool update hits.rrd 1141286400:1 1141372800:10 1141459200:10 1141545600:12 1141632000:12 1141718400:12 So now look at the output of: rrdtool fetch hits.rrd MAX --start 1141200000 --end 1141718400 1141257600: 1.0000000000e+00 1141344000: 7.0000000000e+00 1141430400: 1.0000000000e+01 1141516800: 1.1333333333e+01 1141603200: 1.2000000000e+01 1141689600: 1.2000000000e+01 Hmm... how very odd ... NOT ONE of those dates is in my 'rrdtool update' command. Every single one of those six dates above is _from nowhere_. I didn't start my RRD at any of those dates, and I have not entered data for any of those dates. So where did those dates come from ? The fact that they are all +86400 from each other is not useful when they are not the data I entered... (and this, of course, does not even mention the fact that my data input was: 1, 10, 10, 12, 12, 12 and 'fetch' output: 1, 7, 10, 11.3, 12, 12 Yes, I have read the HOWTOs - as you can see all of my command lines are just fine. What I would like to know is, how do I put in certain data and then get that same data back out ? As you can see I was not able to here... ____________________________________________________________________________________ Shape Yahoo! in your own image. Join our Network Research Panel today! http://surveylink.yahoo.com/gmrs/yahoo_panel_invite.asp?a=7 From linux at thehobsons.co.uk Wed Jun 27 08:59:35 2007 From: linux at thehobsons.co.uk (Simon Hobson) Date: Wed, 27 Jun 2007 07:59:35 +0100 Subject: [rrd-users] can't sanity-check rrdtool with sample data ... please help In-Reply-To: <117803.20955.qm@web63014.mail.re1.yahoo.com> References: <117803.20955.qm@web63014.mail.re1.yahoo.com> Message-ID: Gore Jarold wrote: > > RRDtool behaviour is well documented. You have >> selected a step >> size of 86400, so every timestamp is a whole >> multiple of 86400. > > >Yes, I see that it is - and that is good, but it's the >_wrong_ multiple of 86400 - the dates coming out of my >RRD are (as far as I can tell) random. Then you haven't looked very hard. They are not random - see comments below. >Look at my create statement: > >rrdtool create hits.rrd --start 1141200000 --step >86400 DS:hits:GAUGE:172800:0:U RRA:MAX:0.5:1:3650 > >Notice how the --start is 1141200000 ? And ? The docs say "Specifies the time in seconds since 1970-01-01 UTC when the first value should be added to the RRD. RRDtool will not accept any data timed before or at the time specified." It doesn't say that it will align the sample periods to that time. >Now look at my update statement - the first date is >+86400 after --start, and each subsequent date is >+86400 after the previous one: > >rrdtool update hits.rrd 1141286400:1 1141372800:10 >1141459200:10 1141545600:12 1141632000:12 >1141718400:12 > >So now look at the output of: > >rrdtool fetch hits.rrd MAX --start 1141200000 --end >1141718400 > >1141257600: 1.0000000000e+00 >1141344000: 7.0000000000e+00 >1141430400: 1.0000000000e+01 >1141516800: 1.1333333333e+01 >1141603200: 1.2000000000e+01 >1141689600: 1.2000000000e+01 > >Hmm... how very odd ... NOT ONE of those dates is in >my 'rrdtool update' command. Every single one of >those six dates above is _from nowhere_. I didn't >start my RRD at any of those dates, and I have not >entered data for any of those dates. They didn't come from nowhere. 1141257600 is 00:00, 13209 days from 1 Jan 1970. >So where did those dates come from ? Multiples of 86400 from epoch, didn't you try "1141257600 / 86400" to see what you got ? > The fact that >they are all +86400 from each other is not useful when >they are not the data I entered... > >(and this, of course, does not even mention the fact >that my data input was: > >1, 10, 10, 12, 12, 12 > >and 'fetch' output: > >1, 7, 10, 11.3, 12, 12 >Yes, I have read the HOWTOs - as you can see all of my >command lines are just fine. You think they are fine. > What I would like to >know is, how do I put in certain data and then get >that same data back out ? As you can see I was not >able to here... Have you studied http://www.vandenbogaerdt.nl/rrdtool/process.php ? The answer is simple, and has been dealt with on this list many times. If you enter all your values EXACTLY on multiples of step size after epoch then you will get the same rate out as you put in. From erik at oezie.org Wed Jun 27 09:10:33 2007 From: erik at oezie.org (Erik de Mare) Date: Wed, 27 Jun 2007 9:10:33 +0200 Subject: [rrd-users] can't sanity-check rrdtool with sample data ...please help In-Reply-To: <117803.20955.qm@web63014.mail.re1.yahoo.com> References: <117803.20955.qm@web63014.mail.re1.yahoo.com> Message-ID: <17ad4aea976ad2c993358cd0fb66da92@haas.oezie.org> Hi, RRDtool uses when updating a timestamp, I think calculated the following way: - % when you update you are inserting data at each day at 8:00. try updateing it at 0:00 (what rrdtool fetch prints, 1141257600 = Thu, 02 Mar 2006 00:00:00 GMT) rrdtool update hits.rrd 1141257600:1 1141344000:10 1141430400:10 1141516800:12 1141603200:12 1141689600:12 rrdtool fetch hits.rrd MAX --start 1141200000 --end 1141718400 On Tue, 26 Jun 2007 19:47:32 -0700 (PDT), Gore Jarold wrote: > > rrdtool update hits.rrd 1141286400:1 1141372800:10 > 1141459200:10 1141545600:12 1141632000:12 > 1141718400:12 > > So now look at the output of: > > rrdtool fetch hits.rrd MAX --start 1141200000 --end > 1141718400 > > 1141257600: 1.0000000000e+00 > 1141344000: 7.0000000000e+00 > 1141430400: 1.0000000000e+01 > 1141516800: 1.1333333333e+01 > 1141603200: 1.2000000000e+01 > 1141689600: 1.2000000000e+01 > > > 1, 10, 10, 12, 12, 12 > > and 'fetch' output: > > 1, 7, 10, 11.3, 12, 12 > > _______________________________________________ > rrd-users mailing list > rrd-users at lists.oetiker.ch > https://lists.oetiker.ch/cgi-bin/listinfo/rrd-users From langarod2 at gmail.com Wed Jun 27 18:12:01 2007 From: langarod2 at gmail.com (Dag Erlandsson) Date: Wed, 27 Jun 2007 18:12:01 +0200 Subject: [rrd-users] VDEF hangs rrdtool In-Reply-To: <20070626220955.GE11824@ergens.op.het.net> References: <84d2a26f0706260549p5a22e5dch25793b5dd701419f@mail.gmail.com> <20070626133831.GA27987@ergens.op.het.net> <84d2a26f0706261453o5faa2623v6b97486b2be3e7c7@mail.gmail.com> <20070626220955.GE11824@ergens.op.het.net> Message-ID: <84d2a26f0706270912k4fb8447fhf4ba54ca3869fc8@mail.gmail.com> It looks like it was the optimizer. If turning it off it works OK. Added some other printf and fond that the steps was wrong calculated. The Diff is src->end - src->start (not calculated corrct) Diff=4294880656 Step=240 DEBUG: start == 1182873600, end == 1182960240, 17895336 steps I tested with some other expression to get it correct. steps = ((long)src->end - (long)src->start) / src->step; Same result. steps = src->end; steps -= src->start; steps /= src->step; Also same result. I was not able to find any expression that gives the correct result with optimition. Thanks for the help. /Dag 2007/6/27, Alex van den Bogaerdt : > > On Tue, Jun 26, 2007 at 11:53:43PM +0200, Dag Erlandsson wrote: > > It hangs with AVERAGE, MINIMUM and LAST also. > > Ack. > > > The strange thing is that if I enable the debug printf in the beginning > of > > vcalc_def() function, it prints out AND returns OK. > > Then I tested to remove the debug printf again and now it hangs again. > > :-) > > Maybe a faulty optimizer? Try different optimizer settings when > compiling. > > > So just now I'm in the situation when I add printfs to see what happens > it > > works, removes the dosn't work. It looks like I have to learn how to use > > gdb. Can it be run on an ARM7 platform? > > Sorry, can't help here. > > -- > Alex van den Bogaerdt > http://www.vandenbogaerdt.nl/rrdtool/ > > _______________________________________________ > rrd-users mailing list > rrd-users at lists.oetiker.ch > https://lists.oetiker.ch/cgi-bin/listinfo/rrd-users > -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.oetiker.ch/pipermail/rrd-users/attachments/20070627/96673dd0/attachment-0001.html From gore_jarold at yahoo.com Wed Jun 27 22:13:37 2007 From: gore_jarold at yahoo.com (Gore Jarold) Date: Wed, 27 Jun 2007 13:13:37 -0700 (PDT) Subject: [rrd-users] can't sanity-check rrdtool with sample data ... please help In-Reply-To: Message-ID: <444357.52308.qm@web63006.mail.re1.yahoo.com> Simon, Thank you for your response - you did make things clearer - see additional comments below, please: --- Simon Hobson wrote: > >Now look at my update statement - the first date is > >+86400 after --start, and each subsequent date is > >+86400 after the previous one: > > > >rrdtool update hits.rrd 1141286400:1 1141372800:10 > >1141459200:10 1141545600:12 1141632000:12 > >1141718400:12 > > > >So now look at the output of: > > > >rrdtool fetch hits.rrd MAX --start 1141200000 --end > >1141718400 > > > >1141257600: 1.0000000000e+00 > >1141344000: 7.0000000000e+00 > >1141430400: 1.0000000000e+01 > >1141516800: 1.1333333333e+01 > >1141603200: 1.2000000000e+01 > >1141689600: 1.2000000000e+01 > > > >Hmm... how very odd ... NOT ONE of those dates is > in > >my 'rrdtool update' command. Every single one of > >those six dates above is _from nowhere_. I didn't > >start my RRD at any of those dates, and I have not > >entered data for any of those dates. > > They didn't come from nowhere. 1141257600 is 00:00, > 13209 days from 1 Jan 1970. Ok, that helps _a lot_. I must say that the documentation was not clear on this point - I saw no distinction one way or another, so my natural instinct was that the (step size) increments began after --start time, NOT after epoch. So again, thank you - that helps very much. Please do consider that this is _not_ obvious in the HOWTOs. > >(and this, of course, does not even mention the > fact > >that my data input was: > > > >1, 10, 10, 12, 12, 12 > > > >and 'fetch' output: > > > >1, 7, 10, 11.3, 12, 12 So this is the other problem - and I'll just make the question easy: If my update command is: rrdtool update hits.rrd 1141286400:1 1141372800:10 1141459200:10 1141545600:12 1141632000:12 1141718400:12 and I want my output with fetch to give me: 1,10,10,12,12,12 Then what is wrong with my 'rrdtool create' statement: rrdtool create hits.rrd --start 1141200000 --step 86400 DS:hits:GAUGE:172800:0:U RRA:MAX:0.5:1:3650 because right now, instead of the 1,10,10,12,12,12 that I put in, I am getting: 1141257600: 1.0000000000e+00 1141344000: 7.0000000000e+00 1141430400: 1.0000000000e+01 1141516800: 1.1333333333e+01 1141603200: 1.2000000000e+01 1141689600: 1.2000000000e+01 when I fetch it back out ... (1,7,10,11.3,12,12) Thank you. ____________________________________________________________________________________ Shape Yahoo! in your own image. Join our Network Research Panel today! http://surveylink.yahoo.com/gmrs/yahoo_panel_invite.asp?a=7 From marc at ena.com Wed Jun 27 22:33:54 2007 From: marc at ena.com (Marc Powell) Date: Wed, 27 Jun 2007 15:33:54 -0500 Subject: [rrd-users] can't sanity-check rrdtool with sample data ...please help In-Reply-To: <444357.52308.qm@web63006.mail.re1.yahoo.com> Message-ID: > -----Original Message----- > From: rrd-users-bounces at lists.oetiker.ch [mailto:rrd-users- > bounces at lists.oetiker.ch] On Behalf Of Gore Jarold > Sent: Wednesday, June 27, 2007 3:14 PM > To: Simon Hobson; rrd-users at lists.oetiker.ch > Subject: Re: [rrd-users] can't sanity-check rrdtool with sample data > ...please help > > So this is the other problem - and I'll just make the > question easy: > > If my update command is: > > rrdtool update hits.rrd 1141286400:1 1141372800:10 > 1141459200:10 1141545600:12 1141632000:12 > 1141718400:12 > > and I want my output with fetch to give me: > > 1,10,10,12,12,12 > > Then what is wrong with my 'rrdtool create' statement: > > rrdtool create hits.rrd --start 1141200000 --step > 86400 DS:hits:GAUGE:172800:0:U RRA:MAX:0.5:1:3650 > > because right now, instead of the 1,10,10,12,12,12 > that I put in, I am getting: > > 1141257600: 1.0000000000e+00 > 1141344000: 7.0000000000e+00 > 1141430400: 1.0000000000e+01 > 1141516800: 1.1333333333e+01 > 1141603200: 1.2000000000e+01 > 1141689600: 1.2000000000e+01 > > when I fetch it back out ... (1,7,10,11.3,12,12) Your insert timestamps are not even multiples of your step from the epoch. As you can see, rrdtool is adjusting the data so that they are. It does this by interpolating what the data would be at that timestamp based on the rate of change. If you want to get the exact same data out, you need to insert with a 00:00:00 GMT timestamp. -- Marc From linux at thehobsons.co.uk Thu Jun 28 00:37:31 2007 From: linux at thehobsons.co.uk (Simon Hobson) Date: Wed, 27 Jun 2007 23:37:31 +0100 Subject: [rrd-users] can't sanity-check rrdtool with sample data ... please help In-Reply-To: <444357.52308.qm@web63006.mail.re1.yahoo.com> References: <444357.52308.qm@web63006.mail.re1.yahoo.com> Message-ID: Gore Jarold wrote: >So this is the other problem - and I'll just make the >question easy: > >If my update command is: > >rrdtool update hits.rrd 1141286400:1 1141372800:10 >1141459200:10 1141545600:12 1141632000:12 >1141718400:12 > >and I want my output with fetch to give me: > >1,10,10,12,12,12 > >Then what is wrong with my 'rrdtool create' statement: Nothing, it's your update statements that are wrong. >rrdtool create hits.rrd --start 1141200000 --step >86400 DS:hits:GAUGE:172800:0:U RRA:MAX:0.5:1:3650 > >because right now, instead of the 1,10,10,12,12,12 >that I put in, I am getting: > >1141257600: 1.0000000000e+00 >1141344000: 7.0000000000e+00 >1141430400: 1.0000000000e+01 >1141516800: 1.1333333333e+01 >1141603200: 1.2000000000e+01 >1141689600: 1.2000000000e+01 > >when I fetch it back out ... (1,7,10,11.3,12,12) Notice that the timestamps are different - there's 8 hours difference between the boundaries of the stored step intervals and the points you feed in data for. http://www.vandenbogaerdt.nl/rrdtool/process.php explains the normalisation that goes on, but in this case it means that for every value you feed in, 1/3 goes into one bin, the other 2/3 goes into a different bin. See what goes into the different bins 1/3 of unknown, plus 2/3 of 1 over 2/3 of the time = a rate of 1 1/3 of 1 plus 2/3 of 10 = 7 1/3 of 10 plus 2/3 of 10 = 10 1/3 of 10 plus 2/3 of 12 = 3.3 + 8 = 11.3 1/3 of 12 plus 2/3 of 12 = 12 It would help you visualise this if you plot the points of the updates and the boundaries of the 'bins' on the time axis as is shown on the web page above. Fundamentally the problem is that you are thinking of an RRD like a traditional database where what you get out is what you put in - it isn't. RRD is designed to normalise data to fit specific timeslots so in the general case what you get out is a normalised (and usually consolidated) version of what went in. This isn't the first time this time issue has come up, the tools don't support 'daily' samples over anything other midnight-midnight UTC which is not always what people in other timezones want. However, I suspect that modifying the software to support a 'zero point' offset from unix epoch/UTC would be non-trivial. From varmkk at gmail.com Thu Jun 14 10:51:44 2007 From: varmkk at gmail.com (VarmaKK) Date: Thu, 14 Jun 2007 08:51:44 -0000 Subject: [rrd-users] RRD shows unknown data in the graph Message-ID: <11116174.post@talk.nabble.com> Hi, I'm using RRD tool to monitor a group of hosts. We have scripts to fetch the time series data from all the hosts and that data is stored in an Oracle DB. And for every hour this time series data is transfered from Oracle DB to RRD database through a perl script. It's been working fine since long time. Now I have discovered a problem with values supposed to be unknown ( Channels not being updated because the corresponding hosts are down for 3 hours): But they don't show up as unknown/NaN in the database - instead it show a constant value let's say 150 in the graphs during that 3 hrs down time. Can any one help how do I track this problem, it's very urgent. Thanks in advance. -- View this message in context: http://www.nabble.com/RRD-shows-unknown-data-in-the-graph-tf3920423.html#a11116174 Sent from the RRDTool - User mailing list archive at Nabble.com. From varmkk at gmail.com Thu Jun 14 13:22:56 2007 From: varmkk at gmail.com (VarmaKK) Date: Thu, 14 Jun 2007 11:22:56 -0000 Subject: [rrd-users] RRD- Does anyone know how to do 2 y-axes?? In-Reply-To: References: <20060912071759.M46275@gate.sinica.edu.tw> <091320061308.3303.450802C40005DD0400000CE722069997359C030E0B0E06979D9D0E04@comcast.net> Message-ID: <11118321.post@talk.nabble.com> Tobias Oetiker-3 wrote: > > Today larryjadams at comcast.net wrote: > >> Fu-Min Tsai, >> >> Tobi is quite clear on this one. Either a user will contribute a >> patch, or a greatful benefactor will request it using the >> appropriate incentive in order to have Tobi commence such an >> activity. >> >> Before you go off writing a patch, you will need to submit a >> design to Tobi and obtain the appropriate blessing, so that you >> don't write something that will never make it into the code base. > > Fu-Min, > > I am in the process of devising ways to finance > rrdtool/mrtg/smokeping development apart from customer specific > things [gold, silver and micro sponsors] especially in connection > with the drive for 1.3 ... so in that light some odd-ball things > may materialize too. > > > cheers > tobi > > > > -- > Tobi Oetiker, OETIKER+PARTNER AG, Aarweg 15 CH-4600 Olten > http://tobi.oetiker.ch tobi at oetiker.ch ++41 62 213 9902 > > -- > Unsubscribe mailto:rrd-users-request at list.ee.ethz.ch?subject=unsubscribe > Help mailto:rrd-users-request at list.ee.ethz.ch?subject=help > Archive http://lists.ee.ethz.ch/rrd-users > WebAdmin http://lists.ee.ethz.ch/lsg2.cgi > > > -- View this message in context: http://www.nabble.com/Does-anyone-know-how-to-do-2-y-axes---tf2257145.html#a11118321 Sent from the RRDTool - User mailing list archive at Nabble.com. From rep.dot.nop at gmail.com Fri Jun 15 11:21:21 2007 From: rep.dot.nop at gmail.com (Bernhard Fischer) Date: Fri, 15 Jun 2007 09:21:21 -0000 Subject: [rrd-users] [rrd-developers] rrdtool 1.3 progress In-Reply-To: References: <4671B064.8000601@nexlinx.net.pk> Message-ID: <20070615091438.GC18720@aon.at> On Fri, Jun 15, 2007 at 07:12:59AM +0200, Tobias Oetiker wrote: >Masood, > >> Pretty nice to hear this; specially 50K updates in a 5 minute interval >> wow nice :P > >ain't it ? > >> May I know when you are gonna release this 1.3 version? > >there is no schedule ... it depends on how many people test and >feedback ... the code is very new ... I really encourage people to test the current code in trunk. As already mentioned, i'm very interrested if somebody sees any performance regression with current trunk as compared to the 1.2 branch. Since i did not change much except the file-access layer, i think that there are not too many possibilities for newly introduced bugs. Please report your results (ideally with a comparison against the 1.2 branch). TIA and cheers, Bernhard From sambessey at gmail.com Thu Jun 7 17:35:04 2007 From: sambessey at gmail.com (sambessey) Date: Thu, 07 Jun 2007 15:35:04 -0000 Subject: [rrd-users] Making Tables of RRD Data? Message-ID: <11010380.post@talk.nabble.com> Hi I have an RRD which is collecting live statistics on about 20 different boxes... What I want to do is have RRDTool dump data from certain DS's (i.e. max value, min value, average, etc) for the past 24 hours as text so I can build tables in HTML. How do I tell RRDTool tol dump- for example the MAX value from a DS called CPUIdle-mgm-fr1m from the past 24 hours? Is there a way I can tell RRDTool to specifically dump the value from that DS? Thanks -- View this message in context: http://www.nabble.com/Making-Tables-of-RRD-Data--tf3884584.html#a11010380 Sent from the RRDTool - User mailing list archive at Nabble.com. From sambessey at gmail.com Thu Jun 7 17:37:44 2007 From: sambessey at gmail.com (sambessey) Date: Thu, 07 Jun 2007 15:37:44 -0000 Subject: [rrd-users] Making Tables of RRD Data? Message-ID: <11010380.post@talk.nabble.com> Hi I have an RRD which is collecting live statistics on about 20 different boxes... What I want to do is have RRDTool dump data from certain DS's (i.e. max value, min value, average, etc) for the past 24 hours as text so I can build tables in HTML. How do I tell RRDTool tol dump- for example the MAX value from a DS called CPUIdle-mgm-fr1m from the past 24 hours? Is there a way I can tell RRDTool to specifically dump the value from that DS? Can RRDCGI do this? If so I haven't managed to figure out how yet! So far the only way I have managed to do it is to write a perl script that does a fetch on the past 24 hours of all data and then hand pick what I want, but this is not really practical and I am sure RRDTool can do the job better. Thanks -- View this message in context: http://www.nabble.com/Making-Tables-of-RRD-Data--tf3884584.html#a11010380 Sent from the RRDTool - User mailing list archive at Nabble.com. From gayleknight at iinet.net.au Sun Jun 10 12:27:02 2007 From: gayleknight at iinet.net.au (gayleknight at iinet.net.au) Date: Sun, 10 Jun 2007 10:27:02 -0000 Subject: [rrd-users] Compiling rrdtool under Windows XP Message-ID: <1625.1181470591@iinet.net.au> An HTML attachment was scrubbed... URL: http://lists.oetiker.ch/pipermail/rrd-users/attachments/20070610/458d0370/attachment-0001.html From jwilson at redhat.com Fri Jun 15 22:08:25 2007 From: jwilson at redhat.com (Jarod Wilson) Date: Fri, 15 Jun 2007 20:08:25 -0000 Subject: [rrd-users] [rrd-developers] rrdtool 1.3 progress In-Reply-To: <20070615091438.GC18720@aon.at> References: <4671B064.8000601@nexlinx.net.pk> <20070615091438.GC18720@aon.at> Message-ID: <4672EE62.2010406@redhat.com> Bernhard Fischer wrote: > On Fri, Jun 15, 2007 at 07:12:59AM +0200, Tobias Oetiker wrote: >> Masood, >> >>> Pretty nice to hear this; specially 50K updates in a 5 minute interval >>> wow nice :P >> ain't it ? >> >>> May I know when you are gonna release this 1.3 version? >> there is no schedule ... it depends on how many people test and >> feedback ... the code is very new ... > > I really encourage people to test the current code in trunk. As already > mentioned, i'm very interrested if somebody sees any performance > regression with current trunk as compared to the 1.2 branch. Since i did > not change much except the file-access layer, i think that there are not > too many possibilities for newly introduced bugs. > > Please report your results (ideally with a comparison against the 1.2 > branch). Note for Fedora users: I've updated the rawhide/development rrdtool packages to the latest svn trunk as well. (Fedora 7 (and earlier) will continue to carry the 1.2 branch for now.) -- Jarod Wilson jwilson at redhat.com -------------- next part -------------- A non-text attachment was scrubbed... Name: signature.asc Type: application/pgp-signature Size: 251 bytes Desc: OpenPGP digital signature Url : http://lists.oetiker.ch/pipermail/rrd-users/attachments/20070615/028b457e/attachment-0001.bin From vladoportos at vladoportos.sk Sun Jun 17 22:08:19 2007 From: vladoportos at vladoportos.sk (vladoportos at vladoportos.sk) Date: Sun, 17 Jun 2007 20:08:19 -0000 Subject: [rrd-users] Not correct numbers in db Message-ID: <4913.15.195.185.75.1182110497.squirrel@webmail-2a.domains.sk> Hi all, i made a graph which show online users and getting data from mysql and so on... but when i look on what data are feeded to rrd they look like this: 58 38 and in rrd it looks like this: 1182109560: 5.8000000000e+01 3.7985531650e+01 But in graph last values are 58 (OK) and second one is 37 ( not OK ) rrd db look like this rrdtool.create(cesta, '--step', '120', 'DS:ali_online:GAUGE:240:0:1000', 'DS:hord_online:GAUGE:240:0:1000', 'RRA:LAST:0.5:1:240') ### Its in python script and it updating db every 2min and should keep data for 8hours ( no average or anything just curent data ) and my graphs parameters look like this: def graf(spolu): cas = strftime("%a, %d %b %Y %H\:%M\:%S") rrdtool.graph(obr_cesta, '--width', '510', '--height', '130', '--imgformat', 'PNG', '--base', '1000', '--alt-autoscale-max', '--vertical-label', 'Online players', '--x-grid', 'MINUTE:10:HOUR:1:HOUR:1:0:%H:%M', '--color', 'FONT#A0A0A0', '--color', 'BACK#272727', '--color', 'CANVAS#3C333C', '--color', 'SHADEB#333333', '--color', 'SHADEA#707070', '--color', 'FONT#AAAAAA', '--start', '-8h', '-e', '-300', 'DEF:ali_online='+cesta+':ali_online:LAST', 'DEF:hord_online='+cesta+':hord_online:LAST', '--lower-limit', '0', 'COMMENT: Maximum Priemer Aktualne \\n', 'AREA:ali_online#3574ECC0:Aliancie Online:STACK', 'GPRINT:ali_online:MAX:%8.0lf', 'GPRINT:ali_online:AVERAGE: %8.0lf', 'GPRINT:ali_online:LAST: %8.0lf%s\\n', 'AREA:hord_online#E55451C0:Hordy Online:STACK', 'GPRINT:hord_online:MAX: %8.0lf', 'GPRINT:hord_online:AVERAGE: %8.0lf', 'GPRINT:hord_online:LAST: %8.0lf\\n', 'COMMENT: ', 'COMMENT:'+cas+'\\n', 'COMMENT: \:\:Gbely ON\:\: All online players\: '+spolu+'') But its show wrong data i gues its in parts "%8.0lf\\n'" <-- no idea what is this, or RRA:LAST:0.5:1:240 (what for is 0.5 there ?) Any idea what im doing wrong ? Thank you and best regards Vladimir From Dag.Erlandsson at nohau.se Tue Jun 26 15:38:35 2007 From: Dag.Erlandsson at nohau.se (Dag Erlandsson) Date: Tue, 26 Jun 2007 13:38:35 -0000 Subject: [rrd-users] VDEF rrdtools never returns Message-ID: <6F71820A0B3D284F8999A260C4BB7E3D34F852@nhserv05.NohauElektronik.local> Have used rrdtool for over a year now showing my heating system temperatures. Added a counter to also be able to log my power consumption. Everything works good until I tried to define a total consumtion printout using GPRINT. I have pinpointed down my problem downto the following command to rrdtool: rrdtool graph - DEF:countA=/var/owdata/temp1.rrd:temp:AVERAGE VDEF:powerA=countA,TOTAL This command never returns. If I remove the VDEF part, it works. I have tried to use an other rrd file, same result. I'm running rrdtool on a NSLU2 unit (ARM7 cpu) using Debian. I have tried with the motion package in debian and also compiled the sources from the trunk in the SVN archive, same result. Have I done something wrong in this command? Best regards Dag Erlandsson P.S. Just for information I have one proble when building it for debian using dpkg-buildpackage -tc -B -rfakeroot Then it complains that the `/usr/src/rrdtool/program/debian/tmp/usr/doc': No such file or directory dosn't exists. There is a new rrdtool executable generated but no .deb package. D.S. make[4]: Entering directory `/usr/src/rrdtool/program/bindings/perl-shared' make[4]: Leaving directory `/usr/src/rrdtool/program/bindings/perl-shared' make[4]: Entering directory `/usr/src/rrdtool/program/bindings' make[4]: Nothing to be done for `install-exec-am'. test -f perl-piped/Makefile && cd perl-piped && /usr/bin/make install || true make[5]: Entering directory `/usr/src/rrdtool/program/bindings/perl-piped' Installing /usr/src/rrdtool/program/debian/tmp/usr/share/perl5/RRDp.pm Installing /usr/src/rrdtool/program/debian/tmp/usr/share/perl5/leaktest.pl Installing /usr/src/rrdtool/program/debian/tmp/usr/share/man/man3/RRDp.3pm make[5]: Leaving directory `/usr/src/rrdtool/program/bindings/perl-piped' test -f perl-shared/Makefile && cd perl-shared && /usr/bin/make install || true make[5]: Entering directory `/usr/src/rrdtool/program/bindings/perl-shared' Installing /usr/src/rrdtool/program/debian/tmp/usr/lib/perl5/auto/RRDs/RRDs.so Installing /usr/src/rrdtool/program/debian/tmp/usr/lib/perl5/auto/RRDs/RRDs.bs Files found in blib/arch: installing files in blib/lib into architecture dependent library tree Installing /usr/src/rrdtool/program/debian/tmp/usr/lib/perl5/ntmake.pl Installing /usr/src/rrdtool/program/debian/tmp/usr/lib/perl5/RRDs.pm Installing /usr/src/rrdtool/program/debian/tmp/usr/share/man/man3/RRDs.3pm make[5]: Leaving directory `/usr/src/rrdtool/program/bindings/perl-shared' test -f ruby/Makefile && cd ruby && /usr/bin/make EPREFIX=/usr/src/rrdtool/program/debian/tmp/usr sitedir=/usr/lib/ruby install || true test -d python/build && cd python && env BUILDLIBDIR=../../src/.libs /usr/bin/python setup.py install --skip-build --prefix=/usr/src/rrdtool/program/debian/tmp/usr --exec-prefix=/usr/src/rrdtool/program/debian/tmp/usr || true make[4]: Leaving directory `/usr/src/rrdtool/program/bindings' make[3]: Leaving directory `/usr/src/rrdtool/program/bindings' make[2]: Leaving directory `/usr/src/rrdtool/program/bindings' make[2]: Entering directory `/usr/src/rrdtool/program' make[3]: Entering directory `/usr/src/rrdtool/program' make[3]: Nothing to be done for `install-exec-am'. make[3]: Nothing to be done for `install-data-am'. make[3]: Leaving directory `/usr/src/rrdtool/program' make[2]: Leaving directory `/usr/src/rrdtool/program' make[1]: Leaving directory `/usr/src/rrdtool/program' mkdir -p /usr/src/rrdtool/program/debian/tmp/usr/share/doc mv /usr/src/rrdtool/program/debian/tmp/usr/doc /usr/src/rrdtool/program/debian/tmp/usr/share/doc/rrdtool mv: cannot stat `/usr/src/rrdtool/program/debian/tmp/usr/doc': No such file or directory make: *** [install] Error 1 From t3ilte00 at students.oamk.fi Thu Jun 28 11:59:48 2007 From: t3ilte00 at students.oamk.fi (Teemu Ensio Illikainen) Date: Thu, 28 Jun 2007 09:59:48 -0000 Subject: [rrd-users] RRDtool compile problem (fwd) Message-ID: ---------- Forwarded message ---------- Date: Thu, 28 Jun 2007 12:37:11 +0300 (EEST) From: Teemu Ensio Illikainen To: tobi at oetiker.ch Subject: RRDtool compile problem Hello! I'm trying to install RRDtool to one machine but compiling fails everytime. I have followed directly your guide here http://oss.oetiker.ch/rrdtool/doc/rrdbuild.en.html and I have already installed this to two machine succesfully. After compiling and installing all needed libraries, I run ./configure in rrdtool -directory. It runs OK, but then when I type "make" it starts to compile but fails after a while. Here is some last lines of output: o .libs/rrd_lastupdate.o .libs/rrd_first.o .libs/rrd_resize.o .libs/rrd_restore.o .libs/rrd_tune.o .libs/rrd_version.o .libs/rrd_xport.o .libs/art_rgba_svp.o .libs/rrd_gfx.o .libs/rrd_afm.o .libs/rrd_afm_data.o .libs/rrd_tool.o -Wl,--whole-archive ./.libs/librrdupd.a -Wl,--no-whole-archive -L/home/sshuser/rrdtool-1.2.23/lb/lib /home/sshuser/rrdtool-1.2.23/lb/lib/libfreetype.a /home/sshuser/rrdtool-1.2.23/lb/lib/libpng12.a -lz /home/sshuser/rrdtool-1.2.23/lb/lib/libart_lgpl_2.a -lm -Wl,-soname -Wl,librrd.so.2 -o .libs/librrd.so.2.0.10 /usr/bin/ld: /home/sshuser/rrdtool-1.2.23/lb/lib/libfreetype.a(ftinit.o): relocation R_X86_64_32 against `tt_driver_class' can not be used when making a shared object; recompile with -fPIC /home/sshuser/rrdtool-1.2.23/lb/lib/libfreetype.a: could not read symbols: Bad value collect2: ld returned 1 exit status make[2]: *** [librrd.la] Error 1 make[2]: Leaving directory `/home/ssh I first tried with Freetype version 2.1.10 (the one in the guide) and after that I ried also with most recent version 2.3.4. Both fails similar way when "making". I wish you can help me, because it is essential to get this installed. :) Here is my uname -a Linux rrdma 2.6.20-15-generic #2 SMP Sun Apr 15 06:17:24 UTC 2007 x86_64 GNU/Linux Distro is Ubuntu Server 7.04 64-bit Greetings, Teemu Illikainen From schmidb at ibe.med.uni-muenchen.de Fri Jun 29 09:25:34 2007 From: schmidb at ibe.med.uni-muenchen.de (Markus Schmidberger) Date: Fri, 29 Jun 2007 07:25:34 -0000 Subject: [rrd-users] change background for special timeperiods Message-ID: <4684AD41.8030802@ibe.med.uni-muenchen.de> Hello, we use Nagios with PNP / RRDtool and want to have different background colors for night- (8pm-6am) and day-time (6am-8pm). Can you help me, how to do this? Thanks Markus -- Dipl.-Tech. Math. Markus Schmidberger Ludwig-Maximilians-Universit?t M?nchen IBE - Institut f?r medizinische Informationsverarbeitung, Biometrie und Epidemiologie Marchioninistr. 15, D-81377 Muenchen URL: http://ibe.web.med.uni-muenchen.de Mail: Markus.Schmidberger [at] ibe.med.uni-muenchen.de