[Orca-checkins] r300 - in trunk/orca: . lib/Orca orca
Blair Zajac
blair at orcaware.com
Thu Apr 8 21:34:06 PDT 2004
Author: blair
Date: Thu Apr 8 21:33:39 2004
New Revision: 300
Modified:
trunk/orca/TODO
trunk/orca/lib/Orca/Constants.pm
trunk/orca/lib/Orca/RRDFile.pm
trunk/orca/orca/orca.pl.in
Log:
* TODO,
* lib/Orca/Constants.pm,
* lib/Orca/RRDFile.pm,
* orca/orca.pl.in:
Replace all tabs with spaces.
Modified: trunk/orca/TODO
==============================================================================
--- trunk/orca/TODO (original)
+++ trunk/orca/TODO Thu Apr 8 21:33:39 2004
@@ -21,7 +21,7 @@
Update procallator to the latest version.
Remove the percol listing in find_files in procallator.cfg and
- orca_services.cfg.
+orca_services.cfg.
Update orca_services to 1.7.2 or 2.0.
Modified: trunk/orca/lib/Orca/Constants.pm
==============================================================================
--- trunk/orca/lib/Orca/Constants.pm (original)
+++ trunk/orca/lib/Orca/Constants.pm Thu Apr 8 21:33:39 2004
@@ -16,14 +16,14 @@
@ISA = qw(Exporter);
$VERSION = substr q$Revision: 0.01 $, 10;
-# ORCA_VERSION This version of Orca.
-# ORCA_RRD_VERSION This is the version number used in creating the DS
-# names in RRDs. This should be updated any time a
-# new version of Orca needs some new content in its
-# RRD files. The DS name is a concatentation of the
-# string Orca with this string of digits.
-# DAY_SECONDS The number of seconds in one day.
-# IS_WIN32 If Orca is running on a Windows platform.
+# ORCA_VERSION This version of Orca.
+# ORCA_RRD_VERSION This is the version number used in creating the DS
+# names in RRDs. This should be updated any time a
+# new version of Orca needs some new content in its
+# RRD files. The DS name is a concatentation of the
+# string Orca with this string of digits.
+# DAY_SECONDS The number of seconds in one day.
+# IS_WIN32 If Orca is running on a Windows platform.
use vars qw($ORCA_VERSION $ORCA_RRD_VERSION);
push(@EXPORT_OK, qw($ORCA_VERSION $ORCA_RRD_VERSION DAY_SECONDS IS_WIN32));
$ORCA_VERSION = '0.27';
@@ -117,13 +117,13 @@
# These variables are set once at program start depending upon the
# command line arguments:
-# $opt_daemon Daemonize Orca.
-# $opt_generate_gifs Generate GIFs instead of PNGs.
-# $opt_log_filename Output log filename.
-# $opt_once_only Do only one pass through Orca.
-# $opt_no_html Do not generate any HTML files.
-# $opt_no_images Do not generate any image files.
-# $opt_verbose Be verbose about my running.
+# $opt_daemon Daemonize Orca.
+# $opt_generate_gifs Generate GIFs instead of PNGs.
+# $opt_log_filename Output log filename.
+# $opt_once_only Do only one pass through Orca.
+# $opt_no_html Do not generate any HTML files.
+# $opt_no_images Do not generate any image files.
+# $opt_verbose Be verbose about my running.
use vars qw($opt_daemon
$opt_generate_gifs
$opt_log_filename
Modified: trunk/orca/lib/Orca/RRDFile.pm
==============================================================================
--- trunk/orca/lib/Orca/RRDFile.pm (original)
+++ trunk/orca/lib/Orca/RRDFile.pm Thu Apr 8 21:33:39 2004
@@ -14,7 +14,7 @@
use Carp;
use RRDs;
use Orca::Constants qw($opt_verbose
- $ORCA_RRD_VERSION
+ $ORCA_RRD_VERSION
@RRA_PDP_COUNTS
@RRA_ROW_COUNTS
$INCORRECT_NUMBER_OF_ARGS);
Modified: trunk/orca/orca/orca.pl.in
==============================================================================
--- trunk/orca/orca/orca.pl.in (original)
+++ trunk/orca/orca/orca.pl.in Thu Apr 8 21:33:39 2004
@@ -1615,10 +1615,10 @@
A generic example of a group and its parameters are:
group GROUP_NAME1 {
- find_files filename1 filename2 ...
- column_description column1_name column2_name ...
- date_source file_mtime
- interval 300
+ find_files filename1 filename2 ...
+ column_description column1_name column2_name ...
+ date_source file_mtime
+ interval 300
.
.
.
@@ -1825,15 +1825,15 @@
them. The general format for creating a plot is:
plot {
- title Plot title
- source GROUP_NAME1
- data column_name1
- data 1024 * column_name2 + column_name3
- legend First column
- legend Some math
- y_legend Counts/sec
- data_min 0
- data_max 100
+ title Plot title
+ source GROUP_NAME1
+ data column_name1
+ data 1024 * column_name2 + column_name3
+ legend First column
+ legend Some math
+ y_legend Counts/sec
+ data_min 0
+ data_max 100
.
.
}
@@ -1882,8 +1882,8 @@
plot the total number of bits per second, you could do this:
plot {
- source bytes_per_second
- data 8 * ( in_bytes_per_second + out_bytes_per_second )
+ source bytes_per_second
+ data 8 * ( in_bytes_per_second + out_bytes_per_second )
}
The second form allows for matching column names that match a regular
@@ -1909,25 +1909,25 @@
}
plot {
- source throughput
- data (.*\d)Ipkt/s
- data $1Opkt/s
+ source throughput
+ data (.*\d)Ipkt/s
+ data $1Opkt/s
.
.
}
plot {
- source throughput
- data (.*\d)InKB/s
- data $1OuKB/s
+ source throughput
+ data (.*\d)InKB/s
+ data $1OuKB/s
.
.
}
plot {
- source throughput
- data (.*\d)IErr/s
- data $1OErr/s
+ source throughput
+ data (.*\d)IErr/s
+ data $1OErr/s
.
.
}
@@ -2049,12 +2049,12 @@
to column3 and column4.
plot {
- data column1
- data column2
- data column3
- data column4
- data_type DERIVE
- data_type COUNTER
+ data column1
+ data column2
+ data column3
+ data column4
+ data_type DERIVE
+ data_type COUNTER
}
@@ -2090,13 +2090,13 @@
I<number>'s to U. For example:
plot {
- data column1
- data column2
- data column3
- data_min U
- data_max U
- data_min 0
- data_max 100
+ data column1
+ data column2
+ data column3
+ data_min U
+ data_max U
+ data_min 0
+ data_max 100
}
If there are no minimum or maximum values specified for a particular
@@ -2263,15 +2263,15 @@
multiple plots on the graph:
plot {
- source things
- data some
- data other
- data things
- data something_else
- summary_format %.0lf
- summary_format %4.1f %s
- color 0000ff
- color ff0000
+ source things
+ data some
+ data other
+ data things
+ data something_else
+ summary_format %.0lf
+ summary_format %4.1f %s
+ color 0000ff
+ color ff0000
}
If there are no summary format specifiers, then the default format of
More information about the Orca-checkins
mailing list