diff options
author | Shubhendu Tripathi <shtripat@redhat.com> | 2014-05-29 12:49:52 +0530 |
---|---|---|
committer | Timothy Asir <tim.gluster@gmail.com> | 2014-05-30 01:18:08 -0700 |
commit | 870e96472f2b3f8a258b781210c25cb365980067 (patch) | |
tree | d810e4a2b7f4cf1a85b4e39f083c8af8c5d2630d /config/gluster-commands.cfg | |
parent | 45502497df037e8a145ae8dc92c0b4ef378c537c (diff) |
nagios-server-addons: Check hosts status using NRPE
Enabled to execute check_nrpe for a given host to check
its status.
Change-Id: I938b78fcbf52cd46f4f493e2c2b8b927614834eb
Bug-URL: https://bugzilla.redhat.com/show_bug.cgi?id=1102506
Signed-off-by: Shubhendu Tripathi <shtripat@redhat.com>
Reviewed-on: http://review.gluster.org/7923
Reviewed-by: Ramesh N <rnachimu@redhat.com>
Reviewed-by: Kanagaraj M <kmayilsa@redhat.com>
Reviewed-by: Timothy Asir <tim.gluster@gmail.com>
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 d2ebdce..ac61fc5 100644 --- a/config/gluster-commands.cfg +++ b/config/gluster-commands.cfg @@ -25,6 +25,11 @@ define command { } define command { + command_name check_remote_host + command_line $USER1$/gluster/check_remote_host.py -H $HOSTADDRESS$ +} + +define command { command_name host_service_handler command_line $USER1$/gluster/gluster_host_service_handler.py -s $SERVICESTATE$ -t $SERVICESTATETYPE$ -a $SERVICEATTEMPT$ -l $HOSTADDRESS$ -n "$SERVICEDESC$" } |