summaryrefslogtreecommitdiffstats
path: root/plugins/check_vol_server.py
diff options
context:
space:
mode:
authorSahina Bose <sabose@redhat.com>2014-05-05 18:04:53 +0530
committerSahina Bose <sabose@redhat.com>2014-05-05 05:42:30 -0700
commit67392b9e16f009114be4f340aa0f7d3e9c48478b (patch)
tree2ba0615f4ea668074825d61a8b4363114a266a29 /plugins/check_vol_server.py
parent0706780940a73ee38ea039f6c31e151ef106268a (diff)
nagios-server: Fixed livestatus query for quota
As the service name has changed, fixed the livestatus query for Quota service Change-Id: I4967429f357786aad5f6402293054a930371a52e Signed-off-by: Sahina Bose <sabose@redhat.com> Reviewed-on: http://review.gluster.org/7673 Reviewed-by: Kanagaraj M <kmayilsa@redhat.com>
Diffstat (limited to 'plugins/check_vol_server.py')
-rwxr-xr-xplugins/check_vol_server.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/plugins/check_vol_server.py b/plugins/check_vol_server.py
index cab903c..1c5863a 100755
--- a/plugins/check_vol_server.py
+++ b/plugins/check_vol_server.py
@@ -90,7 +90,7 @@ def _getVolumeQuotaStatusOutput(args):
table = livestatus.readLiveStatus("GET services\n"
"Columns: state long_plugin_output\n"
"Filter: description = "
- "Volume Status Quota - %s" % args.volume)
+ "Volume Quota - %s" % args.volume)
servicestatus = utils.PluginStatusCode.UNKNOWN
statusoutput = ''
if len(table) > 0: