summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorShubhendu Tripathi <shtripat@redhat.com>2014-05-19 15:54:15 +0530
committerTimothy Asir <tim.gluster@gmail.com>2014-05-20 01:49:59 -0700
commitf733e1ef5deafd82e417de10c829301eb7881100 (patch)
tree1bdf853abe97f632833da415b5953fbe36ec8e7d
parent0c6651331d3a8fc867a1799b18baed4c0789ba69 (diff)
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 <shtripat@redhat.com> Reviewed-on: http://review.gluster.org/7797 Reviewed-by: Kanagaraj M <kmayilsa@redhat.com> Reviewed-by: Timothy Asir <tim.gluster@gmail.com>
-rw-r--r--config/gluster-commands.cfg7
-rw-r--r--config/gluster-templates.cfg3
-rw-r--r--nagios-server-addons.spec.in1
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
@@ -25,11 +25,6 @@ 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$"
}
@@ -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