Skip to content

Commit

Permalink
Merged in feature/cg-monitor-metrics-off (pull request deuill#14)
Browse files Browse the repository at this point in the history
Turning off cg-monitor metrics push to elastic search

Approved-by: Darren Izzard <[email protected]>
  • Loading branch information
Matthew Tyas committed Mar 15, 2019
2 parents 0661b1a + 3436b3f commit 8acbdc8
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions src/Provisioning/cg-gameserver-api/setup.sh
Original file line number Diff line number Diff line change
Expand Up @@ -32,12 +32,13 @@ set -e
update-rc.d cggetmyaddr start 50 2 3 4 5 .
update-rc.d cgregister start 55 2 3 4 5 .
update-rc.d zzzcgreportup start 99 2 3 4 5 .
update-rc.d cgstats start 60 2 3 4 5 . stop 02 S 0 1 6 .
# update-rc.d cgstats start 60 2 3 4 5 . stop 02 S 0 1 6 .
update-rc.d cgterm stop 03 S 0 1 6 .

# Only need to re-fetch address if don't already have it
if [ ! -f /var/run/machine_external_ip.txt ]; then
sudo /usr/sbin/cggetmyaddr
fi

invoke-rc.d cgstats start
#Turned off cgstats as metrics are now pushed via telegraf to influxdb.
# invoke-rc.d cgstats start

0 comments on commit 8acbdc8

Please sign in to comment.