diff options
author | Sahina Bose <sabose@redhat.com> | 2014-03-14 12:49:59 +0530 |
---|---|---|
committer | Bala.FA <barumuga@redhat.com> | 2014-04-29 10:21:36 +0530 |
commit | ad004f45088ee81723b2a2420b3bce01f0bd845b (patch) | |
tree | 126104f6a84140b5f459b44d641e94ae4376d3d9 /config | |
parent | 998e1f9ef43f8fd6e2a7a3722bfd4f3f734c450d (diff) |
plugins: Plugin to check the cluster utilization
This plugin sums up the volume utilization outputs in
a cluster
Added a utils livestatus for common code related to
mk_livestatus
Added constants for livestatussocket path
Change-Id: Id665ad3aaa1140e54c831d721ee874421ae84fa3
Signed-off-by: Sahina Bose <sabose@redhat.com>
Reviewed-on: https://cuckoo.blr.redhat.com:8443/10
Reviewed-by: Bala FA <barumuga@redhat.com>
Diffstat (limited to 'config')
-rw-r--r-- | config/gluster-commands.cfg | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/config/gluster-commands.cfg b/config/gluster-commands.cfg index ccf2998..21ff226 100644 --- a/config/gluster-commands.cfg +++ b/config/gluster-commands.cfg @@ -44,3 +44,9 @@ define command { command_line $USER1$/gluster/notify_ovirt_engine_handler.py -c $HOSTGROUPNAME$ -H $HOSTNAME$ -g $_SERVICEGLUSTER_ENTITY$ -s "$SERVICEDESC$" -t $SERVICESTATE$ -o $_CONTACTOVIRT_REST_API$ -u $_CONTACTOVIRT_USER$ -p $USER3$ } + +define command{ + command_name check_cluster_vol_usage + command_line $USER1$/gluster/check_cluster_vol_usage.py -w $ARG1$ -c $ARG2$ -hg $HOSTNAME$ +} + |