aboutsummaryrefslogtreecommitdiffstats
path: root/src/collectd/Makefile
diff options
context:
space:
mode:
authorShobhi <shobhi.jain@intel.com>2017-07-20 11:57:23 +0100
committerShobhi <shobhi.jain@intel.com>2017-07-20 11:57:23 +0100
commitc94196ecdd12b7cbe89bce1be7a01860865fff82 (patch)
tree6fcb26856e7ffda57ad4c9d3601d00b02ccf130e /src/collectd/Makefile
parent6c0c441e0678ade77c5242f83520f2dc3b5ddef1 (diff)
src: add OVS PMD stats plugin configuration
* ovs_pmd_stats: wrapper script to call actual ovs_pmd_stats python script with it's argument. * ovs_pmd_stats_config: script to check status of OVS service & copy ovs_pmd_stats wrapper script to /usr/local/src/. * Updates exec plugin configuration for running ovs pmd stats wrapper script. * Updates makefile to include ovs_pmd_stats_config file. Change-Id: I78be0bf944e816ab23d30f1c565884a1180724f7 Signed-off-by: Shobhi <shobhi.jain@intel.com>
Diffstat (limited to 'src/collectd/Makefile')
-rw-r--r--src/collectd/Makefile1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/collectd/Makefile b/src/collectd/Makefile
index cf1f704b..67646b0b 100644
--- a/src/collectd/Makefile
+++ b/src/collectd/Makefile
@@ -74,6 +74,7 @@ force_install:
$(AT)sed -i -e 's/CapabilityBoundingSet=/CapabilityBoundingSet=CAP_SETUID CAP_SETGID CAP_SYS_RAWIO CAP_SYS_ADMIN/g' /etc/systemd/system/collectd.service
$(AT)sed -i -e 's|Environment=\(.*\)|Environment=XDG_CACHE_HOME='$(XDG_CACHE_HOME_DIR)' \1|g' /etc/systemd/system/collectd.service
$(AT)systemctl daemon-reload
+ $(AT)sudo ./ovs_pmd_stats_config.sh
$(AT)sudo ./include_config.sh
@echo "Make install done"