diff options
Diffstat (limited to 'config/gluster-commands.cfg')
-rw-r--r-- | config/gluster-commands.cfg | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/config/gluster-commands.cfg b/config/gluster-commands.cfg index 3110e5b..d2ebdce 100644 --- a/config/gluster-commands.cfg +++ b/config/gluster-commands.cfg @@ -106,6 +106,11 @@ define command{ command_line $USER1$/gluster/submit_external_command.py -c '$ARG1$' -H '$ARG2$' -s '$ARG3$' -t '$ARG4$' } +define command{ + command_name brick_status_event_handler + command_line $USER1$/gluster/brick_status_event_handler.py -hg '$HOSTGROUPNAMES$' -v $_SERVICEVOL_NAME$ -st $SERVICESTATETYPE$ +} + define command { command_name check_brick_status command_line $USER1$/check_nrpe -H $HOSTADDRESS$ -c check_brick_status -a $_SERVICEVOL_NAME$ $_SERVICEBRICK_DIR$ |