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.cfg10
1 files changed, 10 insertions, 0 deletions
diff --git a/config/gluster-commands.cfg b/config/gluster-commands.cfg
index 9c3e386..73772fc 100644
--- a/config/gluster-commands.cfg
+++ b/config/gluster-commands.cfg
@@ -110,3 +110,13 @@ define command{
command_name submit_external_command
command_line $USER1$/gluster/submit_external_command.py -c '$ARG1$' -H '$ARG2$' -s '$ARG3$' -t '$ARG4$'
}
+
+define command {
+ command_name check_brick_status
+ command_line $USER1$/check_nrpe -H $HOSTADDRESS$ -c check_brick_status -a $_SERVICEVOL_NAME$ $_SERVICEBRICK_DIR$
+}
+
+define command {
+ command_name check_proc_status
+ command_line $USER1$/check_nrpe -H $HOSTADDRESS$ -c check_proc_status -a $ARG1$
+} \ No newline at end of file