From bd2def940d9bd241a71d6e5f4c5905555743781d Mon Sep 17 00:00:00 2001 From: ndarshan Date: Mon, 2 Jun 2014 14:40:14 +0530 Subject: nagios-server-addons: Fix for dummy config file issue. This patch replaces the configfile node1.cfg(gluster-host) by temp_node1.cfg which is of type linux-server having service PING. And this dummy config file is renamed to temp_node1.cfg.sample during auto-discovery as it is not needed after we configure actual hosts. Also this patch sets the config variable allow_empty_hostgroup_assignment to 1, which is needed for nagios to allow declaration of empty host-group with services. Change-Id: I03cc54975f5ff5857f8d82b66110e049e4195009 Bug-Url: https://bugzilla.redhat.com/show_bug.cgi?id=1091236 Signed-off-by: ndarshan Reviewed-on: http://review.gluster.org/7952 Reviewed-by: Kanagaraj M Reviewed-by: Shubhendu Tripathi Reviewed-by: Sahina Bose --- nagios-server-addons.spec.in | 1 + 1 file changed, 1 insertion(+) (limited to 'nagios-server-addons.spec.in') diff --git a/nagios-server-addons.spec.in b/nagios-server-addons.spec.in index fe96e52..a816e43 100644 --- a/nagios-server-addons.spec.in +++ b/nagios-server-addons.spec.in @@ -156,6 +156,7 @@ cfg_dir=/etc/nagios/gluster service_perfdata_command=process-service-perfdata host_perfdata_command=process-host-perfdata +allow_empty_hostgroup_assignment=1 broker_module=/usr/lib64/check_mk/livestatus.o @nagioslivestatussocketpath@ EOF fi -- cgit