[Python/.../munin-node.conf] BCfg2isation...
Ignore-this: 90a3fe41d96e36f4681050fa80e3b486 darcs-hash:20090329181352-ffbb2-d96895eef1baac57099e7179a8ed7a48f30aae1d.gz
This commit is contained in:
parent
b22ee6ca5b
commit
8494237a2b
1 changed files with 25 additions and 27 deletions
|
@ -21,30 +21,28 @@ Pour des informations détaillées, consulter
|
||||||
http://munin.projects.linpro.no/wiki/munin-node.conf
|
http://munin.projects.linpro.no/wiki/munin-node.conf
|
||||||
""")
|
""")
|
||||||
|
|
||||||
print ur"""
|
@# Fichier PID, configuration du démon
|
||||||
# Fichier PID, configuration du démon
|
@pid_file /var/run/munin/munin-node.pid
|
||||||
pid_file /var/run/munin/munin-node.pid
|
@background 1
|
||||||
background 1
|
@setsid yes
|
||||||
setsid yes
|
@setseid 1
|
||||||
setseid 1
|
@
|
||||||
|
@# Port sur lequel se binder
|
||||||
# Port sur lequel se binder
|
print "host %s" % address
|
||||||
host %(address)s
|
@port 4949
|
||||||
port 4949
|
@
|
||||||
|
@# Utilisateur sous lequel tourne le démon munin-node
|
||||||
# Utilisateur sous lequel tourne le démon munin-node
|
@user root
|
||||||
user root
|
@group root
|
||||||
group root
|
@
|
||||||
|
@# Fichiers à ignorer
|
||||||
# Fichiers à ignorer
|
@ignore_file ~$
|
||||||
ignore_file ~$
|
@ignore_file \.bak$
|
||||||
ignore_file \.bak$
|
@ignore_file %$
|
||||||
ignore_file %%$
|
@ignore_file \.dpkg-(tmp|new|old|dist)$
|
||||||
ignore_file \.dpkg-(tmp|new|old|dist)$
|
@
|
||||||
|
@# Nom d'hôte reporté au serveur munin
|
||||||
# Nom d'hôte reporté au serveur munin
|
print "host_name %s" % munin_hostname
|
||||||
host_name %(munin_hostname)s
|
@
|
||||||
|
@# Adresse IP du serveur munin
|
||||||
# Adresse IP du serveur munin
|
@allow ^10\.231\.136\.81$
|
||||||
allow ^10\.231\.136\.81$
|
|
||||||
""".encode('utf-8') % { "munin_hostname": munin_hostname, "address": address }
|
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue