whirr-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From as...@apache.org
Subject svn commit: r1201780 - in /whirr/trunk: CHANGES.txt services/ganglia/src/main/resources/functions/configure_ganglia.sh
Date Mon, 14 Nov 2011 16:32:18 GMT
Author: asavu
Date: Mon Nov 14 16:32:18 2011
New Revision: 1201780

URL: http://svn.apache.org/viewvc?rev=1201780&view=rev
Log:
WHIRR-396. service/ganglia needs non-zero send_metadata_interval= in gmond.conf (Joris Bontje
via asavu)

Modified:
    whirr/trunk/CHANGES.txt
    whirr/trunk/services/ganglia/src/main/resources/functions/configure_ganglia.sh

Modified: whirr/trunk/CHANGES.txt
URL: http://svn.apache.org/viewvc/whirr/trunk/CHANGES.txt?rev=1201780&r1=1201779&r2=1201780&view=diff
==============================================================================
--- whirr/trunk/CHANGES.txt (original)
+++ whirr/trunk/CHANGES.txt Mon Nov 14 16:32:18 2011
@@ -93,6 +93,9 @@ Trunk (unreleased changes)
 
     WHIRR-352. mvn package assembly:assembly fails (David Alves via asavu)
 
+    WHIRR-396. service/ganglia needs non-zero send_metadata_interval= in 
+    gmond.conf (Joris Bontje via asavu)
+
 Release 0.6.0 - 2011-08-17
 
   NEW FEATURES

Modified: whirr/trunk/services/ganglia/src/main/resources/functions/configure_ganglia.sh
URL: http://svn.apache.org/viewvc/whirr/trunk/services/ganglia/src/main/resources/functions/configure_ganglia.sh?rev=1201780&r1=1201779&r2=1201780&view=diff
==============================================================================
--- whirr/trunk/services/ganglia/src/main/resources/functions/configure_ganglia.sh (original)
+++ whirr/trunk/services/ganglia/src/main/resources/functions/configure_ganglia.sh Mon Nov
14 16:32:18 2011
@@ -60,6 +60,12 @@ function configure_ganglia() {
     remove_ganglia_conf_section udp_recv_channel /etc/ganglia/gmond.conf
     remove_ganglia_conf_section tcp_accept_channel /etc/ganglia/gmond.conf
     
+    cat > /etc/ganglia/conf.d/globals.conf <<EOF
+globals {
+  send_metadata_interval = 30
+}
+EOF
+
     cat > /etc/ganglia/conf.d/cluster.conf <<EOF
 cluster {
   name = "$CLUSTER_NAME"
@@ -121,6 +127,12 @@ EOF
     remove_ganglia_conf_section udp_recv_channel /etc/ganglia/gmond.conf
     remove_ganglia_conf_section tcp_accept_channel /etc/ganglia/gmond.conf
     
+    cat > /etc/ganglia/conf.d/globals.conf <<EOF
+globals {
+  send_metadata_interval = 30
+}
+EOF
+
     cat > /etc/ganglia/conf.d/cluster.conf <<EOF
 cluster {
   name = "$CLUSTER_NAME"
@@ -153,4 +165,4 @@ EOF
 
   fi
   
-}
\ No newline at end of file
+}



Mime
View raw message