From dd16d35b465974b17dfafd29006e8124f04c34e0 Mon Sep 17 00:00:00 2001 From: Sahina Bose Date: Fri, 2 May 2014 11:17:57 +0530 Subject: plugins: Changed the server side vol_status commands Changed the nrpe vol_status commands to pass arguments for the different status - self-heal, quota etc Change-Id: Ib26d445a582139fd9d5a07d2b9646a3517843548 Signed-off-by: Sahina Bose Reviewed-on: http://review.gluster.org/7638 Reviewed-by: Ramesh N Reviewed-by: Kanagaraj M --- plugins/check_vol_server.py | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'plugins') diff --git a/plugins/check_vol_server.py b/plugins/check_vol_server.py index 8e42126..4e99eb6 100755 --- a/plugins/check_vol_server.py +++ b/plugins/check_vol_server.py @@ -35,15 +35,15 @@ def _getVolUtilizationNRPECommand(args): def _getVolStatusNRPECommand(args): - return ("check_vol_status -a " + args.volume) + return ("check_vol_status -a %s %s" % (args.volume, 'info')) def _getVolQuotaStatusNRPECommand(args): - return ("check_vol_quota_status -a " + args.volume) + return ("check_vol_status -a %s %s" % (args.volume, 'quota')) def _getVolSelfHealStatusNRPECommand(args): - return ("check_vol_heal_status -a " + args.volume) + return ("check_vol_status -a %s %s" % (args.volume, 'self-heal')) def _getNRPEBaseCmd(host): -- cgit