From rollthebones at gmail.com Tue Oct 3 11:37:11 2006 From: rollthebones at gmail.com (Tony T.) Date: Tue, 3 Oct 2006 10:37:11 -0500 Subject: [drraw-users] Begginer question: how to combine two rrd files? Message-ID: <262f880c0610030837h48220b24t5204d87817b07eec@mail.gmail.com> Hi all, I am using Drraw 2.1.3 to create graphs from data that is collected for Orca use on Solaris systems. Orca is good at it's own graphs but sometimes its nice to get on the fly output as well. Usually I can get simple graphs but I am at the point now where I need to do some math on the RRDs. I have not been succesful in combining output from RRD files to give me a SUM, i.e. one RRD is cpu_usr, the other is cpu_system. To get the total utilization I need to add these two together but I can't figure out how to do it. Everything I have tried in the CDEF sections has failed, probably because I am at a loss as to what needs to go where. Can anyone help me? Thanks. -------------- next part -------------- An HTML attachment was scrubbed... URL: http://web.taranis.org/pipermail/drraw-users/attachments/20061003/80639d65/attachment.html From vitroth+ at cmu.edu Tue Oct 3 11:43:47 2006 From: vitroth+ at cmu.edu (David Nolan) Date: Tue, 3 Oct 2006 11:43:47 -0400 Subject: [drraw-users] Begginer question: how to combine two rrd files? In-Reply-To: <262f880c0610030837h48220b24t5204d87817b07eec@mail.gmail.com> References: <262f880c0610030837h48220b24t5204d87817b07eec@mail.gmail.com> Message-ID: <1cbe50830610030843y75f4be6nb54f590c407473b6@mail.gmail.com> On 10/3/06, Tony T. wrote: > Hi all, > > I am using Drraw 2.1.3 to create graphs from data that is collected for Orca > use on Solaris systems. Orca is good at it's own graphs but sometimes its > nice to get on the fly output as well. Usually I can get simple graphs but I > am at the point now where I need to do some math on the RRDs. > > I have not been succesful in combining output from RRD files to give me a > SUM, i.e. one RRD is cpu_usr, the other is cpu_system. To get the total > utilization I need to add these two together but I can't figure out how to > do it. Everything I have tried in the CDEF sections has failed, probably > because I am at a loss as to what needs to go where. > > Can anyone help me? > CDEF fields take an RPN expression, i.e. in this case you want something like a,b,+ where a & b are the value identifiers you see in the Name Seq column in drraw. Ultimately, drraw is just providing an interface for sending arguments to rrdtool, so you probably need to read the documentation of rrdtool to fully understand what you can do in a CDEF. Specifically read the 'rrdgraph_data' man page. -David From Tanya.Ruttenberg at ssa.gov Tue Oct 3 11:46:17 2006 From: Tanya.Ruttenberg at ssa.gov (Ruttenberg, Tanya) Date: Tue, 3 Oct 2006 11:46:17 -0400 Subject: [drraw-users] Begginer question: how to combine two rrd files? In-Reply-To: <262f880c0610030837h48220b24t5204d87817b07eec@mail.gmail.com> Message-ID: <5706AD7376228E458E486975B216BC0704C69063@HQ-MBX-02.ba.ad.ssa.gov> I don't off-the-bat see how this is a problem. You are going to select each file and add it as a datasource. Once you do this, you will see a list of DS's in the Data Source Configuration section. Find the 2 relevant ones and note the name in the second column. It will be a letter. Click the Del box for any data sources that are not relevant to your graph. Go to the RRA/CDEF. On either one of the datasources, you will put in the empty box something like the follow. Assume the names of each of your 2 datasources are "a" and "d". a,d,+ This should do the trick. The other guy who just replied to this is right--you need to familiarize yourself more with how rrdtool works. drraw is a great tool for helping you design graphs, but you do need some rudimentary knowledge of rrdtool to really use for more than the most basic tasks. Tanya Ruttenberg - RSIS Contractor OTSO/DNE/NMPEB tanya.ruttenberg at ssa.gov ________________________________ From: drraw-users-bounces at taranis.org [mailto:drraw-users-bounces at taranis.org] On Behalf Of Tony T. Sent: Tuesday, October 03, 2006 11:37 AM To: drraw-users at taranis.org Subject: [drraw-users] Begginer question: how to combine two rrd files? Hi all, I am using Drraw 2.1.3 to create graphs from data that is collected for Orca use on Solaris systems. Orca is good at it's own graphs but sometimes its nice to get on the fly output as well. Usually I can get simple graphs but I am at the point now where I need to do some math on the RRDs. I have not been succesful in combining output from RRD files to give me a SUM, i.e. one RRD is cpu_usr, the other is cpu_system. To get the total utilization I need to add these two together but I can't figure out how to do it. Everything I have tried in the CDEF sections has failed, probably because I am at a loss as to what needs to go where. Can anyone help me? Thanks. -------------- next part -------------- An HTML attachment was scrubbed... URL: http://web.taranis.org/pipermail/drraw-users/attachments/20061003/1afcdf1e/attachment.html From rollthebones at gmail.com Tue Oct 3 14:54:42 2006 From: rollthebones at gmail.com (Tony T.) Date: Tue, 3 Oct 2006 13:54:42 -0500 Subject: [drraw-users] Begginer question: how to combine two rrd files? In-Reply-To: <5706AD7376228E458E486975B216BC0704C69063@HQ-MBX-02.ba.ad.ssa.gov> References: <262f880c0610030837h48220b24t5204d87817b07eec@mail.gmail.com> <5706AD7376228E458E486975B216BC0704C69063@HQ-MBX-02.ba.ad.ssa.gov> Message-ID: <262f880c0610031154y2b9746cy95685fbd85f7c71c@mail.gmail.com> > > I don't off-the-bat see how this is a problem. > > You are going to select each file and add it as a datasource. Once you do > this, you will see a list of DS's in the Data Source Configuration section. > Find the 2 relevant ones and note the name in the second column. It will be > a letter. > > Click the Del box for any data sources that are not relevant to your > graph. > > > Go to the RRA/CDEF. On either one of the datasources, you will put in the > empty box something like the follow. Assume the names of each of your 2 > datasources are "a" and "d". > > a,d,+ > > This should do the trick. > > Thanks for that, what was throwing me off is I have not seen it documented anywhere on which area this should be put; I was trying the File RE:. DS: and Element and Formula dialogs and all of those produced some strange results. The other guy who just replied to this is right--you need to familiarize > yourself more with how rrdtool works. drraw is a great tool for helping you > design graphs, but you do need some rudimentary knowledge of rrdtool to > really use for more than the most basic tasks. > Thanks again, I am reading up on the rrdtool site and trying to understand all this RPN stuff...I am sure there must be a logical reason for what looks to me like a very odd way to handle logic. :) T. Tanya Ruttenberg - RSIS Contractor > OTSO/DNE/NMPEB > tanya.ruttenberg at ssa.gov > > > > ------------------------------ > *From:* drraw-users-bounces at taranis.org [mailto: > drraw-users-bounces at taranis.org] *On Behalf Of *Tony T. > *Sent:* Tuesday, October 03, 2006 11:37 AM > *To:* drraw-users at taranis.org > *Subject:* [drraw-users] Begginer question: how to combine two rrd files? > > > Hi all, > > I am using Drraw 2.1.3 to create graphs from data that is collected for > Orca use on Solaris systems. Orca is good at it's own graphs but sometimes > its nice to get on the fly output as well. Usually I can get simple graphs > but I am at the point now where I need to do some math on the RRDs. > > I have not been succesful in combining output from RRD files to give me a > SUM, i.e. one RRD is cpu_usr, the other is cpu_system. To get the total > utilization I need to add these two together but I can't figure out how to > do it. Everything I have tried in the CDEF sections has failed, probably > because I am at a loss as to what needs to go where. > > Can anyone help me? > > Thanks. > > -- ) ( ) [_]) -------------- next part -------------- An HTML attachment was scrubbed... URL: http://web.taranis.org/pipermail/drraw-users/attachments/20061003/950a9c6d/attachment.html From vitroth+ at cmu.edu Tue Oct 3 15:32:29 2006 From: vitroth+ at cmu.edu (David Nolan) Date: Tue, 3 Oct 2006 15:32:29 -0400 Subject: [drraw-users] Begginer question: how to combine two rrd files? In-Reply-To: <262f880c0610031154y2b9746cy95685fbd85f7c71c@mail.gmail.com> References: <262f880c0610030837h48220b24t5204d87817b07eec@mail.gmail.com> <5706AD7376228E458E486975B216BC0704C69063@HQ-MBX-02.ba.ad.ssa.gov> <262f880c0610031154y2b9746cy95685fbd85f7c71c@mail.gmail.com> Message-ID: <1cbe50830610031232i1dce7100we64840b2842baf58@mail.gmail.com> On 10/3/06, Tony T. wrote: > Thanks again, I am reading up on the rrdtool site and trying to understand > all this RPN stuff...I am sure there must be a logical reason for what looks > to me like a very odd way to handle logic. :) RPN, Reverse Polish Notation, is a way of expressing mathmatics that removes the need for complex grouping logic and parenthesis. From a programming point of view its a stack based language, which means that 3,4,+ is parsed as "I have a 3, I have a 4, I add my two most recent numbers". At that level it seems trivial, but a computer can parse a complex RPN expression much more easily then it can parse a complex "normal" math expression. Of course wikipedia can explain it better then I can... http://en.wikipedia.org/wiki/Reverse_Polish_notation -David From hashan.munasinghe at adelaide.edu.au Mon Oct 9 00:28:12 2006 From: hashan.munasinghe at adelaide.edu.au (Hashan Munasinghe) Date: Mon, 9 Oct 2006 13:58:12 +0930 Subject: [drraw-users] dbfinder error Message-ID: <1160368092.4529cfdc06cc5@webmail.adelaide.edu.au> Hi, I'm having problems getting drraw to work. I'm runing it on a SELinux box with rrdtool 1.2.14 installed. whenever I try to create a new grah I get this error message: ** Software error: Something is wrong in DBFinder... (/var/www/html/soc_site/cacti-0.8.6/rra) ** the directory mentioned exists and apache has all the necessasry permissions to it no idea whats going on... From kalt at taranis.org Mon Oct 9 16:51:32 2006 From: kalt at taranis.org (Christophe Kalt) Date: Mon, 9 Oct 2006 16:51:32 -0400 Subject: [drraw-users] dbfinder error In-Reply-To: <1160368092.4529cfdc06cc5@webmail.adelaide.edu.au> References: <1160368092.4529cfdc06cc5@webmail.adelaide.edu.au> Message-ID: <20061009205132.GA9836@bzz.taranis.org> Hi, On Oct 09, Hashan Munasinghe wrote: | I'm having problems getting drraw to work. I'm runing it on a SELinux box with | rrdtool 1.2.14 installed. Which version of Perl? Which version of drraw? Running in tainted mode? (-T at the top of drraw) From lindsay.whitbread at adelaide.edu.au Mon Oct 9 19:35:41 2006 From: lindsay.whitbread at adelaide.edu.au (Lindsay Whitbread) Date: Tue, 10 Oct 2006 09:05:41 +0930 Subject: [drraw-users] dbfinder error In-Reply-To: <20061009205132.GA9836@bzz.taranis.org> References: <1160368092.4529cfdc06cc5@webmail.adelaide.edu.au> <20061009205132.GA9836@bzz.taranis.org> Message-ID: <452ADCCD.4000805@adelaide.edu.au> Hi, I'm also working on the same problem as Hashan, the machine has: This is perl, v5.8.5 built for i386-linux-thread-multi Tried with tainted mode off, no good. Tried with drraw drraw-2.2a1 and drraw-2.1.3 Have disabled SELinux, no help. This is on a: Red Hat Enterprise Linux AS release 4 (Nahant Update 4) Any assistance would be appreciated. Cheers, Lindsay Christophe Kalt wrote: > Hi, > > On Oct 09, Hashan Munasinghe wrote: > | I'm having problems getting drraw to work. I'm runing it on a SELinux box with > | rrdtool 1.2.14 installed. > > Which version of Perl? > Which version of drraw? > > Running in tainted mode? (-T at the top of drraw) > _______________________________________________ > drraw-users mailing list > drraw-users at taranis.org > http://web.taranis.org/mailman/listinfo/drraw-users -- Lindsay Whitbread Senior Information Security Specialist, ITS The University of Adelaide SA 5005 Australia Tel: +61 8 8303 6206 Fax: +61 8 8303 4400 CRICOS Provider Number 00123M ----------------------------------------------------------- This email message is intended only for the addressee(s) and contains information that may be confidential and/or copyright. If you are not the intended recipient please notify the sender by reply email and immediately delete this email. Use, disclosure or reproduction of this email by anyone other than the intended recipient(s) is strictly prohibited. No representation is made that this email or any attachments are free of viruses. Virus scanning is recommended and is the responsibility of the recipient. From kalt at taranis.org Mon Oct 9 20:43:50 2006 From: kalt at taranis.org (Christophe Kalt) Date: Mon, 9 Oct 2006 20:43:50 -0400 Subject: [drraw-users] dbfinder error In-Reply-To: <452ADCCD.4000805@adelaide.edu.au> References: <1160368092.4529cfdc06cc5@webmail.adelaide.edu.au> <20061009205132.GA9836@bzz.taranis.org> <452ADCCD.4000805@adelaide.edu.au> Message-ID: <20061010004350.GA11789@bzz.taranis.org> On Oct 10, Lindsay Whitbread wrote: | I'm also working on the same problem as Hashan, the machine has: | | This is perl, v5.8.5 built for i386-linux-thread-multi | Tried with tainted mode off, no good. Ugh, | Tried with drraw drraw-2.2a1 and drraw-2.1.3 Okay, try to apply the attached diff to 2.2a1 and see if it helps. Also, add the following line: warn "DBFinder called for $_ which does not match any of \%datadirs: ". join(", ", keys(%datadirs)) ."\n"; before: die "Something is wrong in DBFinder... (". $File::Find::dir .")\n"; This will allow a more verbose message to STDERR which should end up in the apache error logfile. Let me know what nugget you find in there. From msmit006 at cs.fiu.edu Thu Nov 16 15:14:20 2006 From: msmit006 at cs.fiu.edu (michael) Date: Thu, 16 Nov 2006 15:14:20 -0500 Subject: [drraw-users] Y-axis values are off Message-ID: <455CC69C.5090406@cs.fiu.edu> Greetings, I am very impressed and would very much like to use this tool to make customized graphs. I have been testing it with .rrd files generated with cricket. When I compare the Drraw graphs to the cricket graphs the y-axis values are drastically off. For example: Cricket displays the MAX(correctly) as 566.77 mb with Drraw its ~75 mb Again, both graphs I mentioned were generated from the same .rrd file. Any suggestions would be appreciated. Michael E. Smith Network Engineer Florida International University From kalt at taranis.org Thu Nov 16 17:05:23 2006 From: kalt at taranis.org (Christophe Kalt) Date: Thu, 16 Nov 2006 17:05:23 -0500 Subject: [drraw-users] Y-axis values are off In-Reply-To: <455CC69C.5090406@cs.fiu.edu> References: <455CC69C.5090406@cs.fiu.edu> Message-ID: <20061116220523.GA16952@bzz.taranis.org> Hi! On Nov 16, michael wrote: | I am very impressed and would very much like to use this tool to make | customized graphs. And we'd like you to become a user :-) | I have been testing it with .rrd files generated with cricket. | | When I compare the Drraw graphs to the cricket graphs the y-axis values | are drastically off. For example: | | Cricket displays the MAX(correctly) as 566.77 mb | with Drraw its ~75 mb | | Again, both graphs I mentioned were generated from the same .rrd file. Are you able to tell exactly how cricket generated the graph? | Any suggestions would be appreciated. Well, assuming the values above are not exact values (~75 :), then it's off by a factor of 7.55 which is awfully close to 8, which could well be a bits -> bytes conversion issue. Try and find out whether the data in your RRD files is in bytes or bits, i'm guessing it's in bytes, and Cricket converts is to bits as is the usage for network bandwidth data. You will also want to pay attention to the "Base" setting the "Graph Options". Hope this helps! From msmit006 at cs.fiu.edu Thu Nov 16 19:27:11 2006 From: msmit006 at cs.fiu.edu (michael) Date: Thu, 16 Nov 2006 19:27:11 -0500 Subject: [drraw-users] Y-axis values are off In-Reply-To: <20061116220523.GA16952@bzz.taranis.org> References: <455CC69C.5090406@cs.fiu.edu> <20061116220523.GA16952@bzz.taranis.org> Message-ID: <455D01DF.6010900@cs.fiu.edu> Thanks for your response Christophe, it appears cricket is collecting the data just as you suspected. I would like to be able to create graphs from cricket's rrds, so I do not want to alter the way cricket collects data. How can I display this data correctly with drraw? Christophe Kalt wrote: > Hi! > > On Nov 16, michael wrote: > | I am very impressed and would very much like to use this tool to make > | customized graphs. > > And we'd like you to become a user :-) > > | I have been testing it with .rrd files generated with cricket. > | > | When I compare the Drraw graphs to the cricket graphs the y-axis values > | are drastically off. For example: > | > | Cricket displays the MAX(correctly) as 566.77 mb > | with Drraw its ~75 mb > | > | Again, both graphs I mentioned were generated from the same .rrd file. > > Are you able to tell exactly how cricket generated the graph? > > | Any suggestions would be appreciated. > > Well, assuming the values above are not exact values (~75 :), > then it's off by a factor of 7.55 which is awfully close to 8, > which could well be a bits -> bytes conversion issue. > > Try and find out whether the data in your RRD files is in > bytes or bits, i'm guessing it's in bytes, and Cricket > converts is to bits as is the usage for network bandwidth > data. > You will also want to pay attention to the "Base" setting the > "Graph Options". > > Hope this helps! From msmit006 at cs.fiu.edu Thu Nov 16 19:46:08 2006 From: msmit006 at cs.fiu.edu (michael) Date: Thu, 16 Nov 2006 19:46:08 -0500 Subject: [drraw-users] Y-axis values are off In-Reply-To: <20061116220523.GA16952@bzz.taranis.org> References: <455CC69C.5090406@cs.fiu.edu> <20061116220523.GA16952@bzz.taranis.org> Message-ID: <455D0650.2000706@cs.fiu.edu> Nevermind Sir, it seems I have figured it out I added: '$,8,*' in the CDEF fields. Thanks again. Christophe Kalt wrote: > Hi! > > On Nov 16, michael wrote: > | I am very impressed and would very much like to use this tool to make > | customized graphs. > > And we'd like you to become a user :-) > > | I have been testing it with .rrd files generated with cricket. > | > | When I compare the Drraw graphs to the cricket graphs the y-axis values > | are drastically off. For example: > | > | Cricket displays the MAX(correctly) as 566.77 mb > | with Drraw its ~75 mb > | > | Again, both graphs I mentioned were generated from the same .rrd file. > > Are you able to tell exactly how cricket generated the graph? > > | Any suggestions would be appreciated. > > Well, assuming the values above are not exact values (~75 :), > then it's off by a factor of 7.55 which is awfully close to 8, > which could well be a bits -> bytes conversion issue. > > Try and find out whether the data in your RRD files is in > bytes or bits, i'm guessing it's in bytes, and Cricket > converts is to bits as is the usage for network bandwidth > data. > You will also want to pay attention to the "Base" setting the > "Graph Options". > > Hope this helps! From kalt at taranis.org Thu Nov 16 19:56:41 2006 From: kalt at taranis.org (Christophe Kalt) Date: Thu, 16 Nov 2006 19:56:41 -0500 Subject: [drraw-users] Y-axis values are off In-Reply-To: <455D0650.2000706@cs.fiu.edu> References: <455CC69C.5090406@cs.fiu.edu> <20061116220523.GA16952@bzz.taranis.org> <455D0650.2000706@cs.fiu.edu> Message-ID: <20061117005641.GA18747@bzz.taranis.org> On Nov 16, michael wrote: | Nevermind Sir, it seems I have figured it out I added: | '$,8,*' | | in the CDEF fields. Indeed, that's the way to go :-) From ericslaw at gmail.com Mon Dec 18 18:18:49 2006 From: ericslaw at gmail.com (Eric Law) Date: Mon, 18 Dec 2006 18:18:49 -0500 Subject: [drraw-users] Trying to create a Grouped Dashboard with Templates Style Regex Message-ID: I'm trying to display a template in a grouped dashboard. The aim is to end up with two column output.... by 'grouping' the dashboard graphs by name that is extracted via RegEx. It should look something like this: Dashboard: Template with regex 'foo' Template with regex 'bar' but with rowname 'nut' Template with regex 'foo' Template with regex 'bar' but with rowname 'nut2' Template with regex 'foo' Template with regex 'bar' but with rowname 'nut3' Template with regex 'foo' Template with regex 'bar' but with rowname 'nut4' Template with regex 'foo' Template with regex 'bar' but with rowname 'nut5' Template with regex 'foo' Template with regex 'bar' but with rowname 'nut6' Template with regex 'foo' Template with regex 'bar' but with rowname 'nut7' Template with regex 'foo' Template with regex 'bar' but with rowname 'nut8' Template with regex 'foo' Template with regex 'bar' but with rowname 'nut9' I thought it intuitive that I simply apply the template with different RegExs and extract the rownames from each... but that isn't working. I have found that to get muliple columns, one needs to use the template element on the dashboard multiple times. (otherwise multiple hits on the same rowname only show the first item). Now that I have two elements in the dashboard, the selection criteria for the templates is resulting in multiple hits for the same row (I'm placing the rowname in the output so 'view page source' can show me the results). But no graphs appear. I would think that having a Template of Style Regex (how is Template Base used?) with a custom Row Name regex would do the trick, but it isn't. The problem I seem to be having is understanding the selection criteria. I want the first row to be items found in the dashboard that match the regex of the first template. The second column would contain the same template applied with a different RegEx. Any insights? Eric Law From vitroth+ at cmu.edu Mon Dec 18 20:54:10 2006 From: vitroth+ at cmu.edu (David Nolan) Date: Mon, 18 Dec 2006 20:54:10 -0500 Subject: [drraw-users] Trying to create a Grouped Dashboard with Templates Style Regex In-Reply-To: References: Message-ID: <1cbe50830612181754h7860f270rf194d298a7adff7@mail.gmail.com> On 12/18/06, Eric Law wrote: > I'm trying to display a template in a grouped dashboard. > The aim is to end up with two column output.... by 'grouping' the > dashboard graphs by name that is extracted via RegEx. Eric, Can you provide a more detailed example? Without a real example its hard to debug this. I can't speak for anyone else, but I would think that to debug this we need to see: >From the templates: Base Regular Expression Selection Regular Expression A few example file names that match the Base Regular Expression >From the dashboard: The Template Base & Row Name from both your template entries If you feel the need to anonymize your file names that fine, but we need to see the ways you're doing the regexp/row binding to help you understand whats happening. -David From ericslaw at gmail.com Mon Dec 18 21:29:48 2006 From: ericslaw at gmail.com (Eric Law) Date: Mon, 18 Dec 2006 21:29:48 -0500 Subject: [drraw-users] Trying to create a Grouped Dashboard with Templates Style Regex In-Reply-To: <1cbe50830612181754h7860f270rf194d298a7adff7@mail.gmail.com> References: <1cbe50830612181754h7860f270rf194d298a7adff7@mail.gmail.com> Message-ID: David, Thanks for the quick response! I've stumbled upon how to use the Template Base field more properly (details below), but I am still prompted for the 'View' when I click on the dashboard. Also, is there a wiki or somesuch where we can put some 'recipes' ? It seems that using this tool is still a bit of hit-n-miss to find all the work-arounds and I'll have to learn and document them anyway.... Has anyone tinkered with the many javascript toolkits to make this more drag-n-drop? Details below: RRDfiles: I have somewhere around 80 RRD files with multiple datasources. Most are stored in subdirs based on application function and datacenter. >From Template1: Base Regular Expression: bycolo.(.*).pool Selection Regular Expression: $1 Examples: pools/pool-bycolo/datacenter1-admin/pool.rrd pools/pool-bycolo/datacenter1-search/pool.rrd pools/pool-bycolo/datacenter2-user/pool.rrd pools/pool-bycolo/datacenter2-catalog/pool.rrd I have about 80 of these Dashboard: [1st template] Template/Available Template Selections: Template1 Selection: datacenter1-admin *note: this doesn't seem to be used, but helps determine what your regex's are matched against? Template Style: Regex Template Base: (datacenter1.*) *note: trying to filter on just the first datacenter Row Name: ^datacenter.-(.*) *note: trying to extract just the functional pool name for each row [2nd template] Template/Available Template Selections: Template1 Selection: datacenter1-admin Template Style: Regex Template Base: (datacenter2.*) *note: trying to filter on just the second datacenter Row Name: ^datacenter.-(.*) This seems to achieve the proper result (I was placing parenthesis elsewhere for the Template Base when I sent the email). However, when I select this 'dashboard', it prompts me to select something, but the choice is only '1'. Is that the 'filter' for the dashboard? I'm not sure why the dashboard is asking for feedback when I view it. On 12/18/06, David wrote: > On 12/18/06, Eric Law wrote: > > I'm trying to display a template in a grouped dashboard. > > The aim is to end up with two column output.... by 'grouping' the > > dashboard graphs by name that is extracted via RegEx. > > > Eric, > > Can you provide a more detailed example? Without a real example its > hard to debug this. I can't speak for anyone else, but I would think > that to debug this we need to see: > > > >From the templates: > Base Regular Expression > Selection Regular Expression > A few example file names that match the Base Regular Expression > > >From the dashboard: > The Template Base & Row Name from both your template entries > > > If you feel the need to anonymize your file names that fine, but we > need to see the ways you're doing the regexp/row binding to help you > understand whats happening. > > -David > _______________________________________________ > drraw-users mailing list > drraw-users at taranis.org > http://web.taranis.org/mailman/listinfo/drraw-users > From vitroth+ at cmu.edu Mon Dec 18 22:52:41 2006 From: vitroth+ at cmu.edu (David Nolan) Date: Mon, 18 Dec 2006 22:52:41 -0500 Subject: [drraw-users] Trying to create a Grouped Dashboard with Templates Style Regex In-Reply-To: References: <1cbe50830612181754h7860f270rf194d298a7adff7@mail.gmail.com> Message-ID: <1cbe50830612181952t1bd71d3eh91249fe827028db3@mail.gmail.com> On 12/18/06, Eric Law wrote: > David, > Thanks for the quick response! > > I've stumbled upon how to use the Template Base field more properly > (details below), > but I am still prompted for the 'View' when I click on the dashboard. > It will always provide the time period and filter boxes at the top of the page, but should be displaying graphs below those fields if its working correctly... > Also, is there a wiki or somesuch where we can put some 'recipes' ? > It seems that using this tool is still a bit of hit-n-miss to find all > the work-arounds > and I'll have to learn and document them anyway.... I don't believe there is one now, but I'll second that idea.... > >From Template1: > Base Regular Expression: bycolo.(.*).pool > Selection Regular Expression: $1 > Examples: > pools/pool-bycolo/datacenter1-admin/pool.rrd > pools/pool-bycolo/datacenter1-search/pool.rrd > pools/pool-bycolo/datacenter2-user/pool.rrd > pools/pool-bycolo/datacenter2-catalog/pool.rrd > I have about 80 of these > That looks good so far, I'll assume the templates themselves work. > Dashboard: > [1st template] > Template/Available Template Selections: Template1 > Selection: datacenter1-admin > *note: this doesn't seem to be used, > but helps determine what your regex's are matched against? Correct, this field is shown merely as an aid to building the dashboard. > Template Style: Regex > Template Base: (datacenter1.*) > *note: trying to filter on just the first datacenter > Row Name: ^datacenter.-(.*) > *note: trying to extract just the functional pool name for each row I don't think you need any parenthesis on the Template Base, as subpatterns from this match are not used anywhere. I wonder if your problem is the ^ in your Row Name, since the selection you're matching against is already a partial file name from the template match. Without looking at the code I could believe that drraw is actually assembling a single regexp, not running one match then a second match, which would mean you're putting a ^ in the middle of a regexp. Try just: datacenter.-(.*) > However, when I select this 'dashboard', it prompts me to select something, > but the choice is only '1'. Is that the 'filter' for the dashboard? > I'm not sure why the dashboard is asking for feedback when I view it. > That seems more like what a Standard dashboard does, instead of a grouped dashboard. You didn't change the type by accident did you? -David From ericslaw at gmail.com Tue Dec 19 11:01:57 2006 From: ericslaw at gmail.com (Eric Law) Date: Tue, 19 Dec 2006 11:01:57 -0500 Subject: [drraw-users] Trying to create a Grouped Dashboard with Templates Style Regex In-Reply-To: <1cbe50830612181952t1bd71d3eh91249fe827028db3@mail.gmail.com> References: <1cbe50830612181754h7860f270rf194d298a7adff7@mail.gmail.com> <1cbe50830612181952t1bd71d3eh91249fe827028db3@mail.gmail.com> Message-ID: On 12/18/06, David wrote: > On 12/18/06, Eric Law wrote: > > David, > > Thanks for the quick response! > > > > I've stumbled upon how to use the Template Base field more properly > > (details below), > > but I am still prompted for the 'View' when I click on the dashboard. > > > > It will always provide the time period and filter boxes at the top of > the page, but should be displaying graphs below those fields if its > working correctly... > The 'View' form appears before the normal display of the dashboard. Hovering over the time periods shows that I could add fields to the URL in hopes of satisfying the form. I tried View=1, but it didn't work. I tried Base=1 and it worked. > > > Also, is there a wiki or somesuch where we can put some 'recipes' ? > > It seems that using this tool is still a bit of hit-n-miss to find all > > the work-arounds > > and I'll have to learn and document them anyway.... > > I don't believe there is one now, but I'll second that idea.... > Wonder what the top 5 questions are for a FAQ or cookbook might be. My multicolumn dashboard was not the first mistake I've made. I would also include tips on how to insure documenting the cases in which the RRD file being displayed on the graph does and does not show up in the graph title. (I still dont know the answer there... but have some templates that show it, and others that dont). > > > > >From Template1: > > Base Regular Expression: bycolo.(.*).pool > > Selection Regular Expression: $1 > > Examples: > > pools/pool-bycolo/datacenter1-admin/pool.rrd > > pools/pool-bycolo/datacenter1-search/pool.rrd > > pools/pool-bycolo/datacenter2-user/pool.rrd > > pools/pool-bycolo/datacenter2-catalog/pool.rrd > > I have about 80 of these > > > > That looks good so far, I'll assume the templates themselves work. > > > Dashboard: > > [1st template] > > Template/Available Template Selections: Template1 > > Selection: datacenter1-admin > > *note: this doesn't seem to be used, > > but helps determine what your regex's are matched against? > > Correct, this field is shown merely as an aid to building the dashboard. > > > Template Style: Regex > > Template Base: (datacenter1.*) > > *note: trying to filter on just the first datacenter > > Row Name: ^datacenter.-(.*) > > *note: trying to extract just the functional pool name for each row > > I don't think you need any parenthesis on the Template Base, as > subpatterns from this match are not used anywhere. > Hmmmm I wonder if having that subexpression parenthesis is causing it to think that the user must pick a base for the dashboard? > > I wonder if your problem is the ^ in your Row Name, since the > selection you're matching against is already a partial file name from > the template match. Without looking at the code I could believe that > drraw is actually assembling a single regexp, not running one match > then a second match, which would mean you're putting a ^ in the middle > of a regexp. Try just: datacenter.-(.*) > The anchor '^' appears to be operating on the selection, not the entire RRD file. The dashboard works well with it there. This was another guess I was taking. > > > However, when I select this 'dashboard', it prompts me to select something, > > but the choice is only '1'. Is that the 'filter' for the dashboard? > > I'm not sure why the dashboard is asking for feedback when I view it. > > > > That seems more like what a Standard dashboard does, instead of a > grouped dashboard. You didn't change the type by accident did you? > I've noticed that the form sometimes switches between Groups and Standard, but checking the latest config, it's still set to Grouped. > -David > _______________________________________________ > drraw-users mailing list > drraw-users at taranis.org > http://web.taranis.org/mailman/listinfo/drraw-users > From kalt at taranis.org Tue Dec 19 13:59:08 2006 From: kalt at taranis.org (Christophe Kalt) Date: Tue, 19 Dec 2006 13:59:08 -0500 Subject: [drraw-users] Trying to create a Grouped Dashboard with Templates Style Regex In-Reply-To: References: <1cbe50830612181754h7860f270rf194d298a7adff7@mail.gmail.com> Message-ID: <20061219185908.GA17260@bzz.taranis.org> On Dec 18, Eric Law wrote: | I've stumbled upon how to use the Template Base field more properly | (details below), | but I am still prompted for the 'View' when I click on the dashboard. That's a bit odd since you have no "Base" "Template Style". Although i'd have to check the code to be sure, the help page also seems to indicate that only "standard" dashboards should allow for views (with base template styles), and you should be using a "grouped" dashboard given what i think you're trying to do. | Has anyone tinkered with the many javascript toolkits to make this | more drag-n-drop? I'm the only one to have played with javascript, and i've kept it minimal in part to make sure that people who don't enable javascript can still use drraw, although i suspect this isn't something i should care about. However, javascript enhancements come after real feature enhancements, and i'm already struggling to find time for these... | Details below: | | RRDfiles: | I have somewhere around 80 RRD files with multiple datasources. | Most are stored in subdirs based on application function and datacenter. | | >From Template1: | Base Regular Expression: bycolo.(.*).pool | Selection Regular Expression: $1 | Examples: | pools/pool-bycolo/datacenter1-admin/pool.rrd | pools/pool-bycolo/datacenter1-search/pool.rrd | pools/pool-bycolo/datacenter2-user/pool.rrd | pools/pool-bycolo/datacenter2-catalog/pool.rrd | I have about 80 of these | | Dashboard: | [1st template] | Template/Available Template Selections: Template1 | Selection: datacenter1-admin | *note: this doesn't seem to be used, | but helps determine what your regex's are matched against? Right, as per the help page ;) | Template Style: Regex | Template Base: (datacenter1.*) | *note: trying to filter on just the first datacenter ok. | Row Name: ^datacenter.-(.*) | *note: trying to extract just the functional pool name for each row ok. | [2nd template] | Template/Available Template Selections: Template1 | Selection: datacenter1-admin | Template Style: Regex | Template Base: (datacenter2.*) | *note: trying to filter on just the second datacenter | Row Name: ^datacenter.-(.*) | | This seems to achieve the proper result | (I was placing parenthesis elsewhere for the Template Base when I sent | the email). Yup, it seems alright. | However, when I select this 'dashboard', it prompts me to select something, | but the choice is only '1'. Is that the 'filter' for the dashboard? | I'm not sure why the dashboard is asking for feedback when I view it. Try and remove the parentheses from the "Template Base" regexps and let me know if that fixes the problem. Christophe From ericslaw at gmail.com Tue Dec 19 14:14:16 2006 From: ericslaw at gmail.com (Eric Law) Date: Tue, 19 Dec 2006 14:14:16 -0500 Subject: [drraw-users] Trying to create a Grouped Dashboard with Templates Style Regex In-Reply-To: <20061219185908.GA17260@bzz.taranis.org> References: <1cbe50830612181754h7860f270rf194d298a7adff7@mail.gmail.com> <20061219185908.GA17260@bzz.taranis.org> Message-ID: removing parenthesis from Template Base regex doesn't cause the initial form to go away. I'll try to poke around with it some more this week and see where I can get. What are the feature requests? do you have a prioritized list? On 12/19/06, Christophe Kalt wrote: > On Dec 18, Eric Law wrote: > | I've stumbled upon how to use the Template Base field more properly > | (details below), > | but I am still prompted for the 'View' when I click on the dashboard. > > That's a bit odd since you have no "Base" "Template Style". > Although i'd have to check the code to be sure, the help page > also seems to indicate that only "standard" dashboards should > allow for views (with base template styles), and you should be > using a "grouped" dashboard given what i think you're trying > to do. > > | Has anyone tinkered with the many javascript toolkits to make this > | more drag-n-drop? > > I'm the only one to have played with javascript, and i've kept > it minimal in part to make sure that people who don't enable > javascript can still use drraw, although i suspect this isn't > something i should care about. > However, javascript enhancements come after real feature > enhancements, and i'm already struggling to find time for > these... > > | Details below: > | > | RRDfiles: > | I have somewhere around 80 RRD files with multiple datasources. > | Most are stored in subdirs based on application function and datacenter. > | > | >From Template1: > | Base Regular Expression: bycolo.(.*).pool > | Selection Regular Expression: $1 > | Examples: > | pools/pool-bycolo/datacenter1-admin/pool.rrd > | pools/pool-bycolo/datacenter1-search/pool.rrd > | pools/pool-bycolo/datacenter2-user/pool.rrd > | pools/pool-bycolo/datacenter2-catalog/pool.rrd > | I have about 80 of these > | > | Dashboard: > | [1st template] > | Template/Available Template Selections: Template1 > | Selection: datacenter1-admin > | *note: this doesn't seem to be used, > | but helps determine what your regex's are matched against? > > Right, as per the help page ;) > > | Template Style: Regex > | Template Base: (datacenter1.*) > | *note: trying to filter on just the first datacenter > > ok. > > | Row Name: ^datacenter.-(.*) > | *note: trying to extract just the functional pool name for each row > > ok. > > | [2nd template] > | Template/Available Template Selections: Template1 > | Selection: datacenter1-admin > | Template Style: Regex > | Template Base: (datacenter2.*) > | *note: trying to filter on just the second datacenter > | Row Name: ^datacenter.-(.*) > | > | This seems to achieve the proper result > | (I was placing parenthesis elsewhere for the Template Base when I sent > | the email). > > Yup, it seems alright. > > | However, when I select this 'dashboard', it prompts me to select something, > | but the choice is only '1'. Is that the 'filter' for the dashboard? > | I'm not sure why the dashboard is asking for feedback when I view it. > > Try and remove the parentheses from the "Template Base" > regexps and let me know if that fixes the problem. > > Christophe > _______________________________________________ > drraw-users mailing list > drraw-users at taranis.org > http://web.taranis.org/mailman/listinfo/drraw-users > From kalt at taranis.org Tue Dec 19 14:14:28 2006 From: kalt at taranis.org (Christophe Kalt) Date: Tue, 19 Dec 2006 14:14:28 -0500 Subject: [drraw-users] documentation, FAQ, wiki.. (Was: Trying to create a Grouped Dashboard with Templates Style Regex) In-Reply-To: References: <1cbe50830612181754h7860f270rf194d298a7adff7@mail.gmail.com> <1cbe50830612181952t1bd71d3eh91249fe827028db3@mail.gmail.com> Message-ID: <20061219191428.GB17260@bzz.taranis.org> On Dec 19, Eric Law wrote: | On 12/18/06, David wrote: | > On 12/18/06, Eric Law wrote: | > > Also, is there a wiki or somesuch where we can put some 'recipes' ? | > > It seems that using this tool is still a bit of hit-n-miss to find all | > > the work-arounds work-around implies bugs. i'd rather fix these, than document workarounds :-) | > > and I'll have to learn and document them anyway.... | > | > I don't believe there is one now, but I'll second that idea.... | > | | Wonder what the top 5 questions are for a FAQ or cookbook might be. Wondered this myself for a while, you can see from the drraw-users archive how little traffic we get, and i've not seen clear winners for a "top 5". I do get some private mail, but it's pretty infrequent as well. | My multicolumn dashboard was not the first mistake I've made. | I would also include tips on how to insure documenting the cases in | which the RRD file being displayed on the graph does and does not show | up in the graph title. | (I still dont know the answer there... but have some templates that | show it, and others that dont). Templates should display it, Graphs clearly should not. i seem to remember noticing it missing on occasion, but right now, i can't find any such instance in our installation. I'm not a big fan of wiki's or other similar solutions like faq-o-matic, they still take dedication to keep clean and maintain, although they do make it easy/easier for anyone to write up something and immediately post it and see the result. Every now and then, someone like you comes along, and (rightly) complains about the documentation. My answer's always the same: i invite and encourage you to send me updates. i also always point out that you're in a great position to make improvements, as you're still new to drraw and things obvious to us still puzzle you to our amazement ;) i don't remember ever getting help with the documentation. Christophe From kalt at taranis.org Tue Dec 19 14:17:26 2006 From: kalt at taranis.org (Christophe Kalt) Date: Tue, 19 Dec 2006 14:17:26 -0500 Subject: [drraw-users] Trying to create a Grouped Dashboard with Templates Style Regex In-Reply-To: References: <1cbe50830612181754h7860f270rf194d298a7adff7@mail.gmail.com> <20061219185908.GA17260@bzz.taranis.org> Message-ID: <20061219191726.GC17260@bzz.taranis.org> On Dec 19, Eric Law wrote: | removing parenthesis from Template Base regex doesn't cause the | initial form to go away. | | I'll try to poke around with it some more this week and see where I can get. Cool, i'm happy to help with this, let me know if you need anything. (And good luck, you're about to discover how awful the code is :-) From ericslaw at gmail.com Tue Dec 19 14:19:15 2006 From: ericslaw at gmail.com (Eric Law) Date: Tue, 19 Dec 2006 14:19:15 -0500 Subject: [drraw-users] documentation, FAQ, wiki.. (Was: Trying to create a Grouped Dashboard with Templates Style Regex) In-Reply-To: <20061219191428.GB17260@bzz.taranis.org> References: <1cbe50830612181754h7860f270rf194d298a7adff7@mail.gmail.com> <1cbe50830612181952t1bd71d3eh91249fe827028db3@mail.gmail.com> <20061219191428.GB17260@bzz.taranis.org> Message-ID: I'll try to make note of the 'mis-conceptions' I come across and any difficulties I encounter. Let it be known, however, that no other tool allows me to construct dashboards with the power of drraw.cgi. Most work in this arena favors simplifying your options (thus limiting what you can do) versus actually making it easier to create dashboards. Drraw.cgi is not so simple I can put it in front of customers, but it's leagues beyond what I have in any other case (which is lots of custom stuff on top or next to cricket). On 12/19/06, Christophe Kalt wrote: > On Dec 19, Eric Law wrote: > | On 12/18/06, David wrote: > | > On 12/18/06, Eric Law wrote: > | > > Also, is there a wiki or somesuch where we can put some 'recipes' ? > | > > It seems that using this tool is still a bit of hit-n-miss to find all > | > > the work-arounds > > work-around implies bugs. > i'd rather fix these, than document workarounds :-) > > | > > and I'll have to learn and document them anyway.... > | > > | > I don't believe there is one now, but I'll second that idea.... > | > > | > | Wonder what the top 5 questions are for a FAQ or cookbook might be. > > Wondered this myself for a while, you can see from the > drraw-users archive how little traffic we get, and i've not > seen clear winners for a "top 5". > I do get some private mail, but it's pretty infrequent as > well. > > | My multicolumn dashboard was not the first mistake I've made. > | I would also include tips on how to insure documenting the cases in > | which the RRD file being displayed on the graph does and does not show > | up in the graph title. > | (I still dont know the answer there... but have some templates that > | show it, and others that dont). > > Templates should display it, Graphs clearly should not. > i seem to remember noticing it missing on occasion, but right > now, i can't find any such instance in our installation. > > > I'm not a big fan of wiki's or other similar solutions like > faq-o-matic, they still take dedication to keep clean and > maintain, although they do make it easy/easier for anyone to > write up something and immediately post it and see the result. > > Every now and then, someone like you comes along, and > (rightly) complains about the documentation. My answer's > always the same: i invite and encourage you to send me > updates. i also always point out that you're in a great > position to make improvements, as you're still new to drraw > and things obvious to us still puzzle you to our amazement ;) > > i don't remember ever getting help with the documentation. > > Christophe > _______________________________________________ > drraw-users mailing list > drraw-users at taranis.org > http://web.taranis.org/mailman/listinfo/drraw-users > From kalt at taranis.org Tue Dec 19 14:26:51 2006 From: kalt at taranis.org (Christophe Kalt) Date: Tue, 19 Dec 2006 14:26:51 -0500 Subject: [drraw-users] documentation, FAQ, wiki.. (Was: Trying to create a Grouped Dashboard with Templates Style Regex) In-Reply-To: References: <1cbe50830612181754h7860f270rf194d298a7adff7@mail.gmail.com> <1cbe50830612181952t1bd71d3eh91249fe827028db3@mail.gmail.com> <20061219191428.GB17260@bzz.taranis.org> Message-ID: <20061219192651.GD17260@bzz.taranis.org> On Dec 19, Eric Law wrote: | I'll try to make note of the 'mis-conceptions' I come across and any | difficulties I encounter. That'd be very useful :-) | Let it be known, however, that no other tool allows me to construct | dashboards with the power of drraw.cgi. Most work in this arena | favors simplifying your options (thus limiting what you can do) versus | actually making it easier to create dashboards. It's always good to hear. I haven't looked at anything else since i started working on drraw, 4 years ago, so i have no real idea what's out there these days. | Drraw.cgi is not so simple I can put it in front of customers, but | it's leagues beyond what I have in any other case (which is lots of | custom stuff on top or next to cricket). Should be simple enough to show already-made graphs, templates and dashboards, no? Definitely not simple when it comes to editing any of the above. RRDtool knowledge is a must, knowledge of the data you have and how it's spread in the RRD files is also quite useful. Dashboards are overly complex, but as you hinted above, i'm not sure much can be done about this (except better documentation) without limiting what can be done. It's been a while since i've done any real editing work with drraw, and *i* have forgotten how things work. I had to read the doc to answer your earlier posts. (But then again, that's always why i write docs, to have the luxury to forget!) Granted, it's much easier for me to make sense of things, and remember than it is for a newcomer :-) From ericslaw at gmail.com Tue Dec 19 14:38:11 2006 From: ericslaw at gmail.com (Eric Law) Date: Tue, 19 Dec 2006 14:38:11 -0500 Subject: [drraw-users] documentation, FAQ, wiki.. (Was: Trying to create a Grouped Dashboard with Templates Style Regex) In-Reply-To: <20061219192651.GD17260@bzz.taranis.org> References: <1cbe50830612181754h7860f270rf194d298a7adff7@mail.gmail.com> <1cbe50830612181952t1bd71d3eh91249fe827028db3@mail.gmail.com> <20061219191428.GB17260@bzz.taranis.org> <20061219192651.GD17260@bzz.taranis.org> Message-ID: Good enough for display purposes yes.... but my job is to provide the tools to the customer so they can make their own dashboards. Thus far, I've been able to use drraw to provide the odd-ball cases they are asking for without having to modify code or hard-code HTML (like most of the more technical of my customers already do... now if they would just use proper APIs instead of deep linking to TEMP data!). Agreed RRD knowledge is a must (we usually WANT access to RPN after all). Examples of features in drraw that other tools lack: re-sort the order of datasources display min/max/ave in the legend auto-include the 'source' of the data in the graph title select mutiple targets (RRD files) via regex (or all), rather than manually add them. expose RAW RPN functions to the user (for calculating ratios for example) It might be nice to have 'canned' week-over-week functionality, but it likely doable via some kind of recipe. I've come across use of a TREND feature in RRDTool too, so that would be nice to expose (might only be development or beta or somesuch). Folks where I work would love to see some kind of holt+winters forecasting too, but it's a real bear to modify the RRDs to support those. But that has little to do with drraw (unless you have Holt+Winters RRAs within your RRDs.... which I dont). Integration with cricket datasource names would be nice too... right now everything is 'ds0,ds1,ds2', so I have to manually map them. On 12/19/06, Christophe Kalt wrote: > On Dec 19, Eric Law wrote: > | I'll try to make note of the 'mis-conceptions' I come across and any > | difficulties I encounter. > > That'd be very useful :-) > > | Let it be known, however, that no other tool allows me to construct > | dashboards with the power of drraw.cgi. Most work in this arena > | favors simplifying your options (thus limiting what you can do) versus > | actually making it easier to create dashboards. > > It's always good to hear. I haven't looked at anything else > since i started working on drraw, 4 years ago, so i have no > real idea what's out there these days. > > | Drraw.cgi is not so simple I can put it in front of customers, but > | it's leagues beyond what I have in any other case (which is lots of > | custom stuff on top or next to cricket). > > Should be simple enough to show already-made graphs, templates > and dashboards, no? > Definitely not simple when it comes to editing any of the > above. RRDtool knowledge is a must, knowledge of the data you > have and how it's spread in the RRD files is also quite > useful. Dashboards are overly complex, but as you hinted > above, i'm not sure much can be done about this (except better > documentation) without limiting what can be done. > It's been a while since i've done any real editing work with > drraw, and *i* have forgotten how things work. I had to read > the doc to answer your earlier posts. (But then again, that's > always why i write docs, to have the luxury to forget!) > Granted, it's much easier for me to make sense of things, and > remember than it is for a newcomer :-) > _______________________________________________ > drraw-users mailing list > drraw-users at taranis.org > http://web.taranis.org/mailman/listinfo/drraw-users > From vitroth+ at cmu.edu Wed Dec 20 08:51:43 2006 From: vitroth+ at cmu.edu (David Nolan) Date: Wed, 20 Dec 2006 08:51:43 -0500 Subject: [drraw-users] documentation, FAQ, wiki.. (Was: Trying to create a Grouped Dashboard with Templates Style Regex) In-Reply-To: References: <1cbe50830612181754h7860f270rf194d298a7adff7@mail.gmail.com> <1cbe50830612181952t1bd71d3eh91249fe827028db3@mail.gmail.com> <20061219191428.GB17260@bzz.taranis.org> Message-ID: <1cbe50830612200551l4e2a1861pd090b1fceadfae0c@mail.gmail.com> On 12/19/06, Eric Law wrote: > Let it be known, however, that no other tool allows me to construct > dashboards with the power of drraw.cgi. Most work in this arena > favors simplifying your options (thus limiting what you can do) versus > actually making it easier to create dashboards. > I absolutely agree with this. At LISA earlier this month there was an rrdtool BOF (Hosted by Tobias Oetiker himself...) and I mentioned how much I love drraw... When most of the room hadn't heard of it I hooked my laptop to the projector and put up this graph: http://stats.net.cmu.edu/cgi-bin/drraw/drraw.cgi?Mode=view;Graph=1105738323.7408 Everyone was amazed by the complexity of the graph. Then I told them that the graph is maintained by our network engineers, not me, and they liked it even more. > Drraw.cgi is not so simple I can put it in front of customers, but > it's leagues beyond what I have in any other case (which is lots of > custom stuff on top or next to cricket). Can you provide some use case scenarios for what sorts of graphs your customers need to be able to create? Do they need to define their own templates, or just their own dashboards using templates you provide? -David From vitroth+ at cmu.edu Wed Dec 20 08:59:30 2006 From: vitroth+ at cmu.edu (David Nolan) Date: Wed, 20 Dec 2006 08:59:30 -0500 Subject: [drraw-users] documentation, FAQ, wiki.. (Was: Trying to create a Grouped Dashboard with Templates Style Regex) In-Reply-To: <20061219191428.GB17260@bzz.taranis.org> References: <1cbe50830612181754h7860f270rf194d298a7adff7@mail.gmail.com> <1cbe50830612181952t1bd71d3eh91249fe827028db3@mail.gmail.com> <20061219191428.GB17260@bzz.taranis.org> Message-ID: <1cbe50830612200559h704cf222qa13c563b5dd65e7d@mail.gmail.com> On 12/19/06, Christophe Kalt wrote: > I'm not a big fan of wiki's or other similar solutions like > faq-o-matic, they still take dedication to keep clean and > maintain, although they do make it easy/easier for anyone to > write up something and immediately post it and see the result. > > Every now and then, someone like you comes along, and > (rightly) complains about the documentation. My answer's > always the same: i invite and encourage you to send me > updates. i also always point out that you're in a great > position to make improvements, as you're still new to drraw > and things obvious to us still puzzle you to our amazement ;) > > i don't remember ever getting help with the documentation. I think a wiki would help with the user submitted documentation, or lack thereof. For example I could submit a howto on building templates, and creating a grouped dashboard, complete with screen shots. I could also post a howto on setting up read-only & read-write access in parallel. I'd be willing to host a wiki on my server if you would prefer not to host it yourself. -David From vitroth+ at cmu.edu Wed Dec 20 09:51:32 2006 From: vitroth+ at cmu.edu (David Nolan) Date: Wed, 20 Dec 2006 09:51:32 -0500 Subject: [drraw-users] documentation, FAQ, wiki.. (Was: Trying to create a Grouped Dashboard with Templates Style Regex) In-Reply-To: References: <1cbe50830612181754h7860f270rf194d298a7adff7@mail.gmail.com> <1cbe50830612181952t1bd71d3eh91249fe827028db3@mail.gmail.com> <20061219191428.GB17260@bzz.taranis.org> <20061219192651.GD17260@bzz.taranis.org> Message-ID: <1cbe50830612200651j6afabcb1x27439add638466ca@mail.gmail.com> On 12/19/06, Eric Law wrote: > Thus far, I've been able to use drraw to provide the odd-ball cases > they are asking for without having to modify code or hard-code HTML > (like most of the more technical of my customers already do... now if > they would just use proper APIs instead of deep linking to TEMP > data!). > That reminds me of one of the features I want to add to drraw. I want to add an embeddable mode, where you can call drraw from within another CGI and have it output the HTML for a particular graph/template/dashboard. In particular the front page of http://stats.net.cmu.edu basically contains the content of one of my drraw dashboards, but everytime I update the dashboard I have to cut-n-paste the HTML into that page. I'd rather have a "include dashboard #XXXXX here" feature. > It might be nice to have 'canned' week-over-week functionality, but it > likely doable via some kind of recipe. I've come across use of a > TREND feature in RRDTool too, so that would be nice to expose (might > only be development or beta or somesuch). I haven't seen that, the only trending stuff I've seen is the Holt Winters code. Any idea where you saw it? > > Folks where I work would love to see some kind of holt+winters > forecasting too, but it's a real bear to modify the RRDs to support > those. But that has little to do with drraw (unless you have > Holt+Winters RRAs within your RRDs.... which I dont). > I swear I figured out how to do this at one point, maybe I just did a dump/edit/restore by hand. These days I have the HWPREDICT stuff enabled in my top level cricket defaults, so they exist in all the data. > Integration with cricket datasource names would be nice too... right > now everything is 'ds0,ds1,ds2', so I have to manually map them. > If I understand correctly the currect cricket code uses descriptive names in the rrd datasources. Of course that requires re-creating the rrds... However at LISA I got the impression that no one is using cricket any more... Most of the folks at the rrdtool bof were using Cacti. I'm thinking I may look into Cacti again, it sounds like its gotten a lot better then the last time I looked at it. -David From ericslaw at gmail.com Wed Dec 20 12:03:34 2006 From: ericslaw at gmail.com (Eric Law) Date: Wed, 20 Dec 2006 12:03:34 -0500 Subject: [drraw-users] documentation, FAQ, wiki.. (Was: Trying to create a Grouped Dashboard with Templates Style Regex) In-Reply-To: <1cbe50830612200651j6afabcb1x27439add638466ca@mail.gmail.com> References: <1cbe50830612181754h7860f270rf194d298a7adff7@mail.gmail.com> <1cbe50830612181952t1bd71d3eh91249fe827028db3@mail.gmail.com> <20061219191428.GB17260@bzz.taranis.org> <20061219192651.GD17260@bzz.taranis.org> <1cbe50830612200651j6afabcb1x27439add638466ca@mail.gmail.com> Message-ID: Including Dashboards inside pages: try using wget or even running the drraw.cgi from the command line (just use the URL as an arg).... strip out any headers (if any) and you should be able to script the process of 'embedding' drraw.cgi into your own pages. TREND function: For examples of TREND function, see http://oss.oetiker.ch/rrdtool/gallery/index.en.html search for drraw.cgi or trend on the page to see an example..... http://www.semicomplete.com/blog/2006/May/04 to see more concrete example.... this page is one I found that happened to have some demo's of jQuery javascript framework to AJAX like applications. I've since started using that a bit... it's very nice to use. Holt+Winters: I cannot afford to apply Holt+Winters to all my RRDs.... our NetApp filter is IO bound as it is. Even applying it to 10% of my data would likely cause me problems. Alternates to Cricket: The latest cricket likely _is_ able to write descriptive names to datasources, but I think it's an option you need to turn on. I've already got too much history with older RRD files to migrate. Cricket development appears to be dead, even from when I was using it years ago. (I also used drraw.cgi years ago too...) Cacti (and at the time Orca) were similar projects, but cacti was rather new. .... but I've never looked at them. There is MORE stuff out there that integrates opensource monitoring solutions too, so dont limit your search to just Cacti. We are moving towards more 'enterprise' class monitoring solutions, so many of those options are not available (scalability is a big concern, as are dead/dying opensource projects (I used to use MON which is also basically dead). Who uses what: Beware impressions from conferences (they are a double-edged sword).... I had the impression from Usenix 99 that no one in their right mind uses Linux, and now I'm at a company that has been using it extensively and has thousands of Linux servers! It all depends on who you meet I guess. On 12/20/06, David wrote: > On 12/19/06, Eric Law wrote: > > > Thus far, I've been able to use drraw to provide the odd-ball cases > > they are asking for without having to modify code or hard-code HTML > > (like most of the more technical of my customers already do... now if > > they would just use proper APIs instead of deep linking to TEMP > > data!). > > > > That reminds me of one of the features I want to add to drraw. I want > to add an embeddable mode, where you can call drraw from within > another CGI and have it output the HTML for a particular > graph/template/dashboard. In particular the front page of > http://stats.net.cmu.edu basically contains the content of one of my > drraw dashboards, but everytime I update the dashboard I have to > cut-n-paste the HTML into that page. I'd rather have a "include > dashboard #XXXXX here" feature. > > > > > It might be nice to have 'canned' week-over-week functionality, but it > > likely doable via some kind of recipe. I've come across use of a > > TREND feature in RRDTool too, so that would be nice to expose (might > > only be development or beta or somesuch). > > I haven't seen that, the only trending stuff I've seen is the Holt > Winters code. Any idea where you saw it? > > > > > Folks where I work would love to see some kind of holt+winters > > forecasting too, but it's a real bear to modify the RRDs to support > > those. But that has little to do with drraw (unless you have > > Holt+Winters RRAs within your RRDs.... which I dont). > > > > I swear I figured out how to do this at one point, maybe I just did a > dump/edit/restore by hand. These days I have the HWPREDICT stuff > enabled in my top level cricket defaults, so they exist in all the > data. > > > > > Integration with cricket datasource names would be nice too... right > > now everything is 'ds0,ds1,ds2', so I have to manually map them. > > > > If I understand correctly the currect cricket code uses descriptive > names in the rrd datasources. Of course that requires re-creating the > rrds... > > However at LISA I got the impression that no one is using cricket any > more... Most of the folks at the rrdtool bof were using Cacti. I'm > thinking I may look into Cacti again, it sounds like its gotten a lot > better then the last time I looked at it. > > > -David > From kalt at taranis.org Wed Dec 20 19:57:50 2006 From: kalt at taranis.org (Christophe Kalt) Date: Wed, 20 Dec 2006 19:57:50 -0500 Subject: [drraw-users] documentation, FAQ, wiki.. (Was: Trying to create a Grouped Dashboard with Templates Style Regex) In-Reply-To: <1cbe50830612200651j6afabcb1x27439add638466ca@mail.gmail.com> References: <1cbe50830612181754h7860f270rf194d298a7adff7@mail.gmail.com> <1cbe50830612181952t1bd71d3eh91249fe827028db3@mail.gmail.com> <20061219191428.GB17260@bzz.taranis.org> <20061219192651.GD17260@bzz.taranis.org> <1cbe50830612200651j6afabcb1x27439add638466ca@mail.gmail.com> Message-ID: <20061221005750.GB6176@bzz.taranis.org> On Dec 20, David Nolan wrote: | However at LISA I got the impression that no one is using cricket any | more... Really? Although it's hard to tell, many drraw users seem to be getting their data from cricket. | Most of the folks at the rrdtool bof were using Cacti. I'm | thinking I may look into Cacti again, it sounds like its gotten a lot | better then the last time I looked at it. Heh.. Cacti is the only tool i really tried before writing drraw. i thought having to recreate the same graphs again and again (no templates) was really retarded, so when i played with RRGrapher.cgi, i started writing drraw. But that was 4.5 ago :-) From kalt at taranis.org Wed Dec 20 20:37:16 2006 From: kalt at taranis.org (Christophe Kalt) Date: Wed, 20 Dec 2006 20:37:16 -0500 Subject: [drraw-users] documentation, FAQ, wiki.. (Was: Trying to create a Grouped Dashboard with Templates Style Regex) In-Reply-To: <1cbe50830612200651j6afabcb1x27439add638466ca@mail.gmail.com> References: <1cbe50830612181754h7860f270rf194d298a7adff7@mail.gmail.com> <1cbe50830612181952t1bd71d3eh91249fe827028db3@mail.gmail.com> <20061219191428.GB17260@bzz.taranis.org> <20061219192651.GD17260@bzz.taranis.org> <1cbe50830612200651j6afabcb1x27439add638466ca@mail.gmail.com> Message-ID: <20061221013716.GC6176@bzz.taranis.org> On Dec 20, David Nolan wrote: | That reminds me of one of the features I want to add to drraw. I want | to add an embeddable mode, where you can call drraw from within | another CGI and have it output the HTML for a particular | graph/template/dashboard. In particular the front page of | http://stats.net.cmu.edu basically contains the content of one of my | drraw dashboards, but everytime I update the dashboard I have to | cut-n-paste the HTML into that page. I'd rather have a "include | dashboard #XXXXX here" feature. Sigh.. you're hitting one of the many limitations caused by the original drraw design (or lack thereof). Modules would help, but require significant code rewrites to be done right, and i'd miss the simple 1 file installation :) Now, what you're trying to achieve above shouldn't be too hard to do (with or without modifying drraw) by turning that page into a CGI itself. From kalt at taranis.org Wed Dec 20 20:59:29 2006 From: kalt at taranis.org (Christophe Kalt) Date: Wed, 20 Dec 2006 20:59:29 -0500 Subject: [drraw-users] Upcoming features In-Reply-To: References: <1cbe50830612181754h7860f270rf194d298a7adff7@mail.gmail.com> <20061219185908.GA17260@bzz.taranis.org> Message-ID: <20061221015929.GA6798@bzz.taranis.org> Ooops.. i thought i'd sent this earlier. On Dec 19, Eric Law wrote: | What are the feature requests? do you have a prioritized list? The WISHLIST file (from the latest version, e.g. 2.2a1) is the closest there is to a loosely prioritized list. As i started work on 2.2, i also kept a second more obscure list of things i want/need to deal with to get to a proper release. The major goals for 2.2 are: * full RRDtool 1.2 support (done w/ 2.2a1) * Dashboard style display for templates & dashboards (e.g. multiple base selections) * Trending display (same graph at various dates). (may be) Minor issues i'm struggling with: * Whether to oblige David Nolan with his request for easy access to a bit/byte conversion. See http://web.taranis.org/pipermail/drraw-users/2006q3/000003.html -> Currently leaning against doing anything because i cannot find any elegant solution. * How to fit in a transparency field See http://web.taranis.org/pipermail/drraw-users/2006q3/000013.html Blocking on both of the above because i have grown to hate the editor, and how big/unwieldy it's become. I have a 1600x1200 screen (well, 2), so it isn't too bad for me, but is this typical? * How to integrate the color patch from David Nolan * Additional GPRINTs for VDEFs (just one really, easy?) -> i forget what this exactly is :) From aditya at grot.org Wed Dec 20 23:21:54 2006 From: aditya at grot.org (R.P. Aditya) Date: Thu, 21 Dec 2006 04:21:54 +0000 Subject: [drraw-users] Upcoming features In-Reply-To: <20061221015929.GA6798@bzz.taranis.org> References: <1cbe50830612181754h7860f270rf194d298a7adff7@mail.gmail.com> <20061219185908.GA17260@bzz.taranis.org> <20061221015929.GA6798@bzz.taranis.org> Message-ID: <20061221042154.GD87937@mighty.grot.org> On Wed, Dec 20, 2006 at 08:59:29PM -0500, Christophe Kalt wrote: > Blocking on both of the above because i have grown to hate the > editor, and how big/unwieldy it's become. I have a 1600x1200 > screen (well, 2), so it isn't too bad for me, but is this typical? speaking of which, perhaps you could document the dashboard configs so they can be generated via means other than the editor? We use drraw to watch cluster performance, and we add and remove machines constantly so having to update the dashboard by hand is painful...I don't mind writing a script to do the generation (since the list of machines can be programatically retrieved) but the config file format for dashboards is neither obvious or trivial to me :-) Thanks, Adi From franshaarman at gmail.com Thu Dec 21 05:00:24 2006 From: franshaarman at gmail.com (Frans Haarman) Date: Thu, 21 Dec 2006 11:00:24 +0100 Subject: [drraw-users] Upcoming features In-Reply-To: <20061221015929.GA6798@bzz.taranis.org> References: <1cbe50830612181754h7860f270rf194d298a7adff7@mail.gmail.com> <20061219185908.GA17260@bzz.taranis.org> <20061221015929.GA6798@bzz.taranis.org> Message-ID: On 12/21/06, Christophe Kalt wrote: > Ooops.. i thought i'd sent this earlier. > > On Dec 19, Eric Law wrote: > | What are the feature requests? do you have a prioritized list? * filter empty charts I have many charts which are empty. We do automatic snmp monitoring (just monitor all found interfaces). It be nice of I can filter out graphs which are empty. From wernli at in2p3.fr Thu Dec 21 07:54:45 2006 From: wernli at in2p3.fr (Fabien Wernli) Date: Thu, 21 Dec 2006 13:54:45 +0100 Subject: [drraw-users] minidashboards Message-ID: <20061221125445.GG3000@ccfw.in2p3.fr> Hi, I wrote a script which basically does dashboards with thumbnails, that is many very small graphs: http://oss.oetiker.ch/rrdtool/gallery/576_nodes.png I'd like to integrate this into drraw, but I'd need some feedback from both developers and users if the effort is worth the while. From kalt at taranis.org Thu Dec 21 08:53:12 2006 From: kalt at taranis.org (Christophe Kalt) Date: Thu, 21 Dec 2006 08:53:12 -0500 Subject: [drraw-users] Upcoming features In-Reply-To: References: <1cbe50830612181754h7860f270rf194d298a7adff7@mail.gmail.com> <20061219185908.GA17260@bzz.taranis.org> <20061221015929.GA6798@bzz.taranis.org> Message-ID: <20061221135312.GB11356@bzz.taranis.org> On Dec 21, Frans Haarman wrote: | * filter empty charts | | I have many charts which are empty. We do automatic snmp monitoring | (just monitor all found interfaces). It be nice of I can filter out | graphs which are empty. Hah, it's on my list to look at, i think i missed it in my earlier e-mail. Do you update the RRDs with zeros? If so, it's hard to detect "empty" charts, as it requires to compute the data twice: (1) once to see if it's zero, (2) once to produce the graph. A bit too costly, i'm afraid, but i need to look at this more closely to see if there's a good/better way. i think it's one of these cases where having RRDtool is problematic. The one thing i would really like is for dashboards to automatically skip such empty graphs, something which could probably be done relatively cheaply by checking when the source RRD files have last been updated. From kalt at taranis.org Thu Dec 21 08:57:11 2006 From: kalt at taranis.org (Christophe Kalt) Date: Thu, 21 Dec 2006 08:57:11 -0500 Subject: [drraw-users] minidashboards In-Reply-To: <20061221125445.GG3000@ccfw.in2p3.fr> References: <20061221125445.GG3000@ccfw.in2p3.fr> Message-ID: <20061221135711.GC11356@bzz.taranis.org> On Dec 21, Fabien Wernli wrote: | I wrote a script which basically does dashboards with thumbnails, that is | many very small graphs: | | http://oss.oetiker.ch/rrdtool/gallery/576_nodes.png | | I'd like to integrate this into drraw, but I'd need some feedback from both | developers and users if the effort is worth the while. Cool, i was wondering about that snapshot. How does your script work? How many invocations to produce the above? (1, 36, ..?) From kalt at taranis.org Thu Dec 21 08:59:59 2006 From: kalt at taranis.org (Christophe Kalt) Date: Thu, 21 Dec 2006 08:59:59 -0500 Subject: [drraw-users] Upcoming features In-Reply-To: <20061221042154.GD87937@mighty.grot.org> References: <1cbe50830612181754h7860f270rf194d298a7adff7@mail.gmail.com> <20061219185908.GA17260@bzz.taranis.org> <20061221015929.GA6798@bzz.taranis.org> <20061221042154.GD87937@mighty.grot.org> Message-ID: <20061221135959.GD11356@bzz.taranis.org> On Dec 21, R.P. Aditya wrote: | On Wed, Dec 20, 2006 at 08:59:29PM -0500, Christophe Kalt wrote: | > Blocking on both of the above because i have grown to hate the | > editor, and how big/unwieldy it's become. I have a 1600x1200 | > screen (well, 2), so it isn't too bad for me, but is this typical? | | speaking of which, perhaps you could document the dashboard configs so they | can be generated via means other than the editor? We use drraw to watch | cluster performance, and we add and remove machines constantly so having to | update the dashboard by hand is painful...I don't mind writing a script to do | the generation (since the list of machines can be programatically retrieved) | but the config file format for dashboards is neither obvious or trivial to me | :-) Adding machines shouldn't require you to update the dashboard, do you find that it does? If you remove the RRD files for machines that are no longer there, you shouldn't have to update the dashboard either, however, if you want to keep the data, it is a problem. As long as you no longer update the RRDs, what i just discussed in my reply to Frans Haarman would do the trick. Thoughts? From wernli at in2p3.fr Thu Dec 21 09:54:47 2006 From: wernli at in2p3.fr (Fabien Wernli) Date: Thu, 21 Dec 2006 15:54:47 +0100 Subject: [drraw-users] minidashboards In-Reply-To: <20061221135711.GC11356@bzz.taranis.org> References: <20061221125445.GG3000@ccfw.in2p3.fr> <20061221135711.GC11356@bzz.taranis.org> Message-ID: <20061221145447.GK3000@ccfw.in2p3.fr> On Thu, Dec 21, 2006 at 08:57:11AM -0500, Christophe Kalt wrote: > Cool, i was wondering about that snapshot. How does your > script work? How many invocations to produce the above? (1, > 36, ..?) I use perl image::magick to collage the thumbnails (generated using RRDs and "-j" option). It takes 1:30 to generate the 41 racks of roughly 32 servers each. From franshaarman at gmail.com Thu Dec 28 02:33:07 2006 From: franshaarman at gmail.com (Frans Haarman) Date: Thu, 28 Dec 2006 08:33:07 +0100 Subject: [drraw-users] dashboard titles Message-ID: Hi, pictures which show up in my dashboard have the .rrd file in the title. it looks like this in the pictures title: SNMP: rrd - .aspect/data/somehost.rrd Really ugly imho. Its probably because of my regular expressions in the dashboard. Is there anyway to change this ? All I want is the filename, without the fullpath. Best would be to leave out the ".rrd" also, if possible ;) Possible somehow ? Regards, Frans From Andreas.Luber at atosorigin.com Thu Dec 28 05:01:31 2006 From: Andreas.Luber at atosorigin.com (Andreas.Luber@atosorigin.com) Date: Thu, 28 Dec 2006 11:01:31 +0100 Subject: [drraw-users] Problem with DRRAW building wrong path name Message-ID: <0BD0B10BB7C83641AF55A85477F75F977F4C2D@DEFMX001.deuser.de.intra> Hi, when using drraw 2.2.a1 to create a new graph, drraw generate an error message after i selected a data source RRA from a database file: No data source for "AVERAGE" RRA found in file "/usr/local/rrdtool//rrds/srvde006-5.rrd"! Please note the two // in "/usr/local/rrdtool//rrds/srvde006-5.rrd" !! I was now searching for 2 hours for an configuration mistake, but could'nt find one. I am using Suse 9.3 Professional. Any help greatly appreciated! Regards, Andreas -------------- next part -------------- An HTML attachment was scrubbed... URL: http://web.taranis.org/pipermail/drraw-users/attachments/20061228/af51af96/attachment.html From kalt at taranis.org Thu Dec 28 07:39:27 2006 From: kalt at taranis.org (Christophe Kalt) Date: Thu, 28 Dec 2006 07:39:27 -0500 Subject: [drraw-users] Problem with DRRAW building wrong path name In-Reply-To: <0BD0B10BB7C83641AF55A85477F75F977F4C2D@DEFMX001.deuser.de.intra> References: <0BD0B10BB7C83641AF55A85477F75F977F4C2D@DEFMX001.deuser.de.intra> Message-ID: <20061228123927.GA29877@bzz.taranis.org> On Dec 28, Andreas.Luber at atosorigin.com wrote: | when using drraw 2.2.a1 to create a new graph, drraw generate an error | message after i selected a data source RRA from a database file: | No data source for "AVERAGE" RRA found in file | "/usr/local/rrdtool//rrds/srvde006-5.rrd"! | | Please note the two // in "/usr/local/rrdtool//rrds/srvde006-5.rrd" !! The two // are expected, nothing you should be concerned about. The problem is that your RRD file(s) do not have an AVERAGE RRA as per the error message. This can be a problem with your RRD file(s), but is more likely to simply require you to update @rranames and %rranames in drraw.conf rrdtool info /usr/local/rrdtool//rrds/srvde006-5.rrd | grep \\.cf will give you the RRA names used when creating the RRD file. Christophe From kalt at taranis.org Thu Dec 28 09:14:15 2006 From: kalt at taranis.org (Christophe Kalt) Date: Thu, 28 Dec 2006 09:14:15 -0500 Subject: [drraw-users] dashboard titles In-Reply-To: References: Message-ID: <20061228141415.GB29877@bzz.taranis.org> On Dec 28, Frans Haarman wrote: | pictures which show up in my dashboard have the .rrd file in the title. | it looks like this in the pictures title: | | SNMP: rrd - .aspect/data/somehost.rrd | | Really ugly imho. Its probably because of my regular expressions in | the dashboard. Agreed, it's ugly ;-) I've not seen this. This pictures are actually rendering of your templates, and that's where you need to look. The "Selection Regular Expression" is probably where the .rrd comes from, you'll need to update the "Base Regular Expression" to not include .rrd in there. Christophe From Andreas.Luber at atosorigin.com Thu Dec 28 11:10:49 2006 From: Andreas.Luber at atosorigin.com (Andreas.Luber@atosorigin.com) Date: Thu, 28 Dec 2006 17:10:49 +0100 Subject: [drraw-users] WG: Problem with DRRAW building wrong path name Message-ID: <0BD0B10BB7C83641AF55A85477F75F977F4C37@DEFMX001.deuser.de.intra> Hi Christophe, i did check my rrd files regarding rra names before writing the mail, but couldn't see an error. Here is the output: /usr/local/rrdtool/bin/rrdtool info /usr/local/rrdtool/rrds/srvde006-5.rrd | grep \\.cf rra[0].cf = "AVERAGE" rra[1].cf = "AVERAGE" rra[2].cf = "LAST" rra[3].cf = "LAST" I didn't make changes to drraw.conf as it looks ok for me: @rranames = ( 'MIN', 'AVERAGE', 'MAX', 'LAST' ); %rranames = ( 'MIN' => 'Min', 'AVERAGE' => 'Avg', 'MAX' => 'Max', 'LAST' => 'Last' ); Any hint's? Best regards, Andreas -----Urspr?ngliche Nachricht----- Von: drraw-users-bounces at taranis.org [mailto:drraw-users-bounces at taranis.org] Im Auftrag von Christophe Kalt Gesendet: Donnerstag, 28. Dezember 2006 13:39 An: drraw-users at taranis.org Betreff: Re: [drraw-users] Problem with DRRAW building wrong path name On Dec 28, Andreas.Luber at atosorigin.com wrote: | when using drraw 2.2.a1 to create a new graph, drraw generate an error | message after i selected a data source RRA from a database file: | No data source for "AVERAGE" RRA found in file | "/usr/local/rrdtool//rrds/srvde006-5.rrd"! | | Please note the two // in "/usr/local/rrdtool//rrds/srvde006-5.rrd" !! The two // are expected, nothing you should be concerned about. The problem is that your RRD file(s) do not have an AVERAGE RRA as per the error message. This can be a problem with your RRD file(s), but is more likely to simply require you to update @rranames and %rranames in drraw.conf rrdtool info /usr/local/rrdtool//rrds/srvde006-5.rrd | grep \\.cf will give you the RRA names used when creating the RRD file. Christophe _______________________________________________ drraw-users mailing list drraw-users at taranis.org http://web.taranis.org/mailman/listinfo/drraw-users