[Orca-checkins] r475 - orca/trunk/data_gatherers/procallator

guilherme_chehab at yahoo.com guilherme_chehab at yahoo.com
Mon Jul 25 10:17:48 PDT 2005


Author: guilherme_chehab at yahoo.com
Date: Mon Jul 25 10:16:57 2005
New Revision: 475

Modified:
   orca/trunk/data_gatherers/procallator/CHANGES
   orca/trunk/data_gatherers/procallator/procallator.cfg.in
   orca/trunk/data_gatherers/procallator/procallator.pl.in

Log:
Added @COMPRESSOR@ to procallator.pl and fixed bug on .cfg regarding NFS stats

Modified: orca/trunk/data_gatherers/procallator/CHANGES
==============================================================================
--- orca/trunk/data_gatherers/procallator/CHANGES	(original)
+++ orca/trunk/data_gatherers/procallator/CHANGES	Mon Jul 25 10:16:57 2005
@@ -10,7 +10,7 @@
           interpretations real meaning of values
         - New cfg file, with better handling of tcp stats - every stat is now a
           counter and not gauges, this corrects the way the stas are plotted, 
-          unfornately its not compatible with older versions
+          sadly its not compatible with older versions
         - Added IO Wait for 2.6 kernels
         - Using real device names on disk statistics for 2.4 and 2.6 kernels
         - Added NFS4 statistics, and revised NFS config (now totalizes every NFS
@@ -25,3 +25,7 @@
         versions, that way, using the new cfg with older collected data, or 
         the older cfg with newer collected data may lead to some problems, like
         missing graphs and so. That way the upgrade should be planned with care
+0.04	- Added support for COMPRESS variable in configure scripts, defaults to
+        /usr/bin/gzip
+        - Fixed error on .cfg regarding the NFS statsdata types, were COUNTERs
+        when they should be modelled as GAUGEs

Modified: orca/trunk/data_gatherers/procallator/procallator.cfg.in
==============================================================================
--- orca/trunk/data_gatherers/procallator/procallator.cfg.in	(original)
+++ orca/trunk/data_gatherers/procallator/procallator.cfg.in	Mon Jul 25 10:16:57 2005
@@ -536,7 +536,6 @@
 title			%g NFS Server Statistics
 source			procallator
 data			nfs_s_(.*)
-data_type		counter
 line_type		line1
 legend			$1/s
 y_legend		rate
@@ -549,7 +548,6 @@
 title			%g NFS Client Statistics
 source                  procallator
 data                    nfs_c_(.*)
-data_type		counter
 line_type               line1
 legend                  $1/s
 y_legend                rate

Modified: orca/trunk/data_gatherers/procallator/procallator.pl.in
==============================================================================
--- orca/trunk/data_gatherers/procallator/procallator.pl.in	(original)
+++ orca/trunk/data_gatherers/procallator/procallator.pl.in	Mon Jul 25 10:16:57 2005
@@ -29,7 +29,10 @@
 
 $PROC     = "/proc";            # Proc directory, usually /proc
 $INTERVAL = 300;                # Interval between each measure, in seconds
-$COMPRESS = "/usr/bin/gzip";    # Compressor...
+
+$COMPRESS = "@COMPRESSOR@";     # Compressor...
+$COMPRESS = "/usr/bin/gzip" if ($COMPRESS eq "");  # Get a default
+
 $HOSTNAME = `/bin/hostname`;
 chomp $HOSTNAME;
 $DEST_DIR =



More information about the Orca-checkins mailing list