Skip to content
Snippets Groups Projects
Commit ef811d6e authored by Rowan Powell's avatar Rowan Powell
Browse files

Fixed apache telegraf config

parent 16163081
No related branches found
No related tags found
No related merge requests found
...@@ -24,6 +24,9 @@ ...@@ -24,6 +24,9 @@
#// #//
#///////////////////////////////////////////////////////////////////////// #/////////////////////////////////////////////////////////////////////////
# Force fail on command fail
set -euo pipefail
# Install telegraf # Install telegraf
if [ "$#" -ne 10 ]; then if [ "$#" -ne 10 ]; then
echo "Error: illegal number of arguments: "$# echo "Error: illegal number of arguments: "$#
......
...@@ -24,6 +24,10 @@ ...@@ -24,6 +24,10 @@
#// #//
#///////////////////////////////////////////////////////////////////////// #/////////////////////////////////////////////////////////////////////////
# Force fail on command fail
set -euo pipefail
# install python for the simulator # install python for the simulator
apt-get update apt-get update
apt-get -y install python apt-get -y install python
......
...@@ -2,7 +2,7 @@ ...@@ -2,7 +2,7 @@
## An array of URLs to gather from, must be directed at the machine ## An array of URLs to gather from, must be directed at the machine
## readable version of the mod_status page including the auto query string. ## readable version of the mod_status page including the auto query string.
## Default is "http://localhost/server-status?auto". ## Default is "http://localhost/server-status?auto".
urls = ["http://localhost/server-status?auto"] urls = ["http://localhost:8890/server-status?auto"]
## Credentials for basic HTTP authentication. ## Credentials for basic HTTP authentication.
# username = "myuser" # username = "myuser"
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment