[monit] le type de fs swap peut aussi s'appeler sw.

darcs-hash:20091029171926-ffbb2-a1c6f13c46967e7b54d6760b7adac25808e03f8d.gz
This commit is contained in:
Nicolas Dandrimont 2009-10-29 18:19:26 +01:00
parent 7104ed2e76
commit 33c3631bea

View file

@ -222,7 +222,7 @@ for line in metadata.Probes["fstab_local"].splitlines():
continue
# on saute les système pas intéressants
if type in ['swap','proc','tmpfs','sysfs', 'nfs', 'devpts']:
if type in ['swap', 'sw', 'proc', 'tmpfs', 'sysfs', 'nfs', 'devpts']:
continue
# on ajoute les lignes de configuration générale