[csw-devel] SF.net SVN: gar:[16456] csw/mgar/pkg/ganglia/trunk

d_pocock at users.sourceforge.net d_pocock at users.sourceforge.net
Sun Dec 11 06:06:35 CET 2011


Revision: 16456
          http://gar.svn.sourceforge.net/gar/?rev=16456&view=rev
Author:   d_pocock
Date:     2011-12-11 05:06:35 +0000 (Sun, 11 Dec 2011)
Log Message:
-----------
ganglia: add new config options for 3.2.0, add dwoo cache dir

Modified Paths:
--------------
    csw/mgar/pkg/ganglia/trunk/Makefile
    csw/mgar/pkg/ganglia/trunk/files/conf.php

Modified: csw/mgar/pkg/ganglia/trunk/Makefile
===================================================================
--- csw/mgar/pkg/ganglia/trunk/Makefile	2011-12-10 23:38:39 UTC (rev 16455)
+++ csw/mgar/pkg/ganglia/trunk/Makefile	2011-12-11 05:06:35 UTC (rev 16456)
@@ -187,6 +187,7 @@
 PKGFILES_CSWgangliagmetad += /etc/opt/csw/ganglia/gmetad.conf.CSW
 PKGFILES_CSWgangliagmetad += /etc/opt/csw/init.d/cswgmetad
 PKGFILES_CSWgangliagmetad += /var/opt/csw/ganglia/rrds
+PKGFILES_CSWgangliagmetad += /var/opt/csw/ganglia/dwoo
 PKGFILES_CSWgangliagmetad += /opt/csw/share/man/man1/gmetad.1
 
 PKGFILES_CSWgangliaweb = $(WWWGANGLIA)/.*
@@ -206,6 +207,7 @@
 
 PROTOTYPE_FILTER_CSWgangliagmetad = awk '\
 $$$$3 ~ /\/var\/opt\/csw\/ganglia\/rrds/ { $$$$5 = "nobody"; $$$$6 = "nogroup" } \
+$$$$3 ~ /\/var\/opt\/csw\/ganglia\/dwoo/ { $$$$5 = "nobody"; $$$$6 = "nogroup" } \
 { print }'
 
 

Modified: csw/mgar/pkg/ganglia/trunk/files/conf.php
===================================================================
--- csw/mgar/pkg/ganglia/trunk/files/conf.php	2011-12-10 23:38:39 UTC (rev 16455)
+++ csw/mgar/pkg/ganglia/trunk/files/conf.php	2011-12-11 05:06:35 UTC (rev 16456)
@@ -21,6 +21,13 @@
 $gmetad_root = "/var/opt/csw/ganglia";
 $rrds = "$gmetad_root/rrds";
 
+# Where Dwoo (PHP templating engine) store compiled templates
+$dwoo_compiled_dir = "$gmetad_root/dwoo";
+
+# Where to find filter configuration files, if not set filtering
+# will be disabled
+#$filter_dir = "$gmetad_root/filters";
+
 # Leave this alone if rrdtool is installed in $gmetad_root,
 # otherwise, change it if it is installed elsewhere (like /usr/bin)
 define("RRDTOOL", "/opt/csw/bin/rrdtool");
@@ -36,6 +43,9 @@
 # Location for modular-graph files.
 $graphdir='./graph.d';
 
+# Display statistical values on RRD graphs; i.e.: average, min, max
+$graphreport_stats = true;
+
 #
 # If you want to grab data from a different ganglia source specify it here.
 # Although, it would be strange to alter the IP since the Round-Robin

This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site.



More information about the devel mailing list