summaryrefslogtreecommitdiffstats
path: root/plugins
diff options
context:
space:
mode:
authorRamesh Nachimuthu <rnachimu@redhat.com>2014-04-04 17:06:03 +0530
committerBala.FA <barumuga@redhat.com>2014-04-29 10:21:37 +0530
commit357068b08b47a1830d86fa1294fc93aaefbe2501 (patch)
tree6dfa5d98f984efa9617c96980bcb01fdf32e2f5f /plugins
parenta760c8df4f4ce29374c3dbb924695e013f58133b (diff)
fixing the issue in cluster utilization plug-in
Removed the extra \n and changed the volume utilization pattern to 'Volume Utilization -' Change-Id: I12dd3ba6c85a6ec5e4c05af03602fe581188bb5c Signed-off-by: Ramesh Nachimuthu <rnachimu@redhat.com> Reviewed-on: https://code.engineering.redhat.com/gerrit/22562 Reviewed-by: Kanagaraj Mayilsamy <kmayilsa@redhat.com>
Diffstat (limited to 'plugins')
-rwxr-xr-xplugins/check_cluster_vol_usage.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/plugins/check_cluster_vol_usage.py b/plugins/check_cluster_vol_usage.py
index 1a77d93..c079ef3 100755
--- a/plugins/check_cluster_vol_usage.py
+++ b/plugins/check_cluster_vol_usage.py
@@ -39,7 +39,7 @@ def checkVolumePerfData(clusterName):
# Write command to socket
cmd = "GET services\nColumns: description host_name " \
"perf_data custom_variables\nFilter: " \
- "description ~~ %s\n" % 'Volume-'
+ "description ~~ %s" % 'Volume Utilization -'
table = livestatus.readLiveStatus(cmd)
totalUsed = 0.0
totalAvail = 0.0