From 870e96472f2b3f8a258b781210c25cb365980067 Mon Sep 17 00:00:00 2001 From: Shubhendu Tripathi Date: Thu, 29 May 2014 12:49:52 +0530 Subject: 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 Reviewed-on: http://review.gluster.org/7923 Reviewed-by: Ramesh N Reviewed-by: Kanagaraj M Reviewed-by: Timothy Asir --- config/gluster-commands.cfg | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'config/gluster-commands.cfg') 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 @@ -24,6 +24,11 @@ define command { command_line $USER1$/check_nrpe -H $HOSTADDRESS$ -c check_interfaces } +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$" -- cgit