aboutsummaryrefslogtreecommitdiffstats
path: root/performanceTests/k8s/collectd/config
diff options
context:
space:
mode:
Diffstat (limited to 'performanceTests/k8s/collectd/config')
-rw-r--r--performanceTests/k8s/collectd/config/collectd.conf30
-rwxr-xr-xperformanceTests/k8s/collectd/config/install_collectd.sh6
2 files changed, 36 insertions, 0 deletions
diff --git a/performanceTests/k8s/collectd/config/collectd.conf b/performanceTests/k8s/collectd/config/collectd.conf
new file mode 100644
index 00000000..62ec70d5
--- /dev/null
+++ b/performanceTests/k8s/collectd/config/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 "10.183.39.145" "30003"
+</Plugin>
+
+<Include "/etc/collectd/collectd.conf.d">
+ Filter "*.conf"
+</Include>
diff --git a/performanceTests/k8s/collectd/config/install_collectd.sh b/performanceTests/k8s/collectd/config/install_collectd.sh
new file mode 100755
index 00000000..dbc35fed
--- /dev/null
+++ b/performanceTests/k8s/collectd/config/install_collectd.sh
@@ -0,0 +1,6 @@
+#! /bin/bash
+
+sudo apt-get update && sudo apt-get install collectd -y
+sudo cp config/collectd.conf /etc/collectd/collectd.conf
+sudo service collectd restart
+