[Orca-checkins] r363 - in trunk/orca: . data_gatherers data_gatherers/winallator

Blair Zajac blair at orcaware.com
Wed Jun 30 22:52:02 PDT 2004


Author: blair
Date: Wed Jun 30 22:50:13 2004
New Revision: 363

Added:
   trunk/orca/data_gatherers/winallator/
   trunk/orca/data_gatherers/winallator/Makefile.in
      - copied, changed from r359, trunk/orca/data_gatherers/orcallator/Makefile.in
   trunk/orca/data_gatherers/winallator/README
   trunk/orca/data_gatherers/winallator/SourceFile.pm-patch-with-r362.txt
   trunk/orca/data_gatherers/winallator/winallator.cfg.in   (contents, props changed)
   trunk/orca/data_gatherers/winallator/winallator.htm   (contents, props changed)
Modified:
   trunk/orca/configure.in
   trunk/orca/data_gatherers/Makefile.in
Log:
Initial commit of the winallator data measurement tools for Windows
systems.  Winallator used be called OrcaNT.

* data_gatherers/winallator:
  New directory.

* data_gatherers/winallator/Makefile.in:
  Copied from data_gatherers/orcallator/Makefile.in and heavily
  modified.

* data_gatherers/winallator/README:
  New file describing how to use winallator.

* data_gatherers/winallator/SourceFile.pm-patch-with-r362.txt:
  New file that patches SourceFile.pm for use with the *.tsv files
  generated by the Windows Performance Monitor.

* data_gatherers/winallator/winallator.cfg.in:
  New file.  Initial Orca configuration file for winallator.

* data_gatherers/winallator/winallator.htm:
  New file.  A sample Windows Performance Monitor configuration file
  to quickly set up a set of measurements.

* configure.in:
  Add a new command line option --disable-winallator to disable
  descending into and building in data_gatherers/winallator.

* data_gatherers/Makefile.in:
  $(WINALLATOR_SUBDIR): New variable that is set by configure.
  $(SUBDIRS): Add $(WINALLATOR_SUBDIR) to SUBDIRS.


Modified: trunk/orca/configure.in
==============================================================================
--- trunk/orca/configure.in	(original)
+++ trunk/orca/configure.in	Wed Jun 30 22:50:13 2004
@@ -297,6 +297,21 @@
 AC_SUBST(BUILD_PROCALLATOR)
 AC_SUBST(PROCALLATOR_SUBDIR)
 
+BUILD_WINALLATOR=yes
+WINALLATOR_SUBDIR=winallator
+AC_ARG_ENABLE(winallator,
+  AC_HELP_STRING([--disable-winallator],
+                 [Do not enable building and installing winallator]),
+  [
+    if test "$enableval" = no; then
+      BUILD_WINALLATOR=no
+      WINALLATOR_SUBDIR=
+    fi
+  ]
+)
+AC_SUBST(BUILD_WINALLATOR)
+AC_SUBST(WINALLATOR_SUBDIR)
+
 # To get a default CFLAGS for this build, check for a C compiler.  This
 # is also needed to be ready to compile any Perl modules.
 AC_PROG_CC
@@ -648,6 +663,11 @@
                       data_gatherers/procallator/S99procallator.sh"
 fi
 
+if test "$BUILD_WINALLATOR" = yes; then
+  OUTPUT_WINALLATOR="data_gatherers/winallator/Makefile
+                     data_gatherers/winallator/winallator.cfg"
+fi
+
 AC_OUTPUT(Makefile
           config/PerlHead1
           config/PerlHead2
@@ -660,6 +680,7 @@
           $OUTPUT_ORCALLATOR
           $OUTPUT_ORCA_SERVICES
           $OUTPUT_PROCALLATOR
+          $OUTPUT_WINALLATOR
           docs/Makefile
           lib/Makefile
           packages/Makefile

Modified: trunk/orca/data_gatherers/Makefile.in
==============================================================================
--- trunk/orca/data_gatherers/Makefile.in	(original)
+++ trunk/orca/data_gatherers/Makefile.in	Wed Jun 30 22:50:13 2004
@@ -5,12 +5,14 @@
 ORCALLATOR_SUBDIR     = @ORCALLATOR_SUBDIR@
 ORCA_SERVICES_SUBDIR  = @ORCA_SERVICES_SUBDIR@
 PROCALLATOR_SUBDIR    = @PROCALLATOR_SUBDIR@
+WINALLATOR_SUBDIR     = @WINALLATOR_SUBDIR@
 
 SUBDIRS               = $(AIXALLATOR_SUBDIR) \
                         $(HPALLATOR_SUBDIR) \
                         $(ORCALLATOR_SUBDIR) \
                         $(ORCA_SERVICES_SUBDIR) \
-                        $(PROCALLATOR_SUBDIR)
+                        $(PROCALLATOR_SUBDIR) \
+                        $(WINALLATOR_SUBDIR)
 
 all:	Makefile $(TARGETS)
 	@for dir in $(SUBDIRS); do \

Copied: trunk/orca/data_gatherers/winallator/Makefile.in (from r359, trunk/orca/data_gatherers/orcallator/Makefile.in)
==============================================================================
--- trunk/orca/data_gatherers/orcallator/Makefile.in	(original)
+++ trunk/orca/data_gatherers/winallator/Makefile.in	Wed Jun 30 22:50:13 2004
@@ -8,27 +8,21 @@
 sysconfdir            = @sysconfdir@
 INSTALL               = @INSTALL@
 MKDIR                 = @MKDIR@
-PERL_HEAD             = @PERL_HEAD@
 VAR_DIR               = @VAR_DIR@
 RRD_DIR               = @RRD_DIR@
-INIT_D_DIR            = @INIT_D_DIR@
-RCX_D_CONTAINING_DIR  = @RCX_D_CONTAINING_DIR@
-RAW_ORCALLATOR_DIR    = $(VAR_DIR)/orcallator
-RRD_ORCALLATOR_DIR    = $(RRD_DIR)/orcallator
+RAW_WINALLATOR_DIR    = $(VAR_DIR)/winallator
+RRD_WINALLATOR_DIR    = $(RRD_DIR)/winallator
 
-BIN_PERL_SCRIPTS      = orcallator_column \
-                        orcallator_running
+BIN_PERL_SCRIPTS      =
 LIBEXEC_PERL_SCRIPTS  =
 NOINST_PERL_SCRIPTS   =
 PERL_SCRIPTS          = $(BIN_PERL_SCRIPTS) \
                         $(LIBEXEC_PERL_SCRIPTS) \
                         $(NOINST_PERL_SCRIPTS)
 
-BIN_SHELL_SCRIPTS     = restart_orcallator \
-                        stop_orcallator \
-                        start_orcallator
+BIN_SHELL_SCRIPTS     =
 LIBEXEC_SHELL_SCRIPTS =
-NOINST_SHELL_SCRIPTS  = S99orcallator
+NOINST_SHELL_SCRIPTS  =
 SHELL_SCRIPTS         = $(BIN_SHELL_SCRIPTS) \
                         $(LIBEXEC_SHELL_SCRIPTS) \
                         $(NOINST_SHELL_SCRIPTS)
@@ -40,75 +34,35 @@
 LIBEXEC_TARGETS       = $(LIBEXEC_PERL_SCRIPTS) \
                         $(LIBEXEC_SHELL_SCRIPTS)
 
-all: Makefile $(TARGETS) orcallator.cfg
+all: Makefile $(TARGETS) winallator.cfg
 
 install: all
 	$(MKDIR) $(bindir)
 	$(MKDIR) $(libdir)
 	$(MKDIR) $(sysconfdir)
-	$(MKDIR) $(RAW_ORCALLATOR_DIR)
-	$(MKDIR) $(RRD_ORCALLATOR_DIR)
+	$(MKDIR) $(RAW_WINALLATOR_DIR)
+	$(MKDIR) $(RRD_WINALLATOR_DIR)
 	@for file in $(BIN_TARGETS); do \
 	  echo $(INSTALL) $$file $(bindir); \
 	  $(INSTALL) $$file $(bindir); \
 	done
-	$(INSTALL) -m 0644 orcallator.se $(libdir)
-	@if test -r $(sysconfdir)/orcallator.cfg; then \
+	@if test -r $(sysconfdir)/winallator.cfg; then \
 	  date="`date +%Y-%m-%d-%H:%M:%S`"; \
-	  echo $(INSTALL) -m 0644 orcallator.cfg $(sysconfdir)/orcallator.cfg.$$date; \
-	  $(INSTALL) -m 0644 orcallator.cfg $(sysconfdir)/orcallator.cfg.$$date; \
+	  echo $(INSTALL) -m 0644 winallator.cfg $(sysconfdir)/winallator.cfg.$$date; \
+	  $(INSTALL) -m 0644 winallator.cfg $(sysconfdir)/winallator.cfg.$$date; \
 	else \
-	  echo $(INSTALL) -m 0644 orcallator.cfg $(sysconfdir); \
-	  $(INSTALL) -m 0644 orcallator.cfg $(sysconfdir); \
+	  echo $(INSTALL) -m 0644 winallator.cfg $(sysconfdir); \
+	  $(INSTALL) -m 0644 winallator.cfg $(sysconfdir); \
 	fi
 
-orcallator_run_at_boot: all
-	test "$(INIT_D_DIR)"
-	test "$(RCX_D_CONTAINING_DIR)"
-	-$(RM) $(INIT_D_DIR)/orcallator
-	-$(RM) $(RCX_D_CONTAINING_DIR)/rc0.d/K01orcallator
-	-$(RM) $(RCX_D_CONTAINING_DIR)/rc1.d/K01orcallator
-	-$(RM) $(RCX_D_CONTAINING_DIR)/rc2.d/K01orcallator
-	-$(RM) $(RCX_D_CONTAINING_DIR)/rc3.d/S99orcallator
-	$(INSTALL) -m 0744 S99orcallator $(INIT_D_DIR)/orcallator
-	ln -s $(INIT_D_DIR)/orcallator $(RCX_D_CONTAINING_DIR)/rc0.d/K01orcallator
-	ln -s $(INIT_D_DIR)/orcallator $(RCX_D_CONTAINING_DIR)/rc1.d/K01orcallator
-	ln -s $(INIT_D_DIR)/orcallator $(RCX_D_CONTAINING_DIR)/rc2.d/K01orcallator
-	ln -s $(INIT_D_DIR)/orcallator $(RCX_D_CONTAINING_DIR)/rc3.d/S99orcallator
-
 clean:
 	$(RM) $(TARGETS)
 
 distclean: clean
-	$(RM) *.sh orcallator.cfg orcallator_running.pl Makefile
-
-.SUFFIXES: .pl .sh
-
-.pl: $(PERL_HEAD)
-	cat $(PERL_HEAD) $< > $@
-	chmod 0755 $@
-
-.sh:
-	cp $< $@
-	chmod 0755 $@
+	$(RM) winallator.cfg Makefile
 
 Makefile: Makefile.in
-	cd ../.. && CONFIG_FILES=data_gatherers/orcallator/Makefile ./config.status
-
-orcallator.cfg: orcallator.cfg.in
-	cd ../.. && CONFIG_FILES=data_gatherers/orcallator/orcallator.cfg ./config.status
-
-orcallator_running.pl: orcallator_running.pl.in
-	cd ../.. && CONFIG_FILES=data_gatherers/orcallator/orcallator_running.pl ./config.status
-
-restart_orcallator.sh: restart_orcallator.sh.in
-	cd ../.. && CONFIG_FILES=data_gatherers/orcallator/restart_orcallator.sh ./config.status
-
-start_orcallator.sh: start_orcallator.sh.in
-	cd ../.. && CONFIG_FILES=data_gatherers/orcallator/start_orcallator.sh ./config.status
-
-stop_orcallator.sh: stop_orcallator.sh.in
-	cd ../.. && CONFIG_FILES=data_gatherers/orcallator/stop_orcallator.sh ./config.status
+	cd ../.. && CONFIG_FILES=data_gatherers/winallator/Makefile ./config.status
 
-S99orcallator.sh: S99orcallator.sh.in
-	cd ../.. && CONFIG_FILES=data_gatherers/orcallator/S99orcallator.sh ./config.status
+winallator.cfg: winallator.cfg.in
+	cd ../.. && CONFIG_FILES=data_gatherers/winallator/winallator.cfg ./config.status

Added: trunk/orca/data_gatherers/winallator/README
==============================================================================
--- (empty file)
+++ trunk/orca/data_gatherers/winallator/README	Wed Jun 30 22:50:13 2004
@@ -0,0 +1,126 @@
+How To Collect Performance Data For Windows 2000/XP Systems
+===========================================================
+
+This tool used to be referred to as orcaNT.  It is now named
+winallator for two reasons.  First, since it is a data measurement
+tool and not a data plotting tool, it deserves a name for a data
+gatherer.  Second, the orcaNT portion of the original orcaNT package
+was just a patch to orca.pl that removed the call to 'ps aux' and
+reducing the package requirements.
+
+To follow in the tracks of the other *allator tools, this package was
+renamed winallator.
+
+ 1. From a Command Prompt, Cygwin Shell or the Start->Run, type
+
+    perfmon
+
+ 2. Click on "Performance Logs and Alerts" and expand on the left hand
+    column under "Console Root".
+
+ 3. Create a patched copy of Orca.  Currently Orca needs a patched
+    version of SourceFile.pm handle the Performance Monitor's log
+    files.  This patched version may not work with any other versions
+    input data files.
+
+    a) Get a copy of the Orca source tree on the system that will
+       process the Winallator log files.
+
+    b) Find the SourceFile.pm-patch-with-r362.txt file and note where
+       it is.
+
+    c) cd into the $prefix/lib/Orca directory, where $prefix is where
+       you installed your Orca.
+
+    c) Apply the patch by running:
+
+       cp -p SourceFile.pm SourceFile.FCS
+       patch -s -p0 < path/to/SourceFile.pm-patch-with-r362.txt
+
+ 4. You have two choices now.  The first and easy choice is to load in
+    a previously designed log configuration.  You can always modify
+    the settings later if you want, using the instructions below for
+    the advanced setup.
+
+ 5. Simple setup.
+
+    a) Download a copy of the winallator.htm file located in this
+       directory to your Windows system.
+
+    b) Right-click on "Counter Logs" and choose "New Log Settings
+       From...".  Find and open the downloaded winallator.htm in the
+       open file dialog box.
+
+    c) Give the new log settings a name that does not appear in the
+       Performance Monitor window and click OK.
+
+    d) The loaded settings here will record a number of different
+       measurements into log files in the C:\WinallatorLogs directory.
+
+    e) To end the simple setup, click OK.  Data will be recorded
+       immediately into the C:\WinallatorLogs directory.  If they are
+       not, then right click on the new Winallator name and select
+       "Start". For the advanced setup, continue reading at step 6c.
+
+    f) Click OK to begin recording data.
+
+ 6. Advanced Setup.
+
+    a) Right-click on "Counter Logs" and choose "New Log Settings..."
+
+    b) Give the new log settings a name that does not appear in the
+       Performance Monitor window and click OK.
+
+    c) This opens up a window with three tabs "General", "Log Files",
+       and "Schedule".
+
+    d) Select "General->Add Counters..."  This opens the Add Counters
+       window.
+
+    e) Now...
+       - Choose "Select counters from computer:".
+
+       - Performance object.
+         This is the category like Processor, Network Interface, etc.
+         Choose what you want here.
+
+       - Either choose "All counters" or be selective and choose the
+         counters you are interested in.  For more information on one,
+         click on the counter and then click on the "Explain" button.
+         Select counter from the list.
+
+       - Select the instances you want from the list.
+
+    f) Click "Add".  This will add the counter to previous window
+       without closing the window, so you can quickly select other
+       counters.  Click "Close" when you are done adding all the
+       counters.
+
+    g) Back to the "General" tab.
+       Change the "Sample data every:" to "5 minutes".
+
+    h) Leave "Run As: as "<default>".
+
+    i) Click on the "Log Files" tab.
+
+    j) Change the "Log file type:" to "Text File (Tab delimited)".
+
+    k) Click on the "Configure" button.
+       Enter the "Location" as "C:\WinallatorLogs\MachineName".
+       Change the "File name" to "winallator".
+       Set the "Log file size" to "Maximum limit".
+       Select OK.
+
+    l) Back on the "Log Files" tab.
+       Select "End Filenames with:" as "yyyymmddhh".
+       It will show the example path and filename.
+
+    m) Select the "Schedule" tab.
+       Set "Start Log" to "At: 12:00:00 AM" on any date.
+       Set "Stop Log" to "After 1 unit: days".
+       Turn on "When a log file closes: Start a new log file".
+
+    n) Select OK and the new log settings should be set.
+
+    o) If you see it not started just right click on the counter log
+       name on the right hand side window and select start.

Added: trunk/orca/data_gatherers/winallator/SourceFile.pm-patch-with-r362.txt
==============================================================================
--- (empty file)
+++ trunk/orca/data_gatherers/winallator/SourceFile.pm-patch-with-r362.txt	Wed Jun 30 22:50:13 2004
@@ -0,0 +1,136 @@
+Index: SourceFile.pm
+===================================================================
+--- SourceFile.pm	(revision 362)
++++ SourceFile.pm	(working copy)
+@@ -31,6 +31,10 @@
+ use Orca::Utils         qw(email_message);
+ use vars                qw(@ISA $VERSION);
+ 
++# Andy Fox - 2nd July 2002
++# We need this to convert time into Unix Epoch Time.
++use Time::Local;
++
+ @ISA     = qw(Orca::DataFile);
+ $VERSION = substr q$Revision: 0.01 $, 10;
+ 
+@@ -153,9 +157,39 @@
+       return unless $fd;
+       my $line = <$fd>;
+       chomp($line);
++
++      # Andy Fox - 2nd July 2002
++      # Take the first line (headers) and convert it into a format Orca can understand
++
+       if ($line) {
+         $self->[I_FIRST_LINE] = 1;
+-        @column_description = split(' ', $line);
++        $_ = $line;
++        s/ /_/g;
++        s/\\\\[^\\ ]+\\//g;
++        s/"//g;
++        s/\\/_/g;
++        s/\?//g;
++        s/\(/_/g;
++        s/\)/_/g;
++        s/,//g;
++        s/://g;
++        s/\?//g;
++        s/__/_/g;
++        s/__/_/g;
++
++        $line = $_;
++        print "$line\n";
++
++        # Andy Fox - 2nd July 2002
++        # Changed this to a tab (was a space), so it can read tsv format files
++
++        @column_description = split('	', $line);
++
++        # Andy Fox - 2nd July 2002
++        # Set the first field of the first line 'timestamp'
++
++        $column_description[0]="timestamp";
++
+       } else {
+         warn "$0: warning: no first_line for '$filename' yet.\n";
+         $open_file_cache->close($fid) or
+@@ -921,8 +955,19 @@
+     # in the output file when it starts up.
+     next if $line =~ /timestamp/;
+ 
+-    my @line = split(' ', $line);
++print "$line\n";
++$_ = $line;
++s/ /:/g;
++s/"//g;
++$line = $_;
+ 
++    # Andy Fox - 2nd July 2002
++    # Changed this to a tab (was a space), so it can read tsv format files
++    my @line = split('	', $line);
++
++    ##ANDY##
++    #print "@line\n";
++
+     # Skip this input line if 1) the file uses the first line to
+     # define the column names, 2) the number of columns loaded is not
+     # equal to the number of columns in the column description.
+@@ -940,6 +985,58 @@
+     } else {
+       $time = $line[$date_column_index];
+     }
++#ANDY#
++#print "$time\n";
++
++# At this stage the date is in this format: 06/18/2002 21:56:06.096
++
++$_ = $time;
++s/\//:/g;
++#print "$_\n";
++#s/ /:/;
++#print "$_\n";
++s/\./:/;
++#print "$_\n";
++#$newtime = $_;
++#s/"//g;
++#print "$_\n";
++
++# Now we have this: "06:18:2002:21:56:06:096"
++
++my @andy = split(':', $_);
++
++my ($sec);
++my ($min);
++my ($hr);
++my ($day);
++my ($mon);
++my ($yr);
++
++$mon = $andy[0];
++$day = $andy[1];
++$yr = $andy[2];
++$hr = $andy[3];
++$min = $andy[4];
++$sec = $andy[5];
++
++#print "mon = $mon\n";
++#print "day = $day\n";
++#print "yr = $yr\n";
++#print "hr = $hr\n";
++#print "min = $min\n";
++#print "sec = $sec\n";
++
++$mon -= 1;
++$yr -= 1900;
++#print "yr = $yr\n";
++
++my ($blur);
++$blur = timelocal($sec, $min, $hr, $day, $mon, $yr);
++#print "time is now $blur\n";
++
++$time = $blur;
++print "$time\n";
++
+     $last_data_time = $time if $time > $last_data_time;
+ 
+     # If the file status from the source data file is greater than

Added: trunk/orca/data_gatherers/winallator/winallator.cfg.in
==============================================================================
--- (empty file)
+++ trunk/orca/data_gatherers/winallator/winallator.cfg.in	Wed Jun 30 22:50:13 2004
@@ -0,0 +1,359 @@
+# Orca configuration file for Windows Performance Monitor log files.
+
+# $HeadURL$
+# $LastChangedRevision$
+# $LastChangedDate$
+# $LastChangedBy$
+
+# Require at least this version of Orca.
+require			Orca 0.28.0
+
+# base_dir is prepended to the paths find_files, html_dir, rrd_dir,
+# and state_file only if the path does not match the regular
+# expression ^\\?\.{0,2}/, which matches /, ./, ../, and \./.
+base_dir		@RRD_DIR@/winallator
+
+# rrd_dir specifies the location of the generated RRD data files.  If
+# rrd_dir is a relative path, then it is made relative to base_dir if
+# base_dir is set.
+rrd_dir			.
+
+# state_file specifies the location of the state file that remembers
+# the modification time of each source data file.  If state_file is a
+# relative path, then it is made relative to base_dir is base_dir is
+# set.
+state_file		orca.state
+
+# html_dir specifies the top of the HTML tree created by Orca.
+html_dir		@HTML_DIR@/winallator
+
+# By default create .meta tag files for all PNGs or GIFs so that the
+# web browser will automatically reload them.
+expire_images		1
+
+# Find files at the following times:
+#    0:10 to pick up new orcallator files for the new day.
+#    1:00 to pick up late comer orcallator files for the new day.
+#    6:00 to pick up new files before the working day.
+#   12:00 to pick up new files during the working day.
+#   19:00 to pick up new files after the working day.
+find_times		0:10 1:00 6:00 12:00 19:00
+
+# This defines the email address of people to warn when a file that is
+# being updated constantly stops being updated.  For mathematical
+# expressions use the word 'interval' to get the interval number for
+# the data source.
+warn_email		@WARN_EMAIL@
+late_interval		interval + 30
+
+# These parameters specify which plots to generate.
+generate_hourly_plot	0
+generate_daily_plot	1
+generate_weekly_plot	1
+generate_monthly_plot	1
+generate_quarterly_plot	1
+generate_yearly_plot	1
+
+# This sets the HTML markup that is placed at the very top of every
+# web page and is primarily used to display the site's logo.
+html_page_header	<h3>Put your site's logo here.</h3>
+
+# This sets the text, that should not be HTML markup, that is used
+# only in the main index.html file.  It is used in the <title></title>
+# element and also placed in the HTML body after the html_page_header
+# in a <h1></h1> element index.html file.
+html_top_title		Windows Status
+
+# This sets the HTML markup that is placed at the bottom of every web
+# page.
+html_page_footer
+  <font face="verdana,geneva,arial,helvetica">
+    These plots brought to you by your local system administrator.
+  </font>
+
+# This defines where the find the source data files and the format of
+# those files.  Notes about the fields:
+# find_files
+#   You'll notice that all but the first () has the form (?:...).
+#   This tells Perl to match the expression but not save the matched
+#   text in the $1, $2, variables.  Orca uses the matched text to
+#   generate a subgroup name, which is used to place files into
+#   different subgroups.  Here, only the hostname should be used to
+#   generate a subgroup name, hence all the (?:...) for matching
+#   anything else.
+# interval
+#   The interval here must match the interval used by orcallator to
+#   record data.  Do not change this, as it has an effect on the
+#   generated RRD data files.
+
+group winallator {
+find_files		@VAR_DIR@/winallator/(.*)/winallator_\d{10}\.tsv
+column_description	first_line
+date_source		column_name timestamp
+interval		300
+filename_compare	sub {
+			  my ($ay, $am, $ad) = $a =~ /_(\d{4})(\d\d)(\d\d)/;
+			  my ($by, $bm, $bd) = $b =~ /_(\d{4})(\d\d)(\d\d)/;
+			  if (my $c = (( $ay       <=>  $by) ||
+			               ( $am       <=>  $bm) ||
+			               (($ad >> 3) <=> ($bd >> 3)))) {
+			    return 2*$c;
+			  }
+			  $ad <=> $bd;
+			}
+}
+
+plot {
+title			%g Memory Available (Bytes)
+source			winallator
+data			Memory_Available
+line_type		area
+legend			Memory
+y_legend		Bytes
+data_min		0
+data_max		1000000000000
+rigid_min_max		1
+}
+
+plot {
+title			%g Memory Pages/sec
+source			winallator
+data			Memory_Pages/sec
+line_type		area
+legend			Memory_Page
+y_legend		Pages/sec
+data_min		0
+data_max		1000000000000
+rigid_min_max		1
+}
+
+plot {
+title			%g Terminal Services Sessions
+source			winallator
+data			Terminal_Services_(.*)
+line_type		line2
+legend			$1
+y_legend		Users
+data_min		0
+data_max		100
+}
+
+plot {
+title			%g Terminal Services Active Sessions
+source			winallator
+data			Terminal_Services_Active_Sessions
+line_type		area
+legend			Active Session
+y_legend		Users
+data_min		0
+}
+
+plot {
+title			%g Terminal Services InActive Sessions
+source			winallator
+data			Terminal_Services_Inactive_Sessions
+line_type		area
+legend			InActive Session
+y_legend		Users
+data_min		0
+}
+
+plot {
+title			%g Terminal Services Total Sessions
+source			winallator
+data			Terminal_Services_Total_Sessions
+line_type		area
+legend			Active Session
+y_legend		Users
+data_min		0
+}
+
+plot {
+title			%g Network Interface(s) Bytes/sec
+source			winallator
+data			Network_Interface_(.*)_Bytes_Total/sec
+line_type		line1
+legend			$1
+y_legend		Bytes/sec
+flush_regexps		1
+}
+
+plot {
+title			%g Network Interface(s) Output Queue Length
+source			winallator
+data			Network_Interface_(.*)_Output_Queue_Length
+line_type		line1
+legend			$1
+y_legend		Output Queue Length
+flush_regexps		1
+}
+
+#plot {
+#title			%g Paging File(s) % Usage
+#source			winallator
+#data			Paging_File_([^Total].*)_%_Usage
+#line_type		area
+#legend			$1
+#y_legend		Percent
+#color			ff0000
+#}
+
+plot {
+title			%g Paging File (Total) % Usage
+source			winallator
+data			Paging_File_Total_%_Usage
+line_type		area
+legend			Paging File (Total)
+y_legend		Percent
+color			ff0000
+}
+
+#plot {
+#title			%g PhysicalDisk % Disk Time
+#source			winallator
+#data			PhysicalDisk_([^Total].*)_%_Disk_Time
+#line_type		line1
+#legend			Disk $1
+#y_legend		Percent
+#flush_regexps		1
+#}
+
+plot {
+title			%g PhysicalDisk (Total) % Disk Time
+source			winallator
+data			PhysicalDisk(_Total)_%_Disk_Time
+line_type		line1
+legend			PhysicalDisk (Total)
+y_legend		Percent
+color			ff0000
+}
+
+plot {
+title			%g PhysicalDisk Average Disk Queue Length
+source			winallator
+data			PhysicalDisk_([^Total].*)_Avg._Disk_Queue_Length
+line_type		line1
+legend			Disk $1
+y_legend		Disk Queue Length
+flush_regexps		1
+}
+
+plot {
+title			%g PhysicalDisk (Total) Average Disk Queue Length
+source			winallator
+data			PhysicalDisk(_Total)_Avg._Disk_Queue_Length
+line_type		line1
+legend			PhysicalDisk (Total)
+y_legend		Disk Queue Length
+color			ff0000
+}
+
+plot {
+title			%g Processor(s) % Privileged Time
+source			winallator
+data			Processor_([^Total].*)_%_Privileged_Time
+line_type		line2
+legend			Processor $1
+y_legend		Percent
+flush_regexps		1
+}
+
+plot {
+title			%g Processor(Total) % Privileged Time
+source			winallator
+data			Processor(_Total)_%_Privileged_Time
+line_type		line2
+legend			Processor $1
+y_legend		Percent
+flush_regexps		1
+}
+
+plot {
+title			%g Processor(s) % Processor Time
+source			winallator
+data			Processor_([^Total].*)_%_Processor_Time
+line_type		line2
+legend			Processor $1
+y_legend		Percent
+flush_regexps		1
+}
+
+plot {
+title			%g Processor(Total) % Processor Time
+source			winallator
+data			Processor(_Total)_%_Processor_Time
+line_type		line1
+legend			Processor (Total)
+y_legend		Percent
+}
+
+plot {
+title			%g Processor(s) Interrupts/sec
+source			winallator
+data			Processor_([^Total].*)_Interrupts/sec
+line_type		line2
+legend			Processor $1
+y_legend		Interrupts/sec
+flush_regexps		1
+}
+
+plot {
+title			%g Processor(s) Total Interrupts/sec
+source			winallator
+data			Processor(_Total)_%_Interrupts/sec
+line_type		line1
+legend			Processor (Total)
+y_legend		Interrupts/sec
+color			ff0000
+}
+
+plot {
+title			%g Server Bytes Total/sec
+source			winallator
+data			Server_Bytes_Total/sec
+line_type		line1
+legend			Server Bytes
+y_legend		Bytes/sec
+color			ff0000
+}
+
+plot {
+title			%g System Context Switches/sec
+source			winallator
+data			System_Context_Switches/sec
+line_type		line1
+legend			System Context Switches
+y_legend		Per second
+color			ff0000
+}
+
+plot {
+title			%g System Processor Queue Length
+source			winallator
+data			System_Processor_Queue_Length
+line_type		line1
+legend			System Processor Queue
+y_legend		Length
+color			ff0000
+}
+
+plot {
+title			%g System Up Time
+source			winallator
+data			System_System_Up_Time / 86400
+line_type		area
+legend			Number of Day/s
+y_legend		Days
+data_min		0
+color			ff0000
+}
+
+plot {
+title			%g Web Service (Total) Current Anonymous Users
+source			winallator
+data			Web_Service_Total_Current Anonymous_Users
+line_type		line1
+legend			Current Anonymous Users
+y_legend		Length
+color			ff0000
+}

Added: trunk/orca/data_gatherers/winallator/winallator.htm
==============================================================================
--- (empty file)
+++ trunk/orca/data_gatherers/winallator/winallator.htm	Wed Jun 30 22:50:13 2004
@@ -0,0 +1,54 @@
+<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN"><HTML>
+<HEAD>
+<META NAME="GENERATOR" Content="Microsoft System Monitor">
+</HEAD><BODY>
+<OBJECT ID="DISystemMonitor1" WIDTH="100%" HEIGHT="100%"
+CLASSID="CLSID:C4D2D8E0-D1DD-11CE-940F-008029004347">
+	<PARAM NAME="_Version" VALUE="196611">
+	<PARAM NAME="LogName" VALUE="Winallator">
+	<PARAM NAME="Comment" VALUE="">
+	<PARAM NAME="LogType" VALUE="0">
+	<PARAM NAME="CurrentState" VALUE="1">
+	<PARAM NAME="RealTimeDataSource" VALUE="1">
+	<PARAM NAME="LogFileMaxSize" VALUE="-1">
+	<PARAM NAME="DataStoreAttributes" VALUE="33">
+	<PARAM NAME="LogFileBaseName" VALUE="winallator">
+	<PARAM NAME="LogFileSerialNumber" VALUE="1">
+	<PARAM NAME="LogFileFolder" VALUE="C:\WinallatorLogs">
+	<PARAM NAME="Sql Log Base Name" VALUE="SQL:!Winallator">
+	<PARAM NAME="LogFileAutoFormat" VALUE="5">
+	<PARAM NAME="LogFileType" VALUE="1">
+	<PARAM NAME="StartMode" VALUE="2">
+	<PARAM NAME="StartAtTime" VALUE="6/22/2004">
+	<PARAM NAME="StopMode" VALUE="3">
+	<PARAM NAME="StopAfterUnitType" VALUE="4">
+	<PARAM NAME="StopAfterValue" VALUE="1">
+	<PARAM NAME="RestartMode" VALUE="3">
+	<PARAM NAME="LogFileName" VALUE="C:\WinallatorLogs\winallator_2004063003.tsv">
+	<PARAM NAME="EOFCommandFile" VALUE="">
+	<PARAM NAME="Counter00001.Path" VALUE="\Memory\Available Bytes">
+	<PARAM NAME="Counter00002.Path" VALUE="\Memory\Pages/sec">
+	<PARAM NAME="Counter00003.Path" VALUE="\Network Interface(3Com EtherLink PCI)\Bytes Total/sec">
+	<PARAM NAME="Counter00004.Path" VALUE="\Network Interface(3Com EtherLink PCI)\Output Queue Length">
+	<PARAM NAME="Counter00005.Path" VALUE="\Paging File(\??\C:\pagefile.sys)\% Usage">
+	<PARAM NAME="Counter00006.Path" VALUE="\Paging File(_Total)\% Usage">
+	<PARAM NAME="Counter00007.Path" VALUE="\PhysicalDisk(_Total)\% Disk Time">
+	<PARAM NAME="Counter00008.Path" VALUE="\PhysicalDisk(_Total)\Avg. Disk Queue Length">
+	<PARAM NAME="Counter00009.Path" VALUE="\PhysicalDisk(0 C:)\% Disk Time">
+	<PARAM NAME="Counter00010.Path" VALUE="\PhysicalDisk(1 D:)\% Disk Time">
+	<PARAM NAME="Counter00011.Path" VALUE="\Processor(_Total)\% Interrupt Time">
+	<PARAM NAME="Counter00012.Path" VALUE="\Processor(_Total)\% Privileged Time">
+	<PARAM NAME="Counter00013.Path" VALUE="\Processor(_Total)\% Processor Time">
+	<PARAM NAME="Counter00014.Path" VALUE="\Processor(0)\% Interrupt Time">
+	<PARAM NAME="Counter00015.Path" VALUE="\Processor(0)\% Privileged Time">
+	<PARAM NAME="Counter00016.Path" VALUE="\Processor(0)\% Processor Time">
+	<PARAM NAME="Counter00017.Path" VALUE="\Server\Bytes Total/sec">
+	<PARAM NAME="Counter00018.Path" VALUE="\System\Context Switches/sec">
+	<PARAM NAME="Counter00019.Path" VALUE="\System\Processor Queue Length">
+	<PARAM NAME="CounterCount" VALUE="19">
+	<PARAM NAME="UpdateInterval" VALUE="300">
+	<PARAM NAME="SampleIntervalUnitType" VALUE="2">
+	<PARAM NAME="SampleIntervalValue" VALUE="5">
+</OBJECT>
+</BODY>
+</HTML>



More information about the Orca-checkins mailing list