summaryrefslogtreecommitdiffstats
path: root/config/gluster-commands.cfg
diff options
context:
space:
mode:
authorRamesh Nachimuthu <rnachimu@redhat.com>2014-05-07 17:48:45 +0530
committerSahina Bose <sabose@redhat.com>2014-05-07 06:40:49 -0700
commitc37d94182438e13f61ed336d96f26bd04db7097b (patch)
treeefc6a1528b030a471e0b5b5dd1b8aa853347a4b7 /config/gluster-commands.cfg
parent704ee1bf30615c40f14d24f86f9611a79fd51aa1 (diff)
server-addons: add active checks for gluster process
Adding checks for gluster process and bricks. Change-Id: Ie688233db2a5da0d1a26d5576507559e7e8f5d2d Signed-off-by: Ramesh Nachimuthu <rnachimu@redhat.com> Reviewed-on: http://review.gluster.org/7697 Reviewed-by: Kanagaraj M <kmayilsa@redhat.com> Reviewed-by: Shubhendu Tripathi <shtripat@redhat.com> Reviewed-by: Sahina Bose <sabose@redhat.com>
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