aboutsummaryrefslogtreecommitdiffstats
path: root/performanceTests/environment/jmeterVM/collectd
diff options
context:
space:
mode:
Diffstat (limited to 'performanceTests/environment/jmeterVM/collectd')
-rw-r--r--performanceTests/environment/jmeterVM/collectd/collectd.conf30
-rwxr-xr-xperformanceTests/environment/jmeterVM/collectd/install_collectd.sh6
2 files changed, 36 insertions, 0 deletions
diff --git a/performanceTests/environment/jmeterVM/collectd/collectd.conf b/performanceTests/environment/jmeterVM/collectd/collectd.conf
new file mode 100644
index 00000000..ddf15715
--- /dev/null
+++ b/performanceTests/environment/jmeterVM/collectd/collectd.conf
@@ -0,0 +1,30 @@
+FQDNLookup true
+
+LoadPlugin syslog
+LoadPlugin cpu
+LoadPlugin memory
+LoadPlugin network
+
+<Plugin syslog>
+ LogLevel info
+</Plugin>
+
+<Plugin cpu>
+ ReportByCpu false
+ ReportByState false
+ ValuesPercentage true
+ Interval 5
+</Plugin>
+
+<Plugin memory>
+ ValuesAbsolute false
+ ValuesPercentage true
+</Plugin>
+
+<Plugin network>
+ Server WORKER_IP "30003"
+</Plugin>
+
+<Include "/etc/collectd/collectd.conf.d">
+ Filter "*.conf"
+</Include>
diff --git a/performanceTests/environment/jmeterVM/collectd/install_collectd.sh b/performanceTests/environment/jmeterVM/collectd/install_collectd.sh
new file mode 100755
index 00000000..4c8ab593
--- /dev/null
+++ b/performanceTests/environment/jmeterVM/collectd/install_collectd.sh
@@ -0,0 +1,6 @@
+#! /bin/bash
+
+sudo apt-get update && sudo apt-get install collectd -y
+sudo cp vesPerformanceTestsEnv/collectd/collectd.conf /etc/collectd/collectd.conf
+sudo service collectd restart
+