[Orca-dev] Re: Updating Orca graphs at longer intervals

Blair Zajac blair at akamai.com
Mon Apr 2 10:50:40 PDT 2001


Hi David,

I like using minutes instead of seconds.

Can you send the patch to the mailing list?

Regards,
Blair

David Aitchison wrote:
> 
> Hi Blair,
> 
> I believe I've got this sorted on Orca 0.26.  There's probably a little testing left to be done, but I think it's quite bomb-proof.
> 
> Updates are made at interval_in_minutes rather than interval in seconds.  To me the granularity of seconds seemed a little over the top, but comments there are welcome.
> 
> As for inserting the code into the latest beta (once my testing is sufficient), I have never contributed to an open source project, so you'd best tell me how it is done.
> 
> I will also need a copy of the beta at some stage.
> 
> Cheerio,
> 
> David.
> 
> David Aitchison
> David.Aitchison at abci.gov.au
> (02) 6243 5610       ---       0402 057671
> 
>   -----------------------------------------  ooOOoo  ----------------------------------------
> One of the greatest labour saving inventions of today is tomorrow.
>   -----------------------------------------  ooOOoo  ----------------------------------------
> 
> >>> Blair Zajac <blair at akamai.com> 03/30/01 02:30PM >>>
> Hi David,
> 
> How about something like this:
> 
> # Generate plot times specifies the time intervals when Orca will
> # generates an image file only once.  If Orca has generated an image
> # file in a particular time interval, it won't do so until the next
> # time interval.  The interval locations may be specified in the form
> #   HH:MM
> # or
> #   HH:MM/hh:mm/interval_in_seconds
> # The second form is equivalent to
> #   HH:MM HH:MM+interval HH:MM+2*interval ....
> # until hh:mm is reached.  This lets users do something like this:
> 
> generate_plot_times 1:00 8:00/18:00/120 23:00
> 
> This generates plots at 1 AM, 8 AM to 6 PM every two hours and then
> at 11 PM.
> 
> Comments welcome.
> 
> Regards,
> Blair
> 
> David Aitchison wrote:
> >
> > Thread Carried over from orca-users:
> >
> > Hi again Blair,
> >
> > Would you expect that the generate_plot_times would be in the same format as find_times - ie. an array of plot times throughout the day?
> >
> > The alternative that I can think of is a time interval in seconds, so that graphs are re-drawn every, say, 30 minutes (1800 seconds).  This may be better if people want graphs more often that a few times a day, and don't want to have a hugely long entry in orcallator.cfg.
> >
> > Your advice here is invaluable.
> >
> > David Aitchison
> > David.Aitchison at abci.gov.au
> > (02) 6243 5610       ---       0402 057671
> >
> >   -----------------------------------------  ooOOoo  ----------------------------------------
> > One of the greatest labour saving inventions of today is tomorrow.
> >   -----------------------------------------  ooOOoo  ----------------------------------------
> >
> > Hi David,
> >
> > Unfortunately, your message went to the mailing list, not to me
> > directly due to the way Yahoo! Groups adds a Reply-To SMTP header
> > to all email (manually changing the reply is the only way around
> > this AFAIK).
> >
> > In any case, there are many people here who aren't Perl Gods and
> > any contributions, small or large, are welcome!
> >
> > Regards,
> > Blair
> >
> > David Aitchison wrote:
> > >
> > > Hi Blair,
> > >
> > > I have addressed this direct to save myself from the onslaught of the
> > > Perl Gods reading orca-users..!
> > >
> > > I am interested in giving this a go, but am not convinced my Perl
> > > skills are quite up with the likes of your own.  So, I have taken to
> > > pulling apart Orca 0.26 in detail, which should tell me quickly if I
> > > am up to the task.
> > >
> > > Should I find what I believe is required, I'll grab that latest beta.
> > > I just don't want to promise something that I may not come through
> > > with.
> > >
> > > Cheers,
> > >
> > > David Aitchison
> > > David.Aitchison at abci.gov.au
> > > (02) 6243 5610       ---       0402 057671
> > >
> > >   -----------------------------------------  ooOOoo
> > > ----------------------------------------
> > > One of the greatest labour saving inventions of today is tomorrow.
> > >   -----------------------------------------  ooOOoo
> > > ----------------------------------------
> > >
> > > >>> Blair Zajac <blair at akamai.com> 03/29/01 03:38PM >>>
> > > Hello David,
> > >
> > > Currently there is no way to do what you're looking for except by
> > > the method you use with -o -r and then -o command line options.
> > >
> > > It wouldn't be too hard, and I would appreciate the patches, to take
> > > some of the code that implements the find_times parameter, such as the
> > > time parsing, and use it to regenerate the images after a specific
> > > time.  If you choose to take on this mission :), I'll send you the
> > > latest Orca beta version to work with.  I think naming the new
> > > parameter "generate_plot_times" would be a good fit with some new
> > > parameters in the next Orca release.
> > >
> > > Regards,
> > > Blair
> > >
> > > David Aitchison wrote:
> > > >
> > > > Hello all,
> > > >
> > > > I have scoured the Orca mailing list archives and found nothing on
> > > > this, so here goes...
> > > >
> > > > As I see it, at set intervals Orca checks for updated percol* files,
> > > > updates rrd's from that, then generates graphs for whatever requires
> > > > re-graphing.  This is great for a powerful server, or just a few
> > > > clients to graph, but the CPU time required for graphing for all our
> > > > servers is getting too much.
> > > >
> > > > My question:
> > > >
> > > > ...Has anyone found a way to have Orca update rrd files regularly,
> > > but
> > > > only update graphs once in a while?
> > > >
> > > > I know this can be done by running Orca with -o and -r switches
> > > > regularly, then just -o every so often, but I prefer to keep Orca
> > > > running constantly, so as not to have to re-read all the past
> > > percol*
> > > > files (as it does with a -o switch).
> > > >
> > > > Many thanks in advance,
> > > >
> > > > David Aitchison
> > > > David.Aitchison at abci.gov.au
> > > > (02) 6243 5610       ---       0402 057671
> > > >
> > > >   -----------------------------------------  ooOOoo
> > > > ----------------------------------------
> > > > One of the greatest labour saving inventions of today is tomorrow.
> > > >   -----------------------------------------  ooOOoo
> > > > ----------------------------------------
> > > >
> > > > *******************************************************************
> > > >                                                    WARNING
> > > >
> > > > The information contained in this email and any files attached may
> > > be
> > > > confidential  information to the intended recipient and may be the
> > > > subject of legal privilege or  public interest immunity.
> > > >
> > > > If you are not the intended recipient, any use, disclosure or
> > > copying
> > > > is
> > > > unauthorised.
> > > >
> > > > If you have received this document in error please notify the sender
> > > > immediately and delete it from your InBox.
> > > >
> > > > Mail and Attachments are subject to content scanning for
> > > inappropriate
> > > > material including, but are not limited to, the transmission of
> > > > DEFAMATORY,
> > > > OBSCENE or HARASSING messages.
> > > >
> > > > This footnote also confirms, In accordance with ABCI Corporate IT
> > > > Security
> > > > Policy, MIMEsweeper has swept the email message for the presence of
> > > > known computer viruses. This process does not guarantee the email is
> > > > free from viruses
> > > >
> > > > *******************************************************************
> > >
> > > http://docs.yahoo.com/info/terms/
> > >
> > > *******************************************************************
> > >                                                    WARNING
> > >
> > > The information contained in this email and any files attached may be
> > > confidential  information to the intended recipient and may be the
> > > subject of legal privilege or  public interest immunity.
> > >
> > > If you are not the intended recipient, any use, disclosure or copying
> > > is
> > > unauthorised.
> > >
> > > If you have received this document in error please notify the sender
> > > immediately and delete it from your InBox.
> > >
> > > Mail and Attachments are subject to content scanning for inappropriate
> > > material including, but are not limited to, the transmission of
> > > DEFAMATORY,
> > > OBSCENE or HARASSING messages.
> > >
> > > This footnote also confirms, In accordance with ABCI Corporate IT
> > > Security
> > > Policy, MIMEsweeper has swept the email message for the presence of
> > > known computer viruses. This process does not guarantee the email is
> > > free from viruses
> > >
> > > *******************************************************************
> > >
> > >                    Yahoo! Groups Sponsor
> > > [Click Here to Find Software Faster]
> > > Click Here to Find Software Faster
> > >
> > >
> >
> >
> >
> >
> > *******************************************************************
> >                                                    WARNING
> >
> > The information contained in this email and any files attached may be
> > confidential  information to the intended recipient and may be the
> > subject of legal privilege or  public interest immunity.
> >
> > If you are not the intended recipient, any use, disclosure or copying is
> > unauthorised.
> >
> > If you have received this document in error please notify the sender
> > immediately and delete it from your InBox.
> >
> > Mail and Attachments are subject to content scanning for inappropriate
> > material including, but are not limited to, the transmission of DEFAMATORY,
> > OBSCENE or HARASSING messages.
> >
> > This footnote also confirms, In accordance with ABCI Corporate IT Security
> > Policy, MIMEsweeper has swept the email message for the presence of
> > known computer viruses. This process does not guarantee the email is free from viruses
> >
> > *******************************************************************
> >
> >
> >
> >
> 
> 
> 
> 
> *******************************************************************
>                                                    WARNING
> 
> The information contained in this email and any files attached may be
> confidential  information to the intended recipient and may be the
> subject of legal privilege or  public interest immunity.
> 
> If you are not the intended recipient, any use, disclosure or copying is
> unauthorised.
> 
> If you have received this document in error please notify the sender
> immediately and delete it from your InBox.
> 
> Mail and Attachments are subject to content scanning for inappropriate
> material including, but are not limited to, the transmission of DEFAMATORY,
> OBSCENE or HARASSING messages.
> 
> This footnote also confirms, In accordance with ABCI Corporate IT Security
> Policy, MIMEsweeper has swept the email message for the presence of
> known computer viruses. This process does not guarantee the email is free from viruses
> 
> *******************************************************************
> 
> ------------------------ Yahoo! Groups Sponsor ---------------------~-~>
> Find software faster. Search more than 20,000
> software solutions on KnowledgeStorm. Register
> now and get started.
> http://us.click.yahoo.com/kVJDAA/zMSCAA/Ig4EAA/N0AVlB/TM
> ---------------------------------------------------------------------_->
> 
> 
> 



More information about the Orca-dev mailing list