munin-master: fichier de conf de rrdcached

This commit is contained in:
Daniel STAN 2014-03-15 16:02:38 +01:00
parent 9a1d3d4817
commit 8e6e5552ed
3 changed files with 28 additions and 0 deletions

View file

@ -1,5 +1,6 @@
<Bundle name="munin-server"> <Bundle name="munin-server">
<Package name="munin"/> <Package name="munin"/>
<Package name="rrdcached"/> <!-- speed up graphing --> <Package name="rrdcached"/> <!-- speed up graphing -->
<Path name="/etc/default/rrdcached"/>
<Python name="/etc/munin/munin.conf"/> <Python name="/etc/munin/munin.conf"/>
</Bundle> </Bundle>

View file

@ -0,0 +1,3 @@
<FileInfo>
<Info owner='root' group='root' perms='0644'/>
</FileInfo>

View file

@ -0,0 +1,24 @@
# Crans: géré par bcfg2 !
# NB: ce fichier de conf active le démon rrdcached pour qu'il soit utilisé
# par munin-master. Les fichiers rrd produits doivent être lisibles par l'user
# munin pour afficher les graphes.
# 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="-s munin -m 660 -b /var/lib/munin -w 1800 -z 1800 -f 3600 -l unix:/var/run/rrdcached.sock"
# 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