Grafana Influxdb Proxmox: Unterschied zwischen den Versionen
Zur Navigation springen
Zur Suche springen
(Die Seite wurde neu angelegt: „=Influxdb= ==activate udp in influxdb== *cat /etc/influxdb/influxdb.conf <pre> udp enabled = true bind-address = ":8089" database = "proxmox" b…“) |
|||
| (5 dazwischenliegende Versionen desselben Benutzers werden nicht angezeigt) | |||
| Zeile 1: | Zeile 1: | ||
| + | =Proxmox= | ||
| + | *cat /etc/pve/status.cfg | ||
| + | <pre> | ||
| + | influxdb: | ||
| + | server 10.82.10.20 | ||
| + | port 8089 | ||
| + | path proxmox | ||
| + | </pre> | ||
=Influxdb= | =Influxdb= | ||
==activate udp in influxdb== | ==activate udp in influxdb== | ||
| Zeile 9: | Zeile 17: | ||
batch-size = 1000 | batch-size = 1000 | ||
batch-timeout = "1s" | batch-timeout = "1s" | ||
| + | </pre> | ||
| + | =check databases= | ||
| + | *influx -ssl -unsafeSsl | ||
| + | <pre> | ||
| + | Connected to https://localhost:8086 version 1.7.8 | ||
| + | InfluxDB shell version: 1.7.8 | ||
| + | > show databases | ||
| + | name: databases | ||
| + | name | ||
| + | ---- | ||
| + | _internal | ||
| + | proxmox | ||
| + | </pre> | ||
| + | =create a user and grant rights= | ||
| + | <pre> | ||
| + | >create user proxmox_admin with password 'oimel'; | ||
| + | >grant all on proxmox to proxmox_admin; | ||
| + | >quit | ||
</pre> | </pre> | ||
==restart== | ==restart== | ||
*systemctl restart influxdb.service | *systemctl restart influxdb.service | ||
Aktuelle Version vom 11. Oktober 2019, 10:16 Uhr
Proxmox
- cat /etc/pve/status.cfg
influxdb: server 10.82.10.20 port 8089 path proxmox
Influxdb
activate udp in influxdb
- cat /etc/influxdb/influxdb.conf
[[udp]] enabled = true bind-address = ":8089" database = "proxmox" batch-size = 1000 batch-timeout = "1s"
check databases
- influx -ssl -unsafeSsl
Connected to https://localhost:8086 version 1.7.8 InfluxDB shell version: 1.7.8 > show databases name: databases name ---- _internal proxmox
create a user and grant rights
>create user proxmox_admin with password 'oimel'; >grant all on proxmox to proxmox_admin; >quit
restart
- systemctl restart influxdb.service