summaryrefslogtreecommitdiffstats
path: root/config/gluster-commands.cfg
diff options
context:
space:
mode:
authorNishanth Thomas <nthomas@redhat.com>2014-04-15 11:53:35 +0530
committerBala.FA <barumuga@redhat.com>2014-04-29 10:21:37 +0530
commit4529ce7d5e539e42ce9d38d09d3badea3f5247ca (patch)
treec67ca568788cad7d5a1b9cde46b99b17151a07c7 /config/gluster-commands.cfg
parent210b28d84f91050fd4a293653d0f5982ae34f189 (diff)
Cluster Status: Plugin to display the overall status of cluster
This plugin use mk-livestatus to retrieve the status of the all the volumes and provide aggregrate status of the cluster Addressed review comments Change-Id: Ia83b41cfdc6dcfc1f379c024ba6ea33f9ccfe598 Signed-off-by: Nishanth Thomas <nthomas@redhat.com>
Diffstat (limited to 'config/gluster-commands.cfg')
-rw-r--r--config/gluster-commands.cfg5
1 files changed, 5 insertions, 0 deletions
diff --git a/config/gluster-commands.cfg b/config/gluster-commands.cfg
index c2fe324..73b9e7a 100644
--- a/config/gluster-commands.cfg
+++ b/config/gluster-commands.cfg
@@ -80,3 +80,8 @@ define command {
command_name check_vol_quota_status
command_line $USER1$/gluster/check_vol_server.py $ARG1$ $ARG2$ -o quota
}
+
+define command{
+ command_name check_cluster_status
+ command_line $USER1$/gluster/check_cluster_status.py $HOSTNAME$
+}