From 5f1d7046b20a14e247851dac406fe40c3899a607 Mon Sep 17 00:00:00 2001 From: Andy Witter Date: Thu, 9 May 2013 15:16:17 -0400 Subject: [PATCH] add hostgroup ssh-servers and fix installation order --- GenaSYS.sh | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/GenaSYS.sh b/GenaSYS.sh index 7b49693..99027ce 100755 --- a/GenaSYS.sh +++ b/GenaSYS.sh @@ -2192,6 +2192,7 @@ GenHostGroup "memcache-servers" "Memcache Servers" "$MACHINES_MEMCACHE_ONLY" GenHostGroup "lvs-servers" "LVS Servers" "$MACHINES_LVS_ONLY" GenHostGroup "reporter-servers" "Reporter Servers" "$MACHINES_REPORTER" GenHostGroup "log-servers" "Logging Servers" "$MACHINES_LOGGER" +GenHostGroup "ssh-servers" "SSH Servers" "*" ### Configure the monitoring servers. for MONITOR in $MACHINES_MONITOR @@ -2224,7 +2225,7 @@ do then MONITOR_SERVER_IP_LIST="$THIS_MONITOR_SERVER_IP" else - MONITOR_SERVER_IP_LIST="$MONITOR_SERVER_IP_LIST $THIS_MONITOR_SERVER_IP" + MONITOR_SERVER_IP_LIST="$MONITOR_SERVER_IP_LIST $THIS_MONITOR_SERVER_IP 127.0.0.1" fi done printf "echo \"allowed_hosts=${MONITOR_SERVER_IP_LIST// /,}\" >> /etc/nagios/nrpe.cfg\n" >>$TMPSETUPMONITOR @@ -2569,9 +2570,9 @@ echo -e "Install in the order listed below." echo if echo $REPORTS_NFS_HOSTNAME | grep -q reporter then - echo -e $COL_BR_GREEN" lvs logger backup reporter db brick01-head other-bricks utility sip monitor" $COL_RESET + echo -e $COL_BR_GREEN" lvs logger backup reporter db brick01-head other-bricks sip utility monitor" $COL_RESET else - echo -e $COL_BR_GREEN" lvs logger backup $REPORTS_NFS_HOSTNAME db brick01-head other-bricks reporter utility sip monitor" $COL_RESET + echo -e $COL_BR_GREEN" lvs logger backup $REPORTS_NFS_HOSTNAME db brick01-head other-bricks reporter sip utility monitor" $COL_RESET fi echo echo -e $COL_BR_YELLOW"_________________________________________________________________________"$COL_RESET -- 2.11.0