Module: check_mk
Branch: master
Commit: 3e585b8daa58a82bff0e0a8971052ce5d05cc32b
URL:
http://git.mathias-kettner.de/git/?p=check_mk.git;a=commit;h=3e585b8daa58a8…
Author: Florian Heigl <fh(a)mathias-kettner.de>
Date: Fri Oct 12 10:13:18 2012 +0200
checks/mounts: ignore localalloc setting on OCFS2.
---
checks/mounts | 6 ++++--
1 files changed, 4 insertions(+), 2 deletions(-)
diff --git a/checks/mounts b/checks/mounts
index 521023b..335207e 100644
--- a/checks/mounts
+++ b/checks/mounts
@@ -41,12 +41,14 @@ def check_mounts(item, targetopts, info):
exceeding = []
for o in opts:
- if o not in targetopts and not o.startswith("commit="):
+ if o not in targetopts and not o.startswith("commit=") \
+ and not o.startswith("localalloc="):
exceeding.append(o)
missing = []
for o in targetopts:
- if o not in opts and not o.startswith("commit="):
+ if o not in opts and not o.startswith("commit=") \
+ and not o.startswith("localalloc="):
missing.append(o)
if not missing and not exceeding: