summaryrefslogtreecommitdiffstats
path: root/config/gluster-commands.cfg
diff options
context:
space:
mode:
Diffstat (limited to 'config/gluster-commands.cfg')
-rw-r--r--config/gluster-commands.cfg13
1 files changed, 12 insertions, 1 deletions
diff --git a/config/gluster-commands.cfg b/config/gluster-commands.cfg
index 5c335c7..ccf2998 100644
--- a/config/gluster-commands.cfg
+++ b/config/gluster-commands.cfg
@@ -31,5 +31,16 @@ define command {
define command {
command_name host_service_handler
- command_line $USER1$/gluster_host_service_handler.py -s $SERVICESTATE$ -t $SERVICESTATETYPE$ -a $SERVICEATTEMPT$ -l $HOSTADDRESS$ -n $SERVICEDESC$
+ command_line $USER1$/gluster_host_service_handler.py -s $SERVICESTATE$ -t $SERVICESTATETYPE$ -a $SERVICEATTEMPT$ -l $HOSTADDRESS$ -n "$SERVICEDESC$"
+}
+
+define command {
+ command_name notify-host-to-ovirt
+ command_line $USER1$/gluster/notify_ovirt_engine_handler.py -c $HOSTGROUPNAME$ -H $HOSTNAME$ -g $_HOSTGLUSTER_ENTITY$ -t $HOSTSTATE$ -o $_CONTACTOVIRT_REST_API$ -u $_CONTACTOVIRT_USER$ -p $USER3$
+}
+
+define command {
+ command_name notify-service-to-ovirt
+ 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$
+
}