Tweaking des plugins munin

darcs-hash:20080914174748-ffbb2-f90ffd8cb29070a3d0ed1c63d3b7302e07815ae4.gz
This commit is contained in:
Nicolas Dandrimont 2008-09-14 19:47:48 +02:00
parent 31539859ee
commit cceeea27bb
4 changed files with 25 additions and 12 deletions

View file

@ -93,7 +93,7 @@ if 'generate' in sys.argv :
total = 0
f = open('/tmp/audimat','w')
f = open('/var/lib/munin/tmp/audimat','w')
for ip, nom in chaines.items() :
if not nom : continue
@ -112,6 +112,6 @@ if 'generate' in sys.argv :
####################################################################
try :
print file("/tmp/audimat").read()
print file("/var/lib/munin/tmp/audimat").read()
except :
pass