Grafana Influxdb Proxmox: Unterschied zwischen den Versionen

Aus Xinux Wiki
Zur Navigation springen Zur Suche springen
Zeile 29: Zeile 29:
 
_internal
 
_internal
 
proxmox
 
proxmox
 +
=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

Version vom 11. Oktober 2019, 10:15 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=
<pre>
>create user proxmox_admin with password 'oimel';
>grant all on proxmox to proxmox_admin;
>quit


restart

  • systemctl restart influxdb.service