From ab257f71eaf7ee61859ba54af36e1725adb6df8d Mon Sep 17 00:00:00 2001 From: Timothy Asir Date: Wed, 16 Apr 2014 23:42:27 +0530 Subject: Use hostname from the config for sending proc status thru nsca fetch the hostname from nagios_server.conf file otherwise use the host-fqdn name for sending proc status thru nsca. And fix the check_proc_status plugin path in cron.d/gluster-proc.crontab file. Change-Id: Ibfc027742b58d87daa7e54aa553892d42c71e795 Signed-off-by: Timothy Asir --- config/nagios_server.conf | 6 ++++++ 1 file changed, 6 insertions(+) (limited to 'config') diff --git a/config/nagios_server.conf b/config/nagios_server.conf index 56c8995..381e588 100644 --- a/config/nagios_server.conf +++ b/config/nagios_server.conf @@ -11,3 +11,9 @@ nagios_server= [NAGIOS-DEFINTIONS] cluster_name= + +# LOCAL HOST NAME +# Host name given in the nagios server +[HOST-NAME] +hostname_in_nagios= + -- cgit