@@ -17,6 +17,7 @@ LoadPlugin write_graphite
LoadPlugin processes
LoadPlugin aggregation
LoadPlugin match_regex
+# LoadPlugin memcached
<Plugin df>
# expose host's mounts into container using -v /:/host:ro (location inside container does not matter much)
@@ -72,6 +73,11 @@ LoadPlugin match_regex
IgnoreSelected true
</Plugin>
+# <Plugin "memcached">
+# Host "memcached"
+# Port "11211"
+# </Plugin>
+
<Chain "PostCache">
<Rule>
<Match regex>
@@ -9,3 +9,4 @@ collectd:
COLLECT_INTERVAL: 10
links:
- graphite
+ - memcached
@@ -0,0 +1,5 @@
+memcached:
+ image: memcached:latest
+ ports:
+ - "11211:11211"