Module: check_mk
Branch: master
Commit: 709b45c753016f65e35875ef21a964b9c6449c3a
URL:
http://git.mathias-kettner.de/git/?p=check_mk.git;a=commit;h=709b45c753016f…
Author: Marcel Arentz <ma(a)mathias-kettner.de>
Date: Mon Apr 3 17:34:49 2017 +0200
removed conversion of value in perfdata
Change-Id: Iff1529404878be5cc43f0b0061149ec411cf2fce
---
checks/3par_volumes | 7 ++++---
1 file changed, 4 insertions(+), 3 deletions(-)
diff --git a/checks/3par_volumes b/checks/3par_volumes
index b6893e1..698f08c 100644
--- a/checks/3par_volumes
+++ b/checks/3par_volumes
@@ -66,9 +66,10 @@ def check_3par_volumes(item, params, parsed):
yield 0, "Compact: %s" %
entry['capacityEfficiency']['compaction']
# Add some additional information and the performance data about
Provisioning
- yield states[entry['state']], \
- "Type: %s, WWN: %s" %
(provisioning_map[entry['provisioningType']], entry['wwn']), \
- [ ( "fs_provisioning",
get_bytes_human_readable(entry['userSpace']['rawReservedMiB'] * 1024 *
1024)) ]
+ provisioning = entry['userSpace']['rawReservedMiB'] * 1024 *
1024
+ yield states[entry['state']], "Type: %s, WWN: %s" % \
+ (provisioning_map[entry['provisioningType']],
entry['wwn']), \
+ [ ( "fs_provisioning", provisioning) ]
check_info['3par_volumes'] = {