summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorndarshan <dnarayan@redhat.com>2014-04-07 11:04:47 +0530
committerBala.FA <barumuga@redhat.com>2014-04-29 10:21:37 +0530
commit197ff6c25b79442e0f813ab36a8437a3f8335c48 (patch)
tree86928fbf37615c80ad6901f2d982f2dd09508bb1
parent357068b08b47a1830d86fa1294fc93aaefbe2501 (diff)
Server-addons: Fix for issue in cluster utilization help option.
This patch fixes the issue with -h(help) option for the cluster utilization plugin. Change-Id: Ide120c741d668188e2e270a509c20e9e109f11b9 Bug-Url: https://bugzilla.redhat.com/show_bug.cgi?id=1082834 Signed-off-by: ndarshan <dnarayan@redhat.com>
-rwxr-xr-xplugins/check_cluster_vol_usage.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/plugins/check_cluster_vol_usage.py b/plugins/check_cluster_vol_usage.py
index c079ef3..21439b0 100755
--- a/plugins/check_cluster_vol_usage.py
+++ b/plugins/check_cluster_vol_usage.py
@@ -66,13 +66,13 @@ if __name__ == "__main__":
action='store',
type=int,
dest='warn',
- help='Warning in %',
+ help='Warning in %%',
default=70)
parser.add_argument('-c', '--critical',
action='store',
type=int,
dest='crit',
- help='Critical threshold Warning in %',
+ help='Critical threshold Warning in %%',
default=95)
parser.add_argument('-hg', '--host-group',
action='store',