[Orca-users] Re: hourly ??? ( Daily, Weekly, Monthly,...)
Blair Zajac
blair at akamai.com
Thu Feb 8 15:35:40 PST 2001
To get hourly reports, you'll want to apply the following patch,
which will generate plots slightly longer than an hour. Change
the 0.05 value to a larger or smaller value to change the amount
of time the plots show.
--- ../orca-0.26/lib/Orca/Constants.pm Wed Mar 1 17:03:50 2000
+++ lib/Orca/Constants.pm Thu Feb 8 15:23:32 2001
@@ -57,10 +57,10 @@
# pixels wide.
use vars qw(@IMAGE_PLOT_TYPES @IMAGE_PDP_COUNTS
@IMAGE_DAYS_BACK);
push(@EXPORT_OK, qw(@IMAGE_PLOT_TYPES @IMAGE_PDP_COUNTS
@IMAGE_DAYS_BACK));
- at IMAGE_PLOT_TYPES = (@RRA_PLOT_TYPES[0..2], 'quarterly',
$RRA_PLOT_TYPES[3]);
- at IMAGE_PDP_COUNTS = (@RRA_PDP_COUNTS[0..2], @RRA_PDP_COUNTS[3, 3]);
- at IMAGE_DAYS_BACK = ( 1.5, 10, 40, 100, 428);
-# Data points -> (432 , 480, 480, 100, 428);
+ at IMAGE_PLOT_TYPES = ('hourly', @RRA_PLOT_TYPES[0..2], 'quarterly',
$RRA_PLOT_TYPES[3]);
+ at IMAGE_PDP_COUNTS = ($RRA_PDP_COUNTS[0], @RRA_PDP_COUNTS[0..2],
@RRA_PDP_COUNTS[3, 3]);
+ at IMAGE_DAYS_BACK = (0.05, 1.5, 10, 40, 100, 428);
+# Data points -> ( 432 , 480, 480, 100, 428);
# This subroutine is compiled once to prevent compiling of the
# subroutine sub { die $_[0] } every time an eval block is entered.
If you want to show hourly data using orcallator.se data, you'll
probably want to decrease the measurement interval from 5 to 1 minute
and change the interval value in orcallator.cfg from 300 to 60
seconds, otherwise the hourly plots will look blocky.
Regarding AVERAGE, I presume you're talking about the RRD files and
not the plot summaries, since the plot summaries print the LAST,
AVERAGE, MIN and MAX values. If you want to change the consolidation
function for the RRD files, you'll need to search and replace AVERAGE
in lib/Orca/RRDFile.pm.
Regards,
Blair
-------- Original Message --------
Subject: Re: [orca-users] hourly ??? ( Daily, Weekly, Monthly,...)
Date: Thu, 8 Feb 2001 21:05:05 +0100
From: "Mbh" <mehdi.ben_hassen at alcatel.be>
Reply-To: orca-users at yahoogroups.com
To: <orca-users at yahoogroups.com>
- about Hourly html report, Orca generate well only (daily, weekly,
monthly,quartely,yearly,all) but not hourly in order to get more
precision. How do that ??
- I would like to get the exact value that I read on the data file
(input)
and not a AVERAGE. How do that ??
Thanks for your help.
----- Original Message -----
From: Blair Zajac
To: orca-users at yahoogroups.com
Sent: Thursday, February 08, 2001 12:33 AM
Subject: Re: [orca-users] hourly ??? ( Daily, Weekly, Monthly,...)
> Mbh wrote:
>
>
> Is it possible that Orca generate also the Hourly html report ?
Orca should generate these automatically. What is happening that
you aren't seeing hourly reports?
>
> Is it possible to change the "last_ds" on the database (.rrd)
> generated by Orca ?
You'll have to do this through an external RRD script, as Orca will
not modify this directly, except through the process of adding new
data to the RRD.
>
> Is it possible to change the "minimal_heartbeat" on the database
> (.rrd) generated by Orca ?
Once an RRD file is generated by Orca, you'll need to change the
heartbeat using an external script.
If you want to change the heartbeat, you should modify the interval
parameter in Orca's configuration file. Once the interval is
modified,
Orca will not change the heartbeat in any existing RRD files, but
any newly created RRD files will have the new heartbeat.
Regards,
Blair
>
> Thanks for your help.
>
More information about the Orca-users
mailing list