From d7efe24a3402a471df00835940dbd0027c02dd63 Mon Sep 17 00:00:00 2001 From: Pall Sigurdsson Date: Fri, 6 Dec 2013 14:18:15 +0000 Subject: [PATCH] fix typos --- check_storwize/check_storwize.py | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/check_storwize/check_storwize.py b/check_storwize/check_storwize.py index 656c41e..c4398af 100644 --- a/check_storwize/check_storwize.py +++ b/check_storwize/check_storwize.py @@ -99,7 +99,7 @@ def check_lsenclosurecanister(): p.add_summary("canister %s:%s is %s" % (row.enclosure_id, row.canister_id, row.status)) -def check_lsenclosurecanister(): +def check_lsenclosurepsu(): p.add_summary("%s psu found" % (len(rows))) p.add_metric("number of psu", len(rows)) for row in rows: @@ -116,13 +116,13 @@ def check_lsenclosure(): p.status(critical) p.add_summary("enclosure %s is %s" % (row.id, row.status)) -def check_lsenclosure(): +def check_lsrcrelationship(): p.add_summary("%s relationships found" % (len(rows))) p.add_metric("number of relationships", len(rows)) for row in rows: if row.progress != 'consistent_synchronized': p.status(critical) - p.add_summary("%s is %s" % (row.consistency_group_name, row.status)) + p.add_summary("%s is %s" % (row.consistency_group_name, row.progress)) def check_lsvdisk(): p.add_summary("%s disks found" % (len(rows)))