summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--Monitoring/collectd/collectd.conf37
-rw-r--r--Monitoring/collectd/supervisor.d/collectd.conf3
2 files changed, 40 insertions, 0 deletions
diff --git a/Monitoring/collectd/collectd.conf b/Monitoring/collectd/collectd.conf
new file mode 100644
index 00000000..8779f418
--- /dev/null
+++ b/Monitoring/collectd/collectd.conf
@@ -0,0 +1,37 @@
+Hostname "HOST1"
+Interval 10
+LoadPlugin cpu
+LoadPlugin df
+LoadPlugin disk
+LoadPlugin interface
+LoadPlugin load
+LoadPlugin memory
+LoadPlugin swap
+LoadPlugin users
+
+<Plugin interface>
+ Interface "eth0"
+ Interface "retiolum"
+</Plugin>
+
+<Plugin df>
+ Device "/dev/xvda1"
+ IgnoreSelected false
+</Plugin>
+<Plugin disk>
+ Disk "/xvda/"
+ IgnoreSelected false
+</Plugin>
+
+LoadPlugin "write_graphite"
+<Plugin "write_graphite">
+ <Carbon>
+ Host "no_omo.retiolum"
+ Port "2003"
+ Prefix "retiolum."
+ #Postfix ""
+ EscapeCharacter "_"
+ StoreRates false
+ AlwaysAppendDS false
+ </Carbon>
+</Plugin>
diff --git a/Monitoring/collectd/supervisor.d/collectd.conf b/Monitoring/collectd/supervisor.d/collectd.conf
new file mode 100644
index 00000000..a6334d70
--- /dev/null
+++ b/Monitoring/collectd/supervisor.d/collectd.conf
@@ -0,0 +1,3 @@
+[program:collectd]
+command=collectd -C /etc/collectd.conf -f
+autorestart=true