Grafana Influxdb Proxmox: Unterschied zwischen den Versionen

Aus Xinux Wiki
Zur Navigation springen Zur Suche springen
 
(Eine dazwischenliegende Version desselben Benutzers wird nicht angezeigt)
Zeile 29: Zeile 29:
 
_internal
 
_internal
 
proxmox
 
proxmox
 +
</pre>
 
=create a user and grant rights=
 
=create a user and grant rights=
 
<pre>
 
<pre>
Zeile 35: Zeile 36:
 
>quit
 
>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