[checkmk-commits] Check_MK Git: check_mk: diskstat.include: Minor fix for last bugfix

Bastian Kuhn bk at mathias-kettner.de
Tue Aug 12 09:14:23 CEST 2014


Module: check_mk
Branch: master
Commit: 7c95b1d6e1c0113f1f84126a705a54dae0f22bd4
URL:    http://git.mathias-kettner.de/git/?p=check_mk.git;a=commit;h=7c95b1d6e1c0113f1f84126a705a54dae0f22bd4

Author: Bastian Kuhn <bk at mathias-kettner.de>
Date:   Tue Aug 12 09:14:18 2014 +0200

diskstat.include: Minor fix for last bugfix

---

 checks/diskstat.include |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/checks/diskstat.include b/checks/diskstat.include
index 47eb6d7..a4cd35a 100644
--- a/checks/diskstat.include
+++ b/checks/diskstat.include
@@ -89,7 +89,7 @@ def inventory_diskstat_generic(info):
 
 
 
-def check_diskstat_line(this_time, item, params, line, mode):
+def check_diskstat_line(this_time, item, params, line, mode='sectors'):
     average_range = params.get("average")
     perfdata = []
     infos = []



More information about the checkmk-commits mailing list