summaryrefslogtreecommitdiffstats
path: root/config/gluster-commands.cfg
diff options
context:
space:
mode:
authorndarshan <dnarayan@redhat.com>2014-04-10 11:15:53 +0530
committerBala.FA <barumuga@redhat.com>2014-04-29 10:21:37 +0530
commit10c414706c2c77225c014673f03b8e3166b82ff2 (patch)
tree644efffb0f4e1bb9e5eb8930c7ab515098409205 /config/gluster-commands.cfg
parent3374e943a17516e1e28339dc3df55c80b0ecf5ad (diff)
Server-addons: Server-side plugin for volume status.
Modified the existing volume utilization server plugin to include status information as well. Refactored the plugin with an argument -o|--option to get the specific volume status. Change-Id: I2b6f8612e32390fb20917098a255de1ee6b3a170 Signed-off-by: ndarshan <dnarayan@redhat.com> Signed-off-by: Sahina Bose <sabose@redhat.com>
Diffstat (limited to 'config/gluster-commands.cfg')
-rw-r--r--config/gluster-commands.cfg6
1 files changed, 5 insertions, 1 deletions
diff --git a/config/gluster-commands.cfg b/config/gluster-commands.cfg
index 377887c..ec72417 100644
--- a/config/gluster-commands.cfg
+++ b/config/gluster-commands.cfg
@@ -52,7 +52,7 @@ define command {
define command {
command_name check_vol_utilization
- command_line $USER1$/gluster/check_vol_utilization_server.py $ARG1$ $ARG2$ -w $ARG3$ -c $ARG4$
+ command_line $USER1$/gluster/check_vol_server.py $ARG1$ $ARG2$ -w $ARG3$ -c $ARG4$ -o utilization
}
@@ -71,3 +71,7 @@ define command{
command_line $USER1$/check_dummy 0
}
+define command {
+ command_name check_vol_status
+ command_line $USER1$/gluster/check_vol_server.py $ARG1$ $ARG2$ -o status
+}