bundlewrap/bundles/influxdb2/README.md
mwiegand 82d76f776b wip
2021-07-02 18:59:23 +02:00

21 lines
507 B
Markdown

# setup
1. apply influxdb to server
2. write `admin`, `readonly` and `writeonly` token into influxdb metadata:
`influx auth list --json | jq -r '.[] | select (.description == "NAME") | .token'`
3. apply clients
# metadata
```python
{
'hostname': 'example.com',
'admin_token': 'Wawbd5n...HJS76ez',
'readonly_token': '5v235b3...6wbnuzz',
'writeonly_token': '8w4cnos...fn849zg',
}
```
# reset password
Opening /var/lib/influxdb/influxd.bolt with https://github.com/br0xen/boltbrowser might help