summaryrefslogtreecommitdiffstats
path: root/god/Monitoring/collectd
diff options
context:
space:
mode:
authoreuer <root@euer.krebsco.de>2012-12-23 00:21:25 +0100
committereuer <root@euer.krebsco.de>2012-12-23 00:21:25 +0100
commit9456cfffea015812acf5dcdd2d074e98ca54e720 (patch)
treee57111b7d1499bb6f1ef49937f5f62de158ae5db /god/Monitoring/collectd
parent3649aff46c8bace238c3cf22abcfbfe8be9dce8a (diff)
//Monitoring -> //god/Monitoring
Diffstat (limited to 'god/Monitoring/collectd')
-rw-r--r--god/Monitoring/collectd/collectd.conf37
-rw-r--r--god/Monitoring/collectd/supervisor.d/collectd.conf3
2 files changed, 40 insertions, 0 deletions
diff --git a/god/Monitoring/collectd/collectd.conf b/god/Monitoring/collectd/collectd.conf
new file mode 100644
index 00000000..8779f418
--- /dev/null
+++ b/god/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/god/Monitoring/collectd/supervisor.d/collectd.conf b/god/Monitoring/collectd/supervisor.d/collectd.conf
new file mode 100644
index 00000000..a6334d70
--- /dev/null
+++ b/god/Monitoring/collectd/supervisor.d/collectd.conf
@@ -0,0 +1,3 @@
+[program:collectd]
+command=collectd -C /etc/collectd.conf -f
+autorestart=true