[./Python/etc/monit/services] On passe le pourcentage d'alerte à 90 pour /home

22Go de marge semble être suffisant

darcs-hash:20090208161615-8fbb1-174a755105e0ce02a80c20515af36cc96f5acded.gz
This commit is contained in:
Olivier Huber 2009-02-08 17:16:15 +01:00
parent 241678d9bc
commit 6dac6ba127

View file

@ -214,7 +214,7 @@ for line in metadata.probes["fstab_local"].splitlines():
('news','/var') : 90
}.get((hostname, mntpoint), -1)
if alert_level == -1:
if mntpoint in ('/usr', '/var/lib/mailman', '/localhome') or has('domu'):
if mntpoint in ('/usr', '/var/lib/mailman', '/localhome' , '/home') or has('domu'):
alert_level = 90
else:
alert_level = 80