summaryrefslogtreecommitdiffstats
path: root/configure.ac
diff options
context:
space:
mode:
authorRamesh Nachimuthu <rnachimu@redhat.com>2014-06-20 17:14:41 +0530
committerSahina Bose <sabose@redhat.com>2014-09-15 03:20:55 -0700
commiteab2ca4f26adb9b661fbad855a9b46f308fc5911 (patch)
tree149da091f9bb60023e3701295b11a617711269b4 /configure.ac
parent5f1536a1ae99a15cdb4505ad94278423bf72cf27 (diff)
autoconf: verify the configurations before restarting nagios
Verify the Nagios configuration before restarting the nagios server. It helps in accidently stoping the nagios server because of config error. Change-Id: I8c7cb5663bf42d73812577e9b162434cb2ecfdfe Bug-Url: https://bugzilla.redhat.com/1138943 Signed-off-by: Ramesh Nachimuthu <rnachimu@redhat.com> Reviewed-on: http://review.gluster.org/8131 Reviewed-by: Shubhendu Tripathi <shtripat@redhat.com> Reviewed-by: Sahina Bose <sabose@redhat.com>
Diffstat (limited to 'configure.ac')
-rw-r--r--configure.ac2
1 files changed, 2 insertions, 0 deletions
diff --git a/configure.ac b/configure.ac
index ef857f2..9bb4e73 100644
--- a/configure.ac
+++ b/configure.ac
@@ -57,6 +57,8 @@ AC_SUBST([nagioslivestatussocketpath], ['/var/spool/nagios/cmd/live'])
AC_SUBST([nagioscommandfilepath], ['/var/spool/nagios/cmd/nagios.cmd'])
AC_SUBST([hostmonitoringserviceslist], ['/etc/nagios/gluster/host-monitoring-services.in'])
AC_SUBST([nrpepath], ['/usr/lib64/nagios/plugins/check_nrpe'])
+AC_SUBST([nagioscommandpath], ['/usr/sbin/nagios'])
+AC_SUBST([nagiosconfigfile], ['/etc/nagios/nagios.cfg'])
AC_SUBST([glusterautoconfdir], ['/etc/nagios/gluster'])
AC_SUBST([glusterhostconfigtemplatedir], ['/etc/nagios/gluster/default'])
AC_SUBST([snmpmanagerlist], ['/etc/nagios/gluster/snmpmanagers.conf'])