bubba-users Mailing List for BUBBA
Brought to you by:
slarti71
You can subscribe to this list here.
| 2003 |
Jan
|
Feb
|
Mar
|
Apr
(1) |
May
(10) |
Jun
(6) |
Jul
|
Aug
(2) |
Sep
|
Oct
|
Nov
(1) |
Dec
|
|---|---|---|---|---|---|---|---|---|---|---|---|---|
| 2004 |
Jan
|
Feb
|
Mar
|
Apr
|
May
(1) |
Jun
|
Jul
|
Aug
|
Sep
|
Oct
|
Nov
|
Dec
|
| 2006 |
Jan
|
Feb
|
Mar
|
Apr
|
May
(1) |
Jun
|
Jul
|
Aug
|
Sep
|
Oct
|
Nov
|
Dec
|
|
From: Pou L. <po...@ba...> - 2006-05-04 01:08:41
|
Hi, If anyone can offer assistance, it will be much appreciated since the last relevant posting to the list appeared to be back in 2003. I have installed Bubba 0.0.7pre6 on a Solaris 9 X86 box and it runs quite well monitoring three interfaces to two service providers. Is it correct to assume by configuring bubba_menu.conf, the three otherwise discrete interefaces can be grouped into one selection menu instead of three menus each with just one interface? I have found a few excellent examples in the examples directory in etc but cannot seem to get it working by placing the bubba_menu.conf in either the etc (i.e., /usr/local/bubba/etc) or index (i.e., /usr/local/bubba/index) directory. Also, is there an easy way to change the percentile value for a specific interface? The values like 90% and 97% have been mentioned in our negotaion with the service providers. Thanks again, Pou -- |
|
From: <ben...@id...> - 2004-05-22 12:54:06
|
Dear Open Source developer I am doing a research project on "Fun and Software Development" in which I kindly invite you to participate. You will find the online survey under http://fasd.ethz.ch/qsf/. The questionnaire consists of 53 questions and you will need about 15 minutes to complete it. With the FASD project (Fun and Software Development) we want to define the motivational significance of fun when software developers decide to engage in Open Source projects. What is special about our research project is that a similar survey is planned with software developers in commercial firms. This procedure allows the immediate comparison between the involved individuals and the conditions of production of these two development models. Thus we hope to obtain substantial new insights to the phenomenon of Open Source Development. With many thanks for your participation, Benno Luthiger PS: The results of the survey will be published under http://www.isu.unizh.ch/fuehrung/blprojects/FASD/. We have set up the mailing list fa...@we... for this study. Please see http://fasd.ethz.ch/qsf/mailinglist_en.html for registration to this mailing list. _______________________________________________________________________ Benno Luthiger Swiss Federal Institute of Technology Zurich 8092 Zurich Mail: benno.luthiger(at)id.ethz.ch _______________________________________________________________________ |
|
From: Steven S. <ssu...@en...> - 2003-11-20 14:10:36
|
Greetings, I have a customer requesting being billed on a daily average instead of = the 5 minute samples. So, I would obtain the average for the day, calculate = the 95 percentile (basically throw away the two highest days) and bill off = that. Any thoughts on how I might augment Bubba for that task? Thanks! -Steve S. |
|
From: Todd A. G. <sla...@aw...> - 2003-08-08 15:00:33
|
Included with the distribution. Check you configuration to make sure you have specified the correct paths. On Fri, 2003-08-08 at 06:51, Manuel Su=E1rez Men=E9ndez wrote: > The script check_for_modules.pl tell me that I haven't three m=F3dules=20 > that I can't find in CPAN. >=20 > =BFWhere I can find TAG::File::Find, TAG::XML::Config and Bubba::Config= ? >=20 > Best regards. > Manuel Suarez >=20 >=20 >=20 > ------------------------------------------------------- > This SF.Net email sponsored by: Free pre-built ASP.NET sites including > Data Reports, E-commerce, Portals, and Forums are available now. > Download today and enter to win an XBOX or Visual Studio .NET. > http://aspnet.click-url.com/go/psa00100003ave/direct;at.aspnet_072303_0= 1/01 > _______________________________________________ > Bubba-users mailing list > Bub...@li... > https://lists.sourceforge.net/lists/listinfo/bubba-users --=20 Todd A. Green <sla...@aw...> |
|
From: <ms...@cs...> - 2003-08-08 11:52:00
|
The script check_for_modules.pl tell me that I haven't three módules that I can't find in CPAN. ¿Where I can find TAG::File::Find, TAG::XML::Config and Bubba::Config ? Best regards. Manuel Suarez |
|
From: Steven J. S. P. <ssu...@en...> - 2003-06-12 19:05:01
|
It appears I was extracting data for "today" when performing monthly percentile calcs. Data for "today" does not exist since it has not yet = been archived. Now I'm onto the latest warning... -Steve S. =20 -----Original Message----- From: bub...@li... [mailto:bub...@li...] On Behalf Of Todd A. = Green Sent: Monday, June 09, 2003 9:38 AM To: Steve Surdock Cc: BUBBA Users Subject: RE: [Bubba-users] Using Max(in, out) On Sat, 2003-06-07 at 20:02, Steven J. Surdock, PE wrote: > I'm still not sure why some elements are empty... Only reason that comes to mind is that there is no data for that = timestamp in the original RRD file. Without looking at the RRD data for that = period I couldn't tell you. ...stuff deleted > > --- > > Use of uninitialized value in numeric comparison (<=3D>) at > > ./report-html.cgi line 810. > > --- > >=20 > > It appear to be a result of the 'sort' function. Any insight? > >=20 |
|
From: Todd A. G. <sla...@aw...> - 2003-06-09 14:06:24
|
Found the problem. It only happens on the monthly graph, NOT in the
percentile calcs.
I think it was a forgotten debug for some reason.
Find the following line in bubba_menu.cgi and remove it.
$graph_ref->{'start'} += 86400;
Thanks again!
On Mon, 2003-06-09 at 05:26, Steven J. Surdock, PE wrote:
> I'm using pre3. It's a bit of a nit, but if you look at a view for this
> month you'll notice that the calendar starts a week on Sunday. If you look
> at a monthly graph the week starts on a Monday.
>
> So for this month you should have eight days archived (and today's data
> available via cricket.) If you generate a graph for the month you will see
> only seven days displayed. That is because RRDgraph is starting the week on
> Monday the second. Again, it's a bit of a nit.
>
> -Steve S.
>
> -----Original Message-----
> From: Todd A. Green [mailto:sla...@aw...]
> Sent: Wednesday, June 04, 2003 1:39 PM
> To: Steve Surdock
> Subject: Re: [Bubba-users] Graph week vs Calendar week
>
>
> Hmm, not sure what you mean by graph week. What version of the code are you
> using now?
>
> On Wed, 2003-06-04 at 11:10, Steven J. Surdock, PE wrote:
> > Here's another interesting item.
> >
> > It appears the graph week starts on Monday while the Calendar week
> > starts on Sunday. I'll look into this further shortly. But this
> > month the first falls on Sunday and I didn't see graphed data until
> > the third (when the data for the 2nd was migrated.)
> >
> > -Steve S.
>
--
Todd A. Green <sla...@aw...>
|
|
From: Todd A. G. <sla...@aw...> - 2003-06-09 13:55:13
|
On Mon, 2003-06-09 at 05:26, Steven J. Surdock, PE wrote:
> I'm using pre3. It's a bit of a nit, but if you look at a view for this
> month you'll notice that the calendar starts a week on Sunday. If you look
> at a monthly graph the week starts on a Monday.
>
> So for this month you should have eight days archived (and today's data
> available via cricket.) If you generate a graph for the month you will see
> only seven days displayed. That is because RRDgraph is starting the week on
> Monday the second. Again, it's a bit of a nit.
Nope, it's not a 'bit of a nit', it's actually a bug...
If you add the _debug arg to the graph generation URL you'll see
something like this.
$VAR1 = {
'adjustment' => 8639,
'length' => 2591700,
'target' => '/tmp/bubba-cache/bubba-46adf57c.gif',
'percentile' => '95th',
'date' => 'June, 2003',
'end' => 1057121700,
'start' => 1054530000
};
This includes the start and end times in epoch (secs since 1970)
format. If you decode those you'd find out that they are.
Start = Mon Jun 2 00:00:00 2003
End = Tue Jul 1 23:55:00 2003
i.e. shifted forward by one day!
!@!@$#
>
> -Steve S.
>
> -----Original Message-----
> From: Todd A. Green [mailto:sla...@aw...]
> Sent: Wednesday, June 04, 2003 1:39 PM
> To: Steve Surdock
> Subject: Re: [Bubba-users] Graph week vs Calendar week
>
>
> Hmm, not sure what you mean by graph week. What version of the code are you
> using now?
>
> On Wed, 2003-06-04 at 11:10, Steven J. Surdock, PE wrote:
> > Here's another interesting item.
> >
> > It appears the graph week starts on Monday while the Calendar week
> > starts on Sunday. I'll look into this further shortly. But this
> > month the first falls on Sunday and I didn't see graphed data until
> > the third (when the data for the 2nd was migrated.)
> >
> > -Steve S.
>
--
Todd A. Green <sla...@aw...>
|
|
From: Todd A. G. <sla...@aw...> - 2003-06-09 13:38:40
|
On Sat, 2003-06-07 at 20:02, Steven J. Surdock, PE wrote:
> It IS fairly inefficient. If you have many clients it may take a while. It
> basically creates a list of clients then try's to calc the percentile for
> each client for yesterday then for the month and present that data in a
> table.
>
> I only have 1/2 a dozen so it takes only 15 seconds or so.
>
> On the "uninitialized value" problem, it appears some data is empty. I am a
> little confused about the data though. It appears that
> %{$rates_ref->{$interface}} has the keys of 5 min RRD timestamps. Then
> %{$rates_ref->{$interface}->$key} has the keys of timestamp, out, in, total.
> It seems odd that each timestamp has an element of 'timestamp'=>value.
Not really. It's so that if the timestamp 'record' gets separated from
the hash you can still figure out what it's timestamp was.
$rate_ref = {
'timestamp' => '12039911',
'in' => '2342341',
'out' => '53512',
};
$rates_ref->{$interface}->{$rate_ref->{'timestamp'}} = $rate_ref;
> I'm still not sure why some elements are empty...
Only reason that comes to mind is that there is no data for that
timestamp in the original RRD file. Without looking at the RRD data for
that period I couldn't tell you.
>
> -Steve S.
>
> -----Original Message-----
> From: Todd A. Green [mailto:sla...@aw...]
> Sent: Wednesday, June 04, 2003 2:08 PM
> To: Steve Surdock
> Subject: Re: [Bubba-users] Using Max(in, out)
>
>
> What's the procedure for running this script. Other than a view changes to
> see where my index directory was is there anything I need to pass it? I
> have a number of clients/interfaces and it just churns away...
>
> On Wed, 2003-06-04 at 09:35, Steven J. Surdock, PE wrote:
> > Todd,
> >
> > I've been playing with an html-based text report and the Max(in, out)
> > feature and am receiving some warnings...
> >
> > ---
> > Use of uninitialized value in numeric comparison (<=>) at
> > ./report-html.cgi line 810.
> > ---
> >
> > It appear to be a result of the 'sort' function. Any insight?
> >
> > ---
> > sub calc_percentiles {
> > ...
> > if ($interface ne 'exclude_ranges') {
> > if (lc($Global::Percentile_Calc) eq 'max(in,out)') {
> > my $calc_rate_ref = {};
> > my $percentile_rate = '';
> > foreach my $field ('in','out') {
> > my @samples = sort { $a->{$field} <=>
> > $b->{$field} } values
> > %{$rates_ref->{$interface}};
> >
> > I have attached the HTML summary report generator for your enjoyment.
> >
> > -Steve S.
--
Todd A. Green <sla...@aw...>
|
|
From: Steven J. S. P. <ssu...@en...> - 2003-06-04 16:10:37
|
Here's another interesting item. It appears the graph week starts on Monday while the Calendar week = starts on Sunday. I'll look into this further shortly. But this month the first falls on Sunday and I didn't see graphed data until the third (when the = data for the 2nd was migrated.) -Steve S. |
|
From: Steven J. S. P. <ssu...@en...> - 2003-06-04 14:35:01
|
Todd,
I've been playing with an html-based text report and the Max(in, out)
feature and am receiving some warnings...
---
Use of uninitialized value in numeric comparison (<=>) at ./report-html.cgi
line 810.
---
It appear to be a result of the 'sort' function. Any insight?
---
sub calc_percentiles {
...
if ($interface ne 'exclude_ranges') {
if (lc($Global::Percentile_Calc) eq 'max(in,out)') {
my $calc_rate_ref = {};
my $percentile_rate = '';
foreach my $field ('in','out') {
my @samples = sort { $a->{$field} <=>
$b->{$field} } values
%{$rates_ref->{$interface}};
I have attached the HTML summary report generator for your enjoyment.
-Steve S.
|
|
From: Todd A. G. <sla...@aw...> - 2003-05-25 20:33:04
|
F.Y.I. sent an email to the RRDTool mailing list and got a response. RRD's logic works thus: If either of the srcs are NaN (No Value) then the result of an addition between them is also NaN. The person included an example CDEF which will set a src to 0 if it's NaN allowing the graph to be generated correctly. I'm working on how to apply this to BUBBA. On Wed, 2003-05-21 at 20:07, Steven J. Surdock, PE wrote: > Thanks for the hint on the &_debug. I was wondering how to use that > (manually putting print statements when needed is a drag.) > > BTW, I have a messy version of the text based report working. It works > pretty hard to obtain the data, but it works. I'm going to clean it up this > weekend and add customer specific HTML email reports next week. > > -Steve S. > > -----Original Message----- > From: bub...@li... > [mailto:bub...@li...] On Behalf Of Todd A. Green > Sent: Wednesday, May 21, 2003 5:05 PM > To: ssu...@en... > Cc: BUBBA Users > Subject: Re: [Bubba-users] Changing interfaces > > > Getting closer... > > In the past I had only used the formulas to add interfaces that were both > taking data. > > I just happen to have (back in march) a case like your where we moved a > connection from one interface to another. When I setup the formula I get > the same results as you (calcs, but no graph). > > Thinking I might have broken the formulas at some point I added one that > adds two interfaces that are currently being used. That worked so that > tells me this is something I hadn't seen before. > > BTW It is possible to enable 'debug' mode by adding &_debug=true at the end > of a particular CGI call. > > One example would be to view the graph separatly (right-click and select > 'view image' with mozilla). You will then see the CGI call used to generate > the graph. By adding &_debug=true you will see a dump of a ton of data > structures. One of them looks like this: > > $VAR3 = [ > '/tmp/bubba-cache/bubba-564d3f81.gif', > '--title', > 'ITC DS/3 (Combined) - March, 2003', > '--start', > 1046584800, > '--end', > 1049262900, > > 'DEF:in0=/usr/local/bubba/data/mn/routers/cisco/c7206-1/interfaces/serial2_0 > /200303.rrd:in:LAST', > > 'DEF:out0=/usr/local/bubba/data/mn/routers/cisco/c7206-1/interfaces/serial2_ > 0/200303.rrd:out:LAST', > > 'DEF:in1=/usr/local/bubba/data/mn/routers/cisco/c7206-1/interfaces/serial1_0 > /200303.rrd:in:LAST', > > 'DEF:out1=/usr/local/bubba/data/mn/routers/cisco/c7206-1/interfaces/serial1_ > 0/200303.rrd:out:LAST', > 'CDEF:in_bits=0,in0,in1,+,+,8,*', > 'CDEF:out_bits=0,out0,out1,+,+,8,*', > > 'DEF:dummy=/usr/local/bubba/data/mn/routers/cisco/c7206-1/interfaces/serial1 > _0/200303.rrd:out:LAST', > 'COMMENT:Interfaces:\\n', > 'COMMENT: DS/3 to IDG\\n', > 'COMMENT: DS/3 to ITC Deltacom\\n', > 'COMMENT:\\n', > 'COMMENT: Max 95th Percentile\\n', > 'COMMENT: ', > 'AREA:in_bits#00FF00:In', > 'GPRINT:in_bits:MAX: %8.3lf %sb/s ', > 'HRULE:953978.166222225#000000:Current (in) ', > 'COMMENT: 953.978 kb/s', > 'COMMENT:\\n', > 'COMMENT: ', > 'LINE1:out_bits#0000FF:Out', > 'GPRINT:out_bits:MAX: %8.3lf %sb/s ', > 'HRULE:3000000#FF0000:Contract ', > 'COMMENT: 3.000 Mb/s' > ]; > > This you might recognize (if you've worked with RRDTool directly) is the > array of commands sent to RRDs::graph. > > Somewhere in here lies the problem. > > I think I've found one potential issue, but it may be with my data. The > start time listed is actually Sun Mar 2 00:00:00 2003 instead of Sat Mar 1 > 00:00:00 2003. I haven't looked into this one yet, but I suspect Daylight > Savings Time as being the culprit here. > > Anyway back to the issue of no data in the graphs. > > My thinking is that RRDGraph maybe getting annoyed about having two > datasources one which doesn't have data at the end of the request time > period, and another that doesn't have data at the beginning. > > I'm going to setup some scripts to plug these args directly into RRDGraph > and see what it gives me. > > Thanks again for the help. > > > > On Mon, 2003-05-19 at 12:27, Steven J. Surdock, PE wrote: > > That seems to have changed the 95th percentile calculation, but data > > for one of the interfaces is not presented on the graph. I attached > > some gifs of what shows up... > > > > I tried ordering the interfaces differently in bubba_menu.conf but it > > did not seem to make a difference. It also did not change which > > interface was displayed. > > > > -Steve S. > > > > > > -----Original Message----- > > From: bub...@li... > > [mailto:bub...@li...] On Behalf Of Todd A. > > Green > > Sent: Wednesday, May 14, 2003 4:19 PM > > To: Steven Surdock > > Cc: BUBBA Users > > Subject: [Bubba-users] RE: Bubba > > > > > > On Tue, 2003-05-13 at 13:41, Steven Surdock wrote: > > > It appears the user list is a bit light on users;-( I have a couple > > > of quickies for you. > > > > > > Is there an easy way to adjust the size of the image? Ideally via > > > RRD::graph and not just via HTML. > > Check out my last response. > > > > > > > > And we changed interfaces for a customer. Is there a way for Bubba > > > to > > > combine the data from two RRDs and show it on one graph? Now I'm > > > getting two separate graphs (see attached). > > Yes there is, it's called a formula. > > > > Here's a sample from one of the example files included in the > > distribution. > > > > <formula id="billable"> > > <description>Billable Interfaces</description> > > <default>0</default> > > <operation>+/switches/ionic-5500a/interfaces/3_24</operation> > > <operation>+/switches/ionic-5500b/interfaces/5_4</operation> > > <operation>+/switches/ionic-5500b/interfaces/5_15</operation> > > <operation>+/switches/ionic-5500b/interfaces/6_1</operation> > > <operation>+/switches/ionic-5500b/interfaces/6_12</operation> > > </formula> > > > > This would go in the bubba_menu.conf file for the customer in > > question. > > > > > > > > Thanks yet again! > > No, Thank you! > > > > BTW I haven't forgotten about the previous request dealing with > > text-based reports. That one is significant enough that I'm waiting > > on 0.0.8 to implement it. Got myself stuck on some ACL stuff for the > > new portal (bubba_menu.cgi replacement). > > > > > > > > -Steve S. > > > > > > -----Original Message----- > > > From: Todd A. Green [mailto:sla...@aw...] > > > Sent: Tuesday, April 29, 2003 11:39 AM > > > To: Steven Surdock > > > Subject: RE: Bubba > > > > > > > > > I've released 0.0.7pre3 on SF with the conversion fixes. > > > > > > Thanks for the help > > > > > > ... <snip> -- Todd A. Green <sla...@aw...> |
|
From: Todd A. G. <sla...@aw...> - 2003-05-23 16:48:46
|
I know what is causing it, just need to think of a good solution. RRDTool doesn't like the fact that the first of the two files doesn't have data past the point you switched interfaces. What is needed is to update the file to the end of the month with NaN or 0. Now I'm pondering how this might be accomplished cleanly. On Wed, 2003-05-21 at 20:07, Steven J. Surdock, PE wrote: > Thanks for the hint on the &_debug. I was wondering how to use that > (manually putting print statements when needed is a drag.) > > BTW, I have a messy version of the text based report working. It works > pretty hard to obtain the data, but it works. I'm going to clean it up this > weekend and add customer specific HTML email reports next week. > > -Steve S. > > -----Original Message----- > From: bub...@li... > [mailto:bub...@li...] On Behalf Of Todd A. Green > Sent: Wednesday, May 21, 2003 5:05 PM > To: ssu...@en... > Cc: BUBBA Users > Subject: Re: [Bubba-users] Changing interfaces > > > Getting closer... > > In the past I had only used the formulas to add interfaces that were both > taking data. > > I just happen to have (back in march) a case like your where we moved a > connection from one interface to another. When I setup the formula I get > the same results as you (calcs, but no graph). > > Thinking I might have broken the formulas at some point I added one that > adds two interfaces that are currently being used. That worked so that > tells me this is something I hadn't seen before. > > BTW It is possible to enable 'debug' mode by adding &_debug=true at the end > of a particular CGI call. > > One example would be to view the graph separatly (right-click and select > 'view image' with mozilla). You will then see the CGI call used to generate > the graph. By adding &_debug=true you will see a dump of a ton of data > structures. One of them looks like this: > > $VAR3 = [ > '/tmp/bubba-cache/bubba-564d3f81.gif', > '--title', > 'ITC DS/3 (Combined) - March, 2003', > '--start', > 1046584800, > '--end', > 1049262900, > > 'DEF:in0=/usr/local/bubba/data/mn/routers/cisco/c7206-1/interfaces/serial2_0 > /200303.rrd:in:LAST', > > 'DEF:out0=/usr/local/bubba/data/mn/routers/cisco/c7206-1/interfaces/serial2_ > 0/200303.rrd:out:LAST', > > 'DEF:in1=/usr/local/bubba/data/mn/routers/cisco/c7206-1/interfaces/serial1_0 > /200303.rrd:in:LAST', > > 'DEF:out1=/usr/local/bubba/data/mn/routers/cisco/c7206-1/interfaces/serial1_ > 0/200303.rrd:out:LAST', > 'CDEF:in_bits=0,in0,in1,+,+,8,*', > 'CDEF:out_bits=0,out0,out1,+,+,8,*', > > 'DEF:dummy=/usr/local/bubba/data/mn/routers/cisco/c7206-1/interfaces/serial1 > _0/200303.rrd:out:LAST', > 'COMMENT:Interfaces:\\n', > 'COMMENT: DS/3 to IDG\\n', > 'COMMENT: DS/3 to ITC Deltacom\\n', > 'COMMENT:\\n', > 'COMMENT: Max 95th Percentile\\n', > 'COMMENT: ', > 'AREA:in_bits#00FF00:In', > 'GPRINT:in_bits:MAX: %8.3lf %sb/s ', > 'HRULE:953978.166222225#000000:Current (in) ', > 'COMMENT: 953.978 kb/s', > 'COMMENT:\\n', > 'COMMENT: ', > 'LINE1:out_bits#0000FF:Out', > 'GPRINT:out_bits:MAX: %8.3lf %sb/s ', > 'HRULE:3000000#FF0000:Contract ', > 'COMMENT: 3.000 Mb/s' > ]; > > This you might recognize (if you've worked with RRDTool directly) is the > array of commands sent to RRDs::graph. > > Somewhere in here lies the problem. > > I think I've found one potential issue, but it may be with my data. The > start time listed is actually Sun Mar 2 00:00:00 2003 instead of Sat Mar 1 > 00:00:00 2003. I haven't looked into this one yet, but I suspect Daylight > Savings Time as being the culprit here. > > Anyway back to the issue of no data in the graphs. > > My thinking is that RRDGraph maybe getting annoyed about having two > datasources one which doesn't have data at the end of the request time > period, and another that doesn't have data at the beginning. > > I'm going to setup some scripts to plug these args directly into RRDGraph > and see what it gives me. > > Thanks again for the help. > > > > On Mon, 2003-05-19 at 12:27, Steven J. Surdock, PE wrote: > > That seems to have changed the 95th percentile calculation, but data > > for one of the interfaces is not presented on the graph. I attached > > some gifs of what shows up... > > > > I tried ordering the interfaces differently in bubba_menu.conf but it > > did not seem to make a difference. It also did not change which > > interface was displayed. > > > > -Steve S. > > > > > > -----Original Message----- > > From: bub...@li... > > [mailto:bub...@li...] On Behalf Of Todd A. > > Green > > Sent: Wednesday, May 14, 2003 4:19 PM > > To: Steven Surdock > > Cc: BUBBA Users > > Subject: [Bubba-users] RE: Bubba > > > > > > On Tue, 2003-05-13 at 13:41, Steven Surdock wrote: > > > It appears the user list is a bit light on users;-( I have a couple > > > of quickies for you. > > > > > > Is there an easy way to adjust the size of the image? Ideally via > > > RRD::graph and not just via HTML. > > Check out my last response. > > > > > > > > And we changed interfaces for a customer. Is there a way for Bubba > > > to > > > combine the data from two RRDs and show it on one graph? Now I'm > > > getting two separate graphs (see attached). > > Yes there is, it's called a formula. > > > > Here's a sample from one of the example files included in the > > distribution. > > > > <formula id="billable"> > > <description>Billable Interfaces</description> > > <default>0</default> > > <operation>+/switches/ionic-5500a/interfaces/3_24</operation> > > <operation>+/switches/ionic-5500b/interfaces/5_4</operation> > > <operation>+/switches/ionic-5500b/interfaces/5_15</operation> > > <operation>+/switches/ionic-5500b/interfaces/6_1</operation> > > <operation>+/switches/ionic-5500b/interfaces/6_12</operation> > > </formula> > > > > This would go in the bubba_menu.conf file for the customer in > > question. > > > > > > > > Thanks yet again! > > No, Thank you! > > > > BTW I haven't forgotten about the previous request dealing with > > text-based reports. That one is significant enough that I'm waiting > > on 0.0.8 to implement it. Got myself stuck on some ACL stuff for the > > new portal (bubba_menu.cgi replacement). > > > > > > > > -Steve S. > > > > > > -----Original Message----- > > > From: Todd A. Green [mailto:sla...@aw...] > > > Sent: Tuesday, April 29, 2003 11:39 AM > > > To: Steven Surdock > > > Subject: RE: Bubba > > > > > > > > > I've released 0.0.7pre3 on SF with the conversion fixes. > > > > > > Thanks for the help > > > > > > ... <snip> -- Todd A. Green <sla...@aw...> |
|
From: Steven J. S. P. <ssu...@en...> - 2003-05-22 01:06:57
|
Thanks for the hint on the &_debug. I was wondering how to use that (manually putting print statements when needed is a drag.) BTW, I have a messy version of the text based report working. It works pretty hard to obtain the data, but it works. I'm going to clean it up = this weekend and add customer specific HTML email reports next week. -Steve S. -----Original Message----- From: bub...@li... [mailto:bub...@li...] On Behalf Of Todd A. = Green Sent: Wednesday, May 21, 2003 5:05 PM To: ssu...@en... Cc: BUBBA Users Subject: Re: [Bubba-users] Changing interfaces Getting closer... In the past I had only used the formulas to add interfaces that were = both taking data. I just happen to have (back in march) a case like your where we moved a connection from one interface to another. When I setup the formula I = get the same results as you (calcs, but no graph). Thinking I might have broken the formulas at some point I added one that adds two interfaces that are currently being used. That worked so that tells me this is something I hadn't seen before. BTW It is possible to enable 'debug' mode by adding &_debug=3Dtrue at = the end of a particular CGI call. One example would be to view the graph separatly (right-click and select 'view image' with mozilla). You will then see the CGI call used to = generate the graph. By adding &_debug=3Dtrue you will see a dump of a ton of = data structures. One of them looks like this: $VAR3 =3D [ '/tmp/bubba-cache/bubba-564d3f81.gif', '--title', 'ITC DS/3 (Combined) - March, 2003', '--start', 1046584800, '--end', 1049262900, =20 'DEF:in0=3D/usr/local/bubba/data/mn/routers/cisco/c7206-1/interfaces/seri= al2_0 /200303.rrd:in:LAST', =20 'DEF:out0=3D/usr/local/bubba/data/mn/routers/cisco/c7206-1/interfaces/ser= ial2_ 0/200303.rrd:out:LAST', =20 'DEF:in1=3D/usr/local/bubba/data/mn/routers/cisco/c7206-1/interfaces/seri= al1_0 /200303.rrd:in:LAST', =20 'DEF:out1=3D/usr/local/bubba/data/mn/routers/cisco/c7206-1/interfaces/ser= ial1_ 0/200303.rrd:out:LAST', 'CDEF:in_bits=3D0,in0,in1,+,+,8,*', 'CDEF:out_bits=3D0,out0,out1,+,+,8,*', =20 'DEF:dummy=3D/usr/local/bubba/data/mn/routers/cisco/c7206-1/interfaces/se= rial1 _0/200303.rrd:out:LAST', 'COMMENT:Interfaces:\\n', 'COMMENT: DS/3 to IDG\\n', 'COMMENT: DS/3 to ITC Deltacom\\n', 'COMMENT:\\n', 'COMMENT: Max 95th = Percentile\\n', 'COMMENT: ', 'AREA:in_bits#00FF00:In', 'GPRINT:in_bits:MAX: %8.3lf %sb/s ', 'HRULE:953978.166222225#000000:Current (in) ', 'COMMENT: 953.978 kb/s', 'COMMENT:\\n', 'COMMENT: ', 'LINE1:out_bits#0000FF:Out', 'GPRINT:out_bits:MAX: %8.3lf %sb/s ', 'HRULE:3000000#FF0000:Contract ', 'COMMENT: 3.000 Mb/s' ]; This you might recognize (if you've worked with RRDTool directly) is the array of commands sent to RRDs::graph. Somewhere in here lies the problem. I think I've found one potential issue, but it may be with my data. The start time listed is actually Sun Mar 2 00:00:00 2003 instead of Sat = Mar 1 00:00:00 2003. I haven't looked into this one yet, but I suspect = Daylight Savings Time as being the culprit here. Anyway back to the issue of no data in the graphs. My thinking is that RRDGraph maybe getting annoyed about having two datasources one which doesn't have data at the end of the request time period, and another that doesn't have data at the beginning. I'm going to setup some scripts to plug these args directly into = RRDGraph and see what it gives me. Thanks again for the help. On Mon, 2003-05-19 at 12:27, Steven J. Surdock, PE wrote: > That seems to have changed the 95th percentile calculation, but data=20 > for one of the interfaces is not presented on the graph. I attached=20 > some gifs of what shows up... >=20 > I tried ordering the interfaces differently in bubba_menu.conf but it=20 > did not seem to make a difference. It also did not change which=20 > interface was displayed. >=20 > -Steve S. >=20 >=20 > -----Original Message----- > From: bub...@li... > [mailto:bub...@li...] On Behalf Of Todd A.=20 > Green > Sent: Wednesday, May 14, 2003 4:19 PM > To: Steven Surdock > Cc: BUBBA Users > Subject: [Bubba-users] RE: Bubba >=20 >=20 > On Tue, 2003-05-13 at 13:41, Steven Surdock wrote: > > It appears the user list is a bit light on users;-( I have a couple > > of quickies for you. > >=20 > > Is there an easy way to adjust the size of the image? Ideally via > > RRD::graph and not just via HTML. > Check out my last response. >=20 > >=20 > > And we changed interfaces for a customer. Is there a way for Bubba=20 > > to > > combine the data from two RRDs and show it on one graph? Now I'm=20 > > getting two separate graphs (see attached). > Yes there is, it's called a formula. >=20 > Here's a sample from one of the example files included in the=20 > distribution. >=20 > <formula id=3D"billable"> > <description>Billable Interfaces</description> > <default>0</default> > <operation>+/switches/ionic-5500a/interfaces/3_24</operation> > <operation>+/switches/ionic-5500b/interfaces/5_4</operation> > <operation>+/switches/ionic-5500b/interfaces/5_15</operation> > <operation>+/switches/ionic-5500b/interfaces/6_1</operation> > <operation>+/switches/ionic-5500b/interfaces/6_12</operation> > </formula> >=20 > This would go in the bubba_menu.conf file for the customer in=20 > question. >=20 > >=20 > > Thanks yet again! > No, Thank you! >=20 > BTW I haven't forgotten about the previous request dealing with=20 > text-based reports. That one is significant enough that I'm waiting=20 > on 0.0.8 to implement it. Got myself stuck on some ACL stuff for the=20 > new portal (bubba_menu.cgi replacement). >=20 > >=20 > > -Steve S. > >=20 > > -----Original Message----- > > From: Todd A. Green [mailto:sla...@aw...] > > Sent: Tuesday, April 29, 2003 11:39 AM > > To: Steven Surdock > > Subject: RE: Bubba > >=20 > >=20 > > I've released 0.0.7pre3 on SF with the conversion fixes. > >=20 > > Thanks for the help > >=20 > > ... <snip> --=20 Todd A. Green <sla...@aw...> ------------------------------------------------------- This SF.net email is sponsored by: ObjectStore. If flattening out C++ or Java code to make your application fit in a relational database is painful, don't do it! Check out ObjectStore. Now = part of Progress Software. http://www.objectstore.net/sourceforge _______________________________________________ Bubba-users mailing list Bub...@li... https://lists.sourceforge.net/lists/listinfo/bubba-users |
|
From: Todd A. G. <sla...@aw...> - 2003-05-21 21:35:32
|
On Wed, 2003-05-21 at 16:05, Todd A. Green wrote: Ok this doesn't bode well. I dumped the RRDGraph commands to a shell script with the same effect. If I remove one or the other interfaces the graph is generated. Apparently RRDGraph doesn't like doing the CDEF on my data sources. Going to have to dig into the RRD files to see what's annoying it. > > > ... <snip> -- Todd A. Green <sla...@aw...> |
|
From: Todd A. G. <sla...@aw...> - 2003-05-21 21:21:16
|
Getting closer... In the past I had only used the formulas to add interfaces that were both taking data. I just happen to have (back in march) a case like your where we moved a connection from one interface to another. When I setup the formula I get the same results as you (calcs, but no graph). Thinking I might have broken the formulas at some point I added one that adds two interfaces that are currently being used. That worked so that tells me this is something I hadn't seen before. BTW It is possible to enable 'debug' mode by adding &_debug=true at the end of a particular CGI call. One example would be to view the graph separatly (right-click and select 'view image' with mozilla). You will then see the CGI call used to generate the graph. By adding &_debug=true you will see a dump of a ton of data structures. One of them looks like this: $VAR3 = [ '/tmp/bubba-cache/bubba-564d3f81.gif', '--title', 'ITC DS/3 (Combined) - March, 2003', '--start', 1046584800, '--end', 1049262900, 'DEF:in0=/usr/local/bubba/data/mn/routers/cisco/c7206-1/interfaces/serial2_0/200303.rrd:in:LAST', 'DEF:out0=/usr/local/bubba/data/mn/routers/cisco/c7206-1/interfaces/serial2_0/200303.rrd:out:LAST', 'DEF:in1=/usr/local/bubba/data/mn/routers/cisco/c7206-1/interfaces/serial1_0/200303.rrd:in:LAST', 'DEF:out1=/usr/local/bubba/data/mn/routers/cisco/c7206-1/interfaces/serial1_0/200303.rrd:out:LAST', 'CDEF:in_bits=0,in0,in1,+,+,8,*', 'CDEF:out_bits=0,out0,out1,+,+,8,*', 'DEF:dummy=/usr/local/bubba/data/mn/routers/cisco/c7206-1/interfaces/serial1_0/200303.rrd:out:LAST', 'COMMENT:Interfaces:\\n', 'COMMENT: DS/3 to IDG\\n', 'COMMENT: DS/3 to ITC Deltacom\\n', 'COMMENT:\\n', 'COMMENT: Max 95th Percentile\\n', 'COMMENT: ', 'AREA:in_bits#00FF00:In', 'GPRINT:in_bits:MAX: %8.3lf %sb/s ', 'HRULE:953978.166222225#000000:Current (in) ', 'COMMENT: 953.978 kb/s', 'COMMENT:\\n', 'COMMENT: ', 'LINE1:out_bits#0000FF:Out', 'GPRINT:out_bits:MAX: %8.3lf %sb/s ', 'HRULE:3000000#FF0000:Contract ', 'COMMENT: 3.000 Mb/s' ]; This you might recognize (if you've worked with RRDTool directly) is the array of commands sent to RRDs::graph. Somewhere in here lies the problem. I think I've found one potential issue, but it may be with my data. The start time listed is actually Sun Mar 2 00:00:00 2003 instead of Sat Mar 1 00:00:00 2003. I haven't looked into this one yet, but I suspect Daylight Savings Time as being the culprit here. Anyway back to the issue of no data in the graphs. My thinking is that RRDGraph maybe getting annoyed about having two datasources one which doesn't have data at the end of the request time period, and another that doesn't have data at the beginning. I'm going to setup some scripts to plug these args directly into RRDGraph and see what it gives me. Thanks again for the help. On Mon, 2003-05-19 at 12:27, Steven J. Surdock, PE wrote: > That seems to have changed the 95th percentile calculation, but data for one > of the interfaces is not presented on the graph. I attached some gifs of > what shows up... > > I tried ordering the interfaces differently in bubba_menu.conf but it did > not seem to make a difference. It also did not change which interface was > displayed. > > -Steve S. > > > -----Original Message----- > From: bub...@li... > [mailto:bub...@li...] On Behalf Of Todd A. Green > Sent: Wednesday, May 14, 2003 4:19 PM > To: Steven Surdock > Cc: BUBBA Users > Subject: [Bubba-users] RE: Bubba > > > On Tue, 2003-05-13 at 13:41, Steven Surdock wrote: > > It appears the user list is a bit light on users;-( I have a couple > > of quickies for you. > > > > Is there an easy way to adjust the size of the image? Ideally via > > RRD::graph and not just via HTML. > Check out my last response. > > > > > And we changed interfaces for a customer. Is there a way for Bubba to > > combine the data from two RRDs and show it on one graph? Now I'm > > getting two separate graphs (see attached). > Yes there is, it's called a formula. > > Here's a sample from one of the example files included in the distribution. > > <formula id="billable"> > <description>Billable Interfaces</description> > <default>0</default> > <operation>+/switches/ionic-5500a/interfaces/3_24</operation> > <operation>+/switches/ionic-5500b/interfaces/5_4</operation> > <operation>+/switches/ionic-5500b/interfaces/5_15</operation> > <operation>+/switches/ionic-5500b/interfaces/6_1</operation> > <operation>+/switches/ionic-5500b/interfaces/6_12</operation> > </formula> > > This would go in the bubba_menu.conf file for the customer in question. > > > > > Thanks yet again! > No, Thank you! > > BTW I haven't forgotten about the previous request dealing with text-based > reports. That one is significant enough that I'm waiting on 0.0.8 to > implement it. Got myself stuck on some ACL stuff for the new portal > (bubba_menu.cgi replacement). > > > > > -Steve S. > > > > -----Original Message----- > > From: Todd A. Green [mailto:sla...@aw...] > > Sent: Tuesday, April 29, 2003 11:39 AM > > To: Steven Surdock > > Subject: RE: Bubba > > > > > > I've released 0.0.7pre3 on SF with the conversion fixes. > > > > Thanks for the help > > > > ... <snip> -- Todd A. Green <sla...@aw...> |
|
From: Steven J. S. P. <ssu...@en...> - 2003-05-19 17:27:04
|
That seems to have changed the 95th percentile calculation, but data for one
of the interfaces is not presented on the graph. I attached some gifs of
what shows up...
I tried ordering the interfaces differently in bubba_menu.conf but it did
not seem to make a difference. It also did not change which interface was
displayed.
-Steve S.
-----Original Message-----
From: bub...@li...
[mailto:bub...@li...] On Behalf Of Todd A. Green
Sent: Wednesday, May 14, 2003 4:19 PM
To: Steven Surdock
Cc: BUBBA Users
Subject: [Bubba-users] RE: Bubba
On Tue, 2003-05-13 at 13:41, Steven Surdock wrote:
> It appears the user list is a bit light on users;-( I have a couple
> of quickies for you.
>
> Is there an easy way to adjust the size of the image? Ideally via
> RRD::graph and not just via HTML.
Check out my last response.
>
> And we changed interfaces for a customer. Is there a way for Bubba to
> combine the data from two RRDs and show it on one graph? Now I'm
> getting two separate graphs (see attached).
Yes there is, it's called a formula.
Here's a sample from one of the example files included in the distribution.
<formula id="billable">
<description>Billable Interfaces</description>
<default>0</default>
<operation>+/switches/ionic-5500a/interfaces/3_24</operation>
<operation>+/switches/ionic-5500b/interfaces/5_4</operation>
<operation>+/switches/ionic-5500b/interfaces/5_15</operation>
<operation>+/switches/ionic-5500b/interfaces/6_1</operation>
<operation>+/switches/ionic-5500b/interfaces/6_12</operation>
</formula>
This would go in the bubba_menu.conf file for the customer in question.
>
> Thanks yet again!
No, Thank you!
BTW I haven't forgotten about the previous request dealing with text-based
reports. That one is significant enough that I'm waiting on 0.0.8 to
implement it. Got myself stuck on some ACL stuff for the new portal
(bubba_menu.cgi replacement).
>
> -Steve S.
>
> -----Original Message-----
> From: Todd A. Green [mailto:sla...@aw...]
> Sent: Tuesday, April 29, 2003 11:39 AM
> To: Steven Surdock
> Subject: RE: Bubba
>
>
> I've released 0.0.7pre3 on SF with the conversion fixes.
>
> Thanks for the help
>
> ... <snip>
--
Todd A. Green <sla...@aw...>
-------------------------------------------------------
Enterprise Linux Forum Conference & Expo, June 4-6, 2003, Santa Clara The
only event dedicated to issues related to Linux enterprise solutions
www.enterpriselinuxforum.com
_______________________________________________
Bubba-users mailing list
Bub...@li...
https://lists.sourceforge.net/lists/listinfo/bubba-users
|
|
From: Steven J. S. P. <ssu...@en...> - 2003-05-15 17:20:49
|
Thanks again! My next task is to (still) produce text-based summaries. One summary = for administration and a customer-based one for each usage-billed customer. Do you happen to have the prototype documented for the $form_data_ref variable in bubba_menu.cgi? -Steve S. -----Original Message----- From: bub...@li... [mailto:bub...@li...] On Behalf Of Todd A. = Green Sent: Wednesday, May 14, 2003 4:14 PM To: ssu...@en... Cc: Bub...@li... Subject: Re: [Bubba-users] Image size (Holy cow, a posting!) Via RRDs::graph you would add a --height <pixels> and/or --width = <pixels> arguments. I've added two global vars in bubba_conf.pl $Global::Graph_Height, $Global::Graph_Width which will override the RRDs::graph defaults. This is in 0.0.7pre4. Haven't release it yet though. Waiting for your = next request. ;) |
|
From: Todd A. G. <sla...@aw...> - 2003-05-14 21:20:57
|
On Tue, 2003-05-13 at 13:41, Steven Surdock wrote:
> It appears the user list is a bit light on users;-( I have a couple of
> quickies for you.
>
> Is there an easy way to adjust the size of the image? Ideally via
> RRD::graph and not just via HTML.
Check out my last response.
>
> And we changed interfaces for a customer. Is there a way for Bubba to
> combine the data from two RRDs and show it on one graph? Now I'm getting
> two separate graphs (see attached).
Yes there is, it's called a formula.
Here's a sample from one of the example files included in the
distribution.
<formula id="billable">
<description>Billable Interfaces</description>
<default>0</default>
<operation>+/switches/ionic-5500a/interfaces/3_24</operation>
<operation>+/switches/ionic-5500b/interfaces/5_4</operation>
<operation>+/switches/ionic-5500b/interfaces/5_15</operation>
<operation>+/switches/ionic-5500b/interfaces/6_1</operation>
<operation>+/switches/ionic-5500b/interfaces/6_12</operation>
</formula>
This would go in the bubba_menu.conf file for the customer in question.
>
> Thanks yet again!
No, Thank you!
BTW I haven't forgotten about the previous request dealing with
text-based reports. That one is significant enough that I'm waiting on
0.0.8 to implement it. Got myself stuck on some ACL stuff for the new
portal (bubba_menu.cgi replacement).
>
> -Steve S.
>
> -----Original Message-----
> From: Todd A. Green [mailto:sla...@aw...]
> Sent: Tuesday, April 29, 2003 11:39 AM
> To: Steven Surdock
> Subject: RE: Bubba
>
>
> I've released 0.0.7pre3 on SF with the conversion fixes.
>
> Thanks for the help
>
> ... <snip>
--
Todd A. Green <sla...@aw...>
|
|
From: Todd A. G. <sla...@aw...> - 2003-05-14 21:16:41
|
Via RRDs::graph you would add a --height <pixels> and/or --width <pixels> arguments. I've added two global vars in bubba_conf.pl $Global::Graph_Height, $Global::Graph_Width which will override the RRDs::graph defaults. This is in 0.0.7pre4. Haven't release it yet though. Waiting for your next request. ;) On Wed, 2003-05-07 at 08:40, Steven J. Surdock, PE wrote: > Is there an easy way to adjust the size of the image? Ideally via > RRD::graph and not just via HTML. > > Thanks. > > -Steve S. -- Todd A. Green <sla...@aw...> |
|
From: Steven J. S. P. <ssu...@en...> - 2003-05-07 13:39:35
|
Is there an easy way to adjust the size of the image? Ideally via RRD::graph and not just via HTML. Thanks. -Steve S. |
|
From: Todd A. G. <sla...@aw...> - 2003-04-21 17:22:52
|
In response to requests, issues, my own needs, etc, I have release 0.0.7pre1. It is available at http://bubba.sf.net/ This version includes fixes for a file naming issue as well as warnings and other cleanups. Features: Added support for Max(in,out) percentile calculation. This determines the percentile value by running the calculation on ifInOctets and ifOutOctets separately and choosing the larger of the two values. The graph parameters have been changed to match Crickets (AREA for In, LINE for Out). Added support for using Cricket datasources for current day calculations. Previously the current day's values were unavailable until the extraction was run. This gives you a current percentile calc to match the historic data in BUBBA. -- Todd A. Green <sla...@aw...> |