summaryrefslogtreecommitdiffstats
path: root/config/Makefile.am
diff options
context:
space:
mode:
authorndarshan <dnarayan@redhat.com>2014-06-02 14:40:14 +0530
committerSahina Bose <sabose@redhat.com>2014-06-03 22:16:38 -0700
commitbd2def940d9bd241a71d6e5f4c5905555743781d (patch)
tree87946de8dae6b75d4ae6e656c2117efbbb5375f5 /config/Makefile.am
parent86f3b5b718cd332bf0d5dfc5f5efdaa321815562 (diff)
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 <dnarayan@redhat.com> Reviewed-on: http://review.gluster.org/7952 Reviewed-by: Kanagaraj M <kmayilsa@redhat.com> Reviewed-by: Shubhendu Tripathi <shtripat@redhat.com> Reviewed-by: Sahina Bose <sabose@redhat.com>
Diffstat (limited to 'config/Makefile.am')
-rw-r--r--config/Makefile.am2
1 files changed, 1 insertions, 1 deletions
diff --git a/config/Makefile.am b/config/Makefile.am
index 3176aa7..b97ba89 100644
--- a/config/Makefile.am
+++ b/config/Makefile.am
@@ -12,7 +12,7 @@ glusternagiosconf_DATA = \
glusternagiosdefaultconfdir = $(sysconfdir)/nagios/gluster/default
glusternagiosdefaultconf_DATA = \
glustercluster.cfg.sample \
- node1.cfg \
+ temp_node1.cfg \
$(NULL)
glusternagiosmibsdir = /usr/share/snmp/mibs