monit: les homes sont montés dans home-adh
Ce qui passe la limite d'alerte à 90%
This commit is contained in:
parent
cdcb2ef962
commit
65f06ee155
1 changed files with 1 additions and 1 deletions
|
@ -371,7 +371,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' , '/home') or has('domu'):
|
||||
if mntpoint in ('/usr', '/var/lib/mailman', '/localhome' , '/home-adh') or has('domu'):
|
||||
alert_level = 90
|
||||
else:
|
||||
alert_level = 80
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue