Module: check_mk
Branch: master
Commit: ed6caea68bf2b5c35a00f81497e799e737494f63
URL:
http://git.mathias-kettner.de/git/?p=check_mk.git;a=commit;h=ed6caea68bf2b5…
Author: Mathias Kettner <mk(a)mathias-kettner.de>
Date: Wed Jun 27 14:07:39 2012 +0200
Fixed plugin output of nfsmount for stale handles
---
checks/nfsmounts | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
diff --git a/checks/nfsmounts b/checks/nfsmounts
index ac74045..c655c7b 100644
--- a/checks/nfsmounts
+++ b/checks/nfsmounts
@@ -37,7 +37,7 @@ def check_nfsmounts(item, _no_params, info):
blocksize = int(line[5])
if size_blocks < 0 or free_blocks < 0 or blocksize > 1024*1024:
- return (2, "WARN - Stale NFS handle")
+ return (2, "CRIT - Stale NFS handle")
if line[1] == 'ok':
gb = 1024 * 1024 * 1024.0