From b42fd13dbb0726c10842433f54042339627976c7 Mon Sep 17 00:00:00 2001 From: Rowan Powell <rp17@it-innovation.soton.ac.uk> Date: Tue, 6 Feb 2018 12:56:52 +0000 Subject: [PATCH] Fixed mongo and nginx telegraf configurations --- test/services/mongo/install-mongo.sh | 1 + test/services/nginx/telegraf_nginx_template.conf | 4 ++-- 2 files changed, 3 insertions(+), 2 deletions(-) diff --git a/test/services/mongo/install-mongo.sh b/test/services/mongo/install-mongo.sh index 25797d1..e00502f 100644 --- a/test/services/mongo/install-mongo.sh +++ b/test/services/mongo/install-mongo.sh @@ -30,3 +30,4 @@ sudo apt-key adv --keyserver hkp://keyserver.ubuntu.com:80 --recv 2930ADAE8CAF50 echo "deb [ arch=amd64,arm64 ] https://repo.mongodb.org/apt/ubuntu xenial/mongodb-org/3.6 multiverse" | sudo tee /etc/apt/sources.list.d/mongodb-org-3.6.list sudo apt-get update sudo apt-get install -y mongodb-org +sudo service mongod start \ No newline at end of file diff --git a/test/services/nginx/telegraf_nginx_template.conf b/test/services/nginx/telegraf_nginx_template.conf index 8331ab2..afd2531 100644 --- a/test/services/nginx/telegraf_nginx_template.conf +++ b/test/services/nginx/telegraf_nginx_template.conf @@ -106,7 +106,7 @@ # Read Nginx's basic status information (ngx_http_stub_status_module) [[inputs.nginx]] ## An array of Nginx stub_status URI to gather stats. - urls = ["http://localhost:8083/nginx_status"] + urls = ["http://localhost:80/nginx_status"] ## HTTP response timeout (default: 5s) - response_timeout = "5s" \ No newline at end of file +# response_timeout = "5s" \ No newline at end of file -- GitLab