aboutsummaryrefslogtreecommitdiff
path: root/files/etc/default/rrdcached
diff options
context:
space:
mode:
authorSilvio Rhatto <rhatto@riseup.net>2014-01-18 15:54:34 -0200
committerSilvio Rhatto <rhatto@riseup.net>2014-01-18 15:54:34 -0200
commit1ff45f72a2e02d73f1ef4874a319826203b1b879 (patch)
treee2a9dd6349e451b9a28a5c4b5dea2461a31f68d1 /files/etc/default/rrdcached
parentc3f3908dd35749ba3bd3074f339d76e8f0a4a76b (diff)
downloadpuppet-nodo-1ff45f72a2e02d73f1ef4874a319826203b1b879.tar.gz
puppet-nodo-1ff45f72a2e02d73f1ef4874a319826203b1b879.tar.bz2
Manage rrdcached on nodo::subsystem::monitor::master
Diffstat (limited to 'files/etc/default/rrdcached')
-rw-r--r--files/etc/default/rrdcached22
1 files changed, 22 insertions, 0 deletions
diff --git a/files/etc/default/rrdcached b/files/etc/default/rrdcached
new file mode 100644
index 0000000..43d4ac8
--- /dev/null
+++ b/files/etc/default/rrdcached
@@ -0,0 +1,22 @@
+# /etc/default/rrdcached
+
+# 0: start rrdcached on boot, 1: do not start rrdcached on boot
+# default: 0
+DISABLE=0
+
+# options to be passed to rrdcached
+# (do not specify -p <pidfile> - this is handled by the init script)
+# default: see /etc/init.d/rrdcached
+#OPTS=""
+OPTS="-s munin -l unix:/var/run/rrdcached.sock -j /var/lib/rrdcached/journal/ -F -b /var/lib/munin/ -B -w 1800 -z 1800 -f 3600"
+
+# number of seconds to wait for rrdcached to shut down
+# (writing the data to disk may take some time;
+# tune this according to your setup)
+# default: 30
+MAXWAIT=30
+
+# 0: do not enable core-files, 1: enable core-files ... if rrdcached crashes
+# default: 0
+ENABLE_COREFILES=0
+