aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rwxr-xr-xsrc/fuel-plugin/build-collectd.sh2
-rwxr-xr-xsrc/fuel-plugin/deployment_scripts/install.sh12
2 files changed, 13 insertions, 1 deletions
diff --git a/src/fuel-plugin/build-collectd.sh b/src/fuel-plugin/build-collectd.sh
index 72097d20..a4741254 100755
--- a/src/fuel-plugin/build-collectd.sh
+++ b/src/fuel-plugin/build-collectd.sh
@@ -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 ..
diff --git a/src/fuel-plugin/deployment_scripts/install.sh b/src/fuel-plugin/deployment_scripts/install.sh
index efdc926e..93dfcae7 100755
--- a/src/fuel-plugin/deployment_scripts/install.sh
+++ b/src/fuel-plugin/deployment_scripts/install.sh
@@ -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