fuel: update to use the latest commit 37/27137/1
authorMaryam Tahhan <maryam.tahhan@intel.com>
Thu, 12 Jan 2017 09:28:46 +0000 (09:28 +0000)
committerMaryam Tahhan <maryam.tahhan@intel.com>
Wed, 18 Jan 2017 07:00:07 +0000 (07:00 +0000)
Update the collectd commit id used to build the collectd package. This new id
includes all the upstreamed plugins for barometer. Add the configuration for
the hugepages plugin.

Change-Id: Ibb639cfacbad5c69220a9d379836b7126021d0b6
Signed-off-by: Maryam Tahhan <maryam.tahhan@intel.com>
Reviewed-by: Ruijing Gou <ruijing.guo@intel.com>
src/fuel-plugin/build-collectd.sh
src/fuel-plugin/deployment_scripts/install.sh

index 72097d2..a474125 100755 (executable)
@@ -77,7 +77,7 @@ sudo make install PREFIX=/fuel-plugin/build/qpos
 
 cd ${BUILD_HOME}
 rm -rf collectd
-git clone https://github.com/collectd/collectd; cd collectd; git checkout 786a6be461cf58ef2b8c57974cad2a79ba2ee82c
+git clone https://github.com/collectd/collectd; cd collectd; git checkout 76fb10bf790e35dd6caca13c4bb5d0f86c517370
 git clone https://github.com/collectd/pkg-debian; cd pkg-debian; git checkout 549d3caba74210ad762fe8c556801d9c11ab9876
 patch -p1 < /fuel-plugin/enable_pqos.diff
 cp -r debian ..
index efdc926..93dfcae 100755 (executable)
@@ -71,4 +71,16 @@ cat << EOF > /etc/collectd/collectd.conf.d/intel-rdt.conf
 </Plugin>
 EOF
 
+cat << EOF > /etc/collectd/collectd.conf.d/hugepages.conf
+LoadPlugin hugepages
+
+<Plugin hugepages>
+    ReportPerNodeHP  true
+    ReportRootHP     true
+    ValuesPages      true
+    ValuesBytes      false
+    ValuesPercentage false
+</Plugin>
+EOF
+
 service collectd restart