diff options
author | Sahina Bose <sabose@redhat.com> | 2014-05-02 11:17:57 +0530 |
---|---|---|
committer | Sahina Bose <sabose@redhat.com> | 2014-05-01 23:21:38 -0700 |
commit | dd16d35b465974b17dfafd29006e8124f04c34e0 (patch) | |
tree | 879acd507dc6b24d4d361f5b4ea5fc1555a941c9 /plugins/check_vol_server.py | |
parent | 1aa9f2030424eb81833dea79f65be8753201d2ed (diff) |
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 <sabose@redhat.com>
Reviewed-on: http://review.gluster.org/7638
Reviewed-by: Ramesh N <rnachimu@redhat.com>
Reviewed-by: Kanagaraj M <kmayilsa@redhat.com>
Diffstat (limited to 'plugins/check_vol_server.py')
-rwxr-xr-x | plugins/check_vol_server.py | 6 |
1 files changed, 3 insertions, 3 deletions
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): |