Module: check_mk
Branch: master
Commit: 937e639446ba41059fdab7bc3132ecaca0ccc0fb
URL:
http://git.mathias-kettner.de/git/?p=check_mk.git;a=commit;h=937e639446ba41…
Author: Mathias Kettner <mk(a)mathias-kettner.de>
Date: Mon Jun 25 15:31:20 2012 +0200
nfsmounts: reclassify "Stale NFS handle" from WARN to CRIT
---
ChangeLog | 1 +
checks/nfsmounts | 2 +-
2 files changed, 2 insertions(+), 1 deletions(-)
diff --git a/ChangeLog b/ChangeLog
index 3d087ac..c53183c 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -7,6 +7,7 @@
(backups, tablespaces, counters)
* New check wut_webio_io: Monitor the IO input channels on W&T Web-IO
devices
+ * nfsmounts: reclassify "Stale NFS handle" from WARN to CRIT
Multisite:
* Show number of rows and number of selected rows in header line
diff --git a/checks/nfsmounts b/checks/nfsmounts
index 03720c3..ac74045 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 (1, "WARN - Stale NFS handle")
+ return (2, "WARN - Stale NFS handle")
if line[1] == 'ok':
gb = 1024 * 1024 * 1024.0