From f733e1ef5deafd82e417de10c829301eb7881100 Mon Sep 17 00:00:00 2001 From: Shubhendu Tripathi Date: Mon, 19 May 2014 15:54:15 +0530 Subject: nagios-server-addons: Disabled check_remote_host service Disabled the gluster host service check_command service check_remote_host Change-Id: If71ed9d42ef65a9a9b36668fed7b449745cc5df1 Bug-URL: https://bugzilla.redhat.com/show_bug.cgi?id=1098468 Signed-off-by: Shubhendu Tripathi Reviewed-on: http://review.gluster.org/7797 Reviewed-by: Kanagaraj M Reviewed-by: Timothy Asir --- config/gluster-commands.cfg | 7 +------ config/gluster-templates.cfg | 3 +-- nagios-server-addons.spec.in | 1 + 3 files changed, 3 insertions(+), 8 deletions(-) diff --git a/config/gluster-commands.cfg b/config/gluster-commands.cfg index 73772fc..3110e5b 100644 --- a/config/gluster-commands.cfg +++ b/config/gluster-commands.cfg @@ -24,11 +24,6 @@ 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$" @@ -119,4 +114,4 @@ define command { 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 +} diff --git a/config/gluster-templates.cfg b/config/gluster-templates.cfg index fe27ad0..1530f21 100644 --- a/config/gluster-templates.cfg +++ b/config/gluster-templates.cfg @@ -12,7 +12,6 @@ define host{ define host { name gluster-host use gluster-generic-host - check_command check_remote_host register 0 _gluster_entity Host } @@ -80,4 +79,4 @@ define service { use gluster-service-with-graph check_command check_brick_usage _GLUSTER_ENTITY Brick -} \ No newline at end of file +} diff --git a/nagios-server-addons.spec.in b/nagios-server-addons.spec.in index cc569ef..6ddce8f 100644 --- a/nagios-server-addons.spec.in +++ b/nagios-server-addons.spec.in @@ -72,6 +72,7 @@ Requires: httpd Requires: nagios Requires: nagios-plugins-dummy Requires: nagios-plugins-nrpe +Requires: nagios-plugins-ping Requires: nsca Requires: php Requires: pnp4nagios -- cgit