From ad004f45088ee81723b2a2420b3bce01f0bd845b Mon Sep 17 00:00:00 2001 From: Sahina Bose Date: Fri, 14 Mar 2014 12:49:59 +0530 Subject: 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 Reviewed-on: https://cuckoo.blr.redhat.com:8443/10 Reviewed-by: Bala FA --- config/gluster-commands.cfg | 6 ++++++ 1 file changed, 6 insertions(+) (limited to 'config') 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$ +} + -- cgit