|
|
|
@@ -36,7 +36,7 @@ Where gathering.org is the node you want to gather metrics from.
|
|
|
|
|
SECRET_USERSFILE_VERSION=v1
|
|
|
|
|
```
|
|
|
|
|
- Generate userslist with httpasswd hashed password
|
|
|
|
|
`abra app secret insert traefik.gathering.org userslist v1 'admin:<hashed-secret>'`
|
|
|
|
|
`abra app secret insert traefik.gathering.org usersfile v1 'admin:<hashed-secret>'`
|
|
|
|
|
make sure there is no whitespace in between `admin:<hashed-secret>`, it seems to break stuff...
|
|
|
|
|
- `abra app deploy -f traefik`
|
|
|
|
|
1. `abra app new monitoring-ng`
|
|
|
|
@@ -58,12 +58,12 @@ Where gathering.org is the node you want to gather metrics from.
|
|
|
|
|
- `abra app new monitoring-ng`
|
|
|
|
|
- `abra app config monitoring.example.org`
|
|
|
|
|
Uncomment all the stuff
|
|
|
|
|
- `abra app secret insert monitoring.example.org basic_auth v1 <secret>`
|
|
|
|
|
- `abra app secret insert monitoring.example.org basic_auth_admin_password v1 <secret>`
|
|
|
|
|
this needs the plaintext traefik basic-auth secret, not the hashed one!
|
|
|
|
|
- `abra app secret ls monitoring.example.org`
|
|
|
|
|
- `abra app deploy monitoring.example.org`
|
|
|
|
|
1. add scrape config to prometheus
|
|
|
|
|
- `abra app cmd monitoring.example.org prometheus gathering.org`
|
|
|
|
|
- `abra app cmd monitoring.example.org prometheus add_node gathering.org`
|
|
|
|
|
- or manually
|
|
|
|
|
```
|
|
|
|
|
cp scrape-config.example.yml gathering.org.yml
|
|
|
|
|
This didn't work for us. Maybe we did something wrong though?