Module: check_mk
Branch: master
Commit: b60c0e930217616eb54f029e6f58a2a701abbce0
URL:
http://git.mathias-kettner.de/git/?p=check_mk.git;a=commit;h=b60c0e93021761…
Author: Konstantin Büttner <kb(a)mathias-kettner.de>
Date: Mon Jun 8 13:58:02 2015 +0200
Revert "md: Converted expected and actual number of disks to int"
This reverts commit f16c8e009dde00f815238c2c6014fc0b1d217da6.
---
checks/md | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/checks/md b/checks/md
index 83e9ae7..c64313d 100644
--- a/checks/md
+++ b/checks/md
@@ -127,7 +127,7 @@ def check_md(item, _no_params, info):
its_next = True
elif its_next:
disk_state_1 = line[-2]
- num_disks, expected_disks = map(int, disk_state_1[1:-1].split('/'))
+ (num_disks, expected_disks) = disk_state_1[1:-1].split('/')
disk_state_2 = line[-1]
working_disks = disk_state_2.count('U')
state_next = True