crans_bcfg2/Python/etc/munin/munin-node.conf
Nicolas Dandrimont 83e149ce57 [munin-node.conf] Ouverture des accès
Ignore-this: 7ba6f648ec42c8aaff21e30aea2bca05

darcs-hash:20090329183206-ffbb2-66a1aa0c9a8026d970e39673e1c4c176c5c3132c.gz
2009-03-29 20:32:06 +02:00

47 lines
1 KiB
Python

# -*- coding: utf-8; mode: python -*-
include("ip")
info["owner"] = "root"
info["group"] = "root"
# Ajouter ici le remplacement du nom d'hôte pour les hôtes particuliers
munin_hostname = pubhostname
header("""
Fichier de configuration de Munin-Node.
Pour des informations détaillées, consulter
http://munin.projects.linpro.no/wiki/munin-node.conf
""")
@# Fichier PID, configuration du démon
@pid_file /var/run/munin/munin-node.pid
@background 1
@setsid yes
@setseid 1
@
@# Port sur lequel se binder. On s'ouvre sur toutes les interfaces, le tri se fait plus bas
@host *
@port 4949
@
@# Utilisateur sous lequel tourne le démon munin-node
@user root
@group root
@
@# Fichiers à ignorer
@ignore_file ~$
@ignore_file \.bak$
@ignore_file %$
@ignore_file \.dpkg-(tmp|new|old|dist)$
@
@# Nom d'hôte reporté au serveur munin
print "host_name %s" % munin_hostname
@
if not has("users"):
@# On autorise tout adm et localhost
@allow ^10\.231\.136\..*$
@allow ^127\.0\.0\.1$
else:
@# On autorise seulement le serveur munin
@allow ^10\.231\.136\.81$