[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
|
||||
""")
|
||||
|
||||
print ur"""
|
||||
# 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
|
||||
host %(address)s
|
||||
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
|
||||
host_name %(munin_hostname)s
|
||||
|
||||
# Adresse IP du serveur munin
|
||||
allow ^10\.231\.136\.81$
|
||||
""".encode('utf-8') % { "munin_hostname": munin_hostname, "address": address }
|
||||
@# 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
|
||||
print "host %s" % address
|
||||
@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
|
||||
@
|
||||
@# Adresse IP du serveur munin
|
||||
@allow ^10\.231\.136\.81$
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue