summaryrefslogtreecommitdiffstats
path: root/plugins/constants.py.in
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 /plugins/constants.py.in
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 'plugins/constants.py.in')
-rw-r--r--plugins/constants.py.in2
1 files changed, 2 insertions, 0 deletions
diff --git a/plugins/constants.py.in b/plugins/constants.py.in
index bf649de..e1fb442 100644
--- a/plugins/constants.py.in
+++ b/plugins/constants.py.in
@@ -4,3 +4,5 @@ HOST_TEMPLATE_DIR = "@glusterhostconfigtemplatedir@"
HOST_TEMPLATE_NAME = "gluster-host.cfg.template"
NRPE_PATH = "@nrpepath@"
NAGIOS_COMMAND_FILE_PATH = "@nagioscommandfilepath@"
+NAGIOS_CONFIG_FILE = "@nagiosconfigfile@"
+NAGIOS_PATH = "@nagioscommandpath@"