Re: Combining three graphs into one

Ernesto Rubi <[email protected]>
Newsgroups gmane.network.cricket.user
Message-ID <[email protected]>
Hi Alan,

Thanks much for your help! I'm glad folks like you are behind the  
scenes at TMobile; makes me glad I've had Tmobile as my mobile  
carrier for over 4 years now...

Here are my RRA definitions; I'm posting them for general comments/ 
list reference.  I hope folks call me out if I've missed a step or  
have the wrong idea here on the calculations:

RRA step definition: 60 seconds

RRA database definitions:
# one point per minute, spanning 50 hours
rra        minAve       AVERAGE:0.5:1:3000
# one point per 5 minutes, spanning 12 days
rra        5minAve      AVERAGE:0.5:5:3456
# one point every 5 minutes, spanning 50 days
rra        monthAve        AVERAGE:0.5:5:14400
# one point every 30 minutes, spanning 400 days
rra        yearAve       AVERAGE:0.5:30:19200

Thanks.  I plan to follow your suggestions tomorrow morning and will  
keep you posted as to what results I get.

Ernie
=)

On Jun 25, 2007, at 7:40 PM, Alan Edmonds wrote:

> First take a backup of your cricket-config and cricket-data :-)
>
> You need to edit the Defaults file (or somewhere) the new RRA  
> definitions.  They only get used when creating new RRDs (I think -  
> can someone else confirm this?)
>
> What you could do is create a subdirectory under cricket-config  
> called something like "archive" etc.
> Move your existing cricket-config into this directory (including  
> Defaults).  Then in your
> cricket-data directory; do the same thing.  Create a subdir  
> "archive" (or whatever you called it under cricket-config).
> And move everything under that subdir.
>
> Caution: turn off the collector during this work.  Otherwise it  
> could recreate things wrong.
>
> Then edit your Defaults file with the new 1 min polling RRA  
> definitions - Please post them to the list.  I'm sure people are  
> interested.
>
> Then you can recompile the config and startup the collector.
>
> I don't think you need to change the grapher - see what things look  
> like.  If you want to change it, you can just adjust the stuff  
> dealing with ranges.
> -----Original Message-----
> From: Ernesto Rubi [mailto:[email protected]]
> Sent: 25 June 2007 19:44
> To: Alan Edmonds
> Cc: [email protected]
> Subject: Re: [cricket-users] Combining three graphs into one
>
> Hi Alan,
>
> I really hate to be a bother but I have one more questions for you  
> regarding this.  I've calculated the new RRA definitions, edited  
> the crontab to poll at one minute intervals; however I've not  
> changed the Defaults file under the cricket-config directory.
>
> I want to now move to the new polling, but keep the old RRD graphs  
> as historical data; how can I keep these graphs around and  
> accessible? I have all the cricket-data RRD files but again, need  
> to move it to like a "previous history" directory before the change.
>
> Also, what file do I need to change to change the grapher?
>
> Ernesto
> On May 29, 2007, at 2:11 PM, Alan Edmonds wrote:
>
>> That's a bit tougher. you need to edit your crontab to poll at one  
>> minute intervals.
>> The harder job is to create new rra definitions for 1 min  
>> resolution data points.
>> If you do this, you will loose all of the data you have collected  
>> so far.
>>
>> To change the grapher, that's not so bad.  You have to just change  
>> the values of the ranges in grapher.cgi.  But it won't change the  
>> data.
>> I added a new range "half-week" to my grapher that shows three and  
>> a half days.  It's handy for looking back over a three day weekend.
>> -----Original Message-----
>> From: Ernesto Rubi [mailto:[email protected]]
>> Sent: 29 May 2007 19:04
>> To: Alan Edmonds
>> Subject: Re: [cricket-users] Combining three graphs into one
>>
>> Now that we're on the subject, do you know how I can bring the  
>> polling time to 1 minute, 5 minutes, 5 minutes and 30 minutes for  
>> the daily,weekly,monthly and yearly graphs for all my graphs?   
>> I've looked for a global config file to do this but I can't find it.
>>
>> Thanks,
>>
>>
>> On May 29, 2007, at 11:54 AM, Alan Edmonds wrote:
>>
>>> did it work?  It should be target-type not targe-type and it  
>>> should be the type of target (just like the GigabitEthernet3/6  
>>> target entries.  )
>>> The values of mtargets are the target NAMEs.
>>>
>>> examples
>>>
>>> target interface1
>>>     target-type = standard-interface
>>>     short-desc = "blah blah blah"
>>>
>>> target interface2
>>>     target-type = standard-interface
>>>     short-desc = "balh..."
>>>
>>> target WHREN
>>>     target-type = standard-interface
>>>     mtargets = "interface1;interface2"
>>>     mtarget-ops = sum()
>>> or
>>>     mtargets-ops = sum()
>>>
>>> Alan
>>> -----Original Message-----
>>> From: Ernesto Rubi [mailto:[email protected]]
>>> Sent: 29 May 2007 16:47
>>> To: Alan Edmonds
>>> Subject: Re: [cricket-users] Combining three graphs into one
>>>
>>> target WHREN
>>>         mtargets =  
>>> "GigabitEthernet3/6;GigabitEthernet3/3.2006-802.1Q vLAN subif"
>>>         mtargets-ops = sum()
>>>         targe-type = mtargets-ops
>>>         short-desc    =    "Combined  Traffic on STM-16"
>>>         long-desc    =    "Combined Traffic on STM-16"
>>>
>>> On May 29, 2007, at 11:44 AM, Alan Edmonds wrote:
>>>
>>>> It could also be mtarget-ops or mtargets-ops.  There is some  
>>>> disagreement in the code as well.
>>>> -----Original Message-----
>>>> From: Ernesto Rubi [mailto:[email protected]]
>>>> Sent: 29 May 2007 16:43
>>>> To: Alan Edmonds
>>>> Subject: Re: [cricket-users] Combining three graphs into one
>>>>
>>>> Should the target type be: "sub-interface"?
>>>> I've specified the name to be something other than "all" and it  
>>>> didn't complain.
>>>>
>>>> Thanks again for the prompt help!
>>>>
>>>> On May 29, 2007, at 11:37 AM, Alan Edmonds wrote:
>>>>
>>>>> You also need a target-type entry as well.....
>>>>>
>>>>> copy an existing target.
>>>>> change the name to  "all" or something like that - the name  
>>>>> doesn't matter that much.
>>>>> Add the mtargets = and mtargets-ops = tags and that should do it.
>>>>> -----Original Message-----
>>>>> From: Ernesto Rubi [mailto:[email protected]]
>>>>> Sent: 29 May 2007 16:31
>>>>> To: Alan Edmonds
>>>>> Subject: Re: [cricket-users] Combining three graphs into one
>>>>>
>>>>> thanks, I'll config that now...
>>>>>
>>>>> Ernie
>>>>>
>>>>> On May 29, 2007, at 11:15 AM, Alan Edmonds wrote:
>>>>>
>>>>>>
>>>>>> piece of cake.
>>>>>>
>>>>>> create a new target
>>>>>>
>>>>>> target all
>>>>>> mtargets = "interface1;interface2;interface3"
>>>>>> mtargets-ops = sum()
>>>>>>
>>>>>>
>>>>>>
>>>>>>
>>>>>>
>>>>>> -----Original Message-----
>>>>>> From: [email protected]
>>>>>> [mailto:[email protected]]On Behalf  
>>>>>> Of Ernesto
>>>>>> Rubi
>>>>>> Sent: 29 May 2007 16:09
>>>>>> To: [email protected]
>>>>>> Subject: [cricket-users] Combining three graphs into one
>>>>>>
>>>>>>
>>>>>> Hi folks,
>>>>>>
>>>>>> I'm looking to combine the values of three different  
>>>>>> interfaces into
>>>>>> one 'aggregate' graph showing the total traffic going across the
>>>>>> router.  Does anyone have any docs or an idea on how to get  
>>>>>> this done?
>>>>>>
>>>>>> Thanks,
>>>>>>
>>>>>> Ernesto
>>>>>> ----------------------------------------------------------------- 
>>>>>> --------
>>>>>> This SF.net email is sponsored by DB2 Express
>>>>>> Download DB2 Express C - the FREE version of DB2 express and take
>>>>>> control of your XML. No limits. Just data. Click to get it now.
>>>>>> http://sourceforge.net/powerbar/db2/
>>>>>> _______________________________________________
>>>>>> cricket-users mailing list
>>>>>> [email protected]
>>>>>> https://lists.sourceforge.net/lists/listinfo/cricket-users
>>>>>> T-Mobile International UK Limited
>>>>>> Company Registered Number: 3951860
>>>>>> Registered Office Address: Hatfield Business Park, Hatfield,  
>>>>>> Hertfordshire, AL10 9BW
>>>>>> Registered in England and Wales
>>>>>>
>>>>>> NOTICE AND DISCLAIMER
>>>>>>
>>>>>> This email (including attachments) is confidential. If you are  
>>>>>> not the intended recipient, notify the sender immediately,  
>>>>>> delete this email from your system and do not disclose or use  
>>>>>> for any purpose
>>>>>
>>>>> Ernesto M. Rubi
>>>>> Sr. Network Engineer
>>>>> AMPATH/CIARA
>>>>> Florida International Univ, Miami
>>>>> Reply-to: [email protected]
>>>>> Cell: 786-282-6783
>>>>>
>>>>>
>>>>>
>>>>>
>>>>> T-Mobile International UK Limited
>>>>> Company Registered Number: 3951860
>>>>> Registered Office Address: Hatfield Business Park, Hatfield,  
>>>>> Hertfordshire, AL10 9BW
>>>>> Registered in England and Wales
>>>>>
>>>>> NOTICE AND DISCLAIMER
>>>>>
>>>>> This email (including attachments) is confidential. If you are  
>>>>> not the intended recipient, notify the sender immediately,  
>>>>> delete this email from your system and do not disclose or use  
>>>>> for any purpose
>>>>
>>>>
>>>>
>>>>
>>>>
>>>>
>>>> T-Mobile International UK Limited
>>>> Company Registered Number: 3951860
>>>> Registered Office Address: Hatfield Business Park, Hatfield,  
>>>> Hertfordshire, AL10 9BW
>>>> Registered in England and Wales
>>>>
>>>> NOTICE AND DISCLAIMER
>>>>
>>>> This email (including attachments) is confidential. If you are  
>>>> not the intended recipient, notify the sender immediately,  
>>>> delete this email from your system and do not disclose or use  
>>>> for any purpose
>>>
>>>
>>>
>>>
>>>
>>> T-Mobile International UK Limited
>>> Company Registered Number: 3951860
>>> Registered Office Address: Hatfield Business Park, Hatfield,  
>>> Hertfordshire, AL10 9BW
>>> Registered in England and Wales
>>>
>>> NOTICE AND DISCLAIMER
>>>
>>> This email (including attachments) is confidential. If you are  
>>> not the intended recipient, notify the sender immediately, delete  
>>> this email from your system and do not disclose or use for any  
>>> purpose
>>
>> Ernesto M. Rubi
>> Sr. Network Engineer
>> AMPATH/CIARA
>> Florida International Univ, Miami
>> Reply-to: [email protected]
>> Cell: 786-282-6783
>>
>>
>>
>>
>> T-Mobile International UK Limited
>> Company Registered Number: 3951860
>> Registered Office Address: Hatfield Business Park, Hatfield,  
>> Hertfordshire, AL10 9BW
>> Registered in England and Wales
>>
>> NOTICE AND DISCLAIMER
>>
>> This email (including attachments) is confidential. If you are not  
>> the intended recipient, notify the sender immediately, delete this  
>> email from your system and do not disclose or use for any purpose
>
> Ernesto M. Rubi
> Sr. Network Engineer
> AMPATH/CIARA
> Florida International Univ, Miami
> Reply-to: [email protected]
> Cell: 786-282-6783
>
>
>
>
> T-Mobile International UK Limited
> Company Registered Number: 3951860
> Registered Office Address: Hatfield Business Park, Hatfield,  
> Hertfordshire, AL10 9BW
> Registered in England and Wales
>
> NOTICE AND DISCLAIMER
>
> This email (including attachments) is confidential. If you are not  
> the intended recipient, notify the sender immediately, delete this  
> email from your system and do not disclose or use for any purpose
>

Ernesto M. Rubi
Sr. Network Engineer
AMPATH/CIARA
Florida International Univ, Miami
Reply-to: [email protected]
Cell: 786-282-6783




-------------------------------------------------------------------------
This SF.net email is sponsored by DB2 Express
Download DB2 Express C - the FREE version of DB2 express and take
control of your XML. No limits. Just data. Click to get it now.
http://sourceforge.net/powerbar/db2/
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.