Module: check_mk
Branch: master
Commit: 1b83a6e035317cccea1b0d8fc71f846cd42ec74c
URL:
http://git.mathias-kettner.de/git/?p=check_mk.git;a=commit;h=1b83a6e035317c…
Author: Mathias Kettner <mk(a)mathias-kettner.de>
Date: Thu Apr 7 13:26:54 2011 +0200
FIX: vms_df: fix completely broken check
---
ChangeLog | 1 +
checks/vms_df | 3 ++-
2 files changed, 3 insertions(+), 1 deletions(-)
diff --git a/ChangeLog b/ChangeLog
index cd49654..619bfeb 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -22,6 +22,7 @@
* Allow moving hosts from one to another config file
Checks & Agents:
+ * FIX: vms_df: fix, was completely broken due to conversion to df.include
* FIX: blade_bays: add missing SNMP OIDs (check was always UNKNOWN)
* FIX: df: fix layout problems in PNP template
* FIX: df: fix trend computation (thanks to Sebastian Talmon)
diff --git a/checks/vms_df b/checks/vms_df
index 36e642c..73b2e4b 100644
--- a/checks/vms_df
+++ b/checks/vms_df
@@ -24,7 +24,7 @@
# to the Free Software Foundation, Inc., 51 Franklin St, Fifth Floor,
# Boston, MA 02110-1301 USA.
-check_includes['hr_fs'] = [ "df.include" ]
+check_includes['vms_df'] = [ "df.include" ]
# DSA101 0.77 400.00 0.07 0.93 16271539.00 35556389
# DSA102 0.00 400.00 0.00 0.00 86651840.00 106669167
@@ -48,6 +48,7 @@ def check_vms_df(item, params, info):
status, text, perfdata = df_check_filesystem(g_hostname, item, size_mb,
free_mb, params)
perfdata.append( ('iops', "%.2f" % io_ops_total_per_sec )
)
+ return status, text, perfdata
return (3, "Disk %s not found" % (item,))