/c/roles/prom/files/simple/usr/local/bin/fsf-install-prometheus
# make it available for other machines
rsync -a /usr/local/bin/amtool /a/opt/bin
- web-conf -p 9091 -f 9090 - apache2 i.b8.nz <<'EOF'
+ web-conf -p 9091 -f 9090 - apache2 b8.nz <<'EOF'
<Location "/">
AuthType Basic
AuthName "basic_auth"
</Location>
EOF
- web-conf -p 9094 -f 9093 - apache2 i.b8.nz <<'EOF'
+ web-conf -p 9094 -f 9093 - apache2 b8.nz <<'EOF'
<Location "/">
AuthType Basic
AuthName "basic_auth"
# Sets the command-line arguments to pass to the server. to see all options, run prometheus --help
ARGS="--web.listen-address=127.0.0.1:9090
---web.external-url=https://i.b8.nz:9091
+--web.external-url=https://b8.nz:9091
--log.level=info
--config.file=/etc/prometheus/prometheus.yml
--storage.tsdb.path=/var/lib/prometheus/metrics2/"