OpenHAB InfluxDB aufräumen: Unterschied zwischen den Versionen

KKeine Bearbeitungszusammenfassung
KKeine Bearbeitungszusammenfassung
Markierungen: Manuelle Zurücksetzung Visuelle Bearbeitung
 
(4 dazwischenliegende Versionen desselben Benutzers werden nicht angezeigt)
Zeile 60: Zeile 60:
</syntaxhighlight>Das Script ist hier bei githab verfügbar:
</syntaxhighlight>Das Script ist hier bei githab verfügbar:


* https://github.com/alaub81/openHAB/raw/master/cleanup-openhab-influxdb.sh
* https://github.com/alaub81/openHAB/raw/master/scripts/cleanup-openhab-influxdb.sh
<syntaxhighlight lang="bash">
<syntaxhighlight lang="bash">
cd /usr/local/sbin/
cd /usr/local/sbin/
wget https://github.com/alaub81/openHAB/raw/master/cleanup-openhab-influxdb.sh
wget https://github.com/alaub81/openHAB/raw/master/cleanup-openhab-influxdb.sh
chmod +x /usr/local/sbin/cleanup-openhab-influxdb.sh
chmod +x /usr/local/sbin/cleanup-openhab-influxdb.sh
</syntaxhighlight>hier das Script in Plain Text zum Copy and Pasten:
</syntaxhighlight>hier das Script in Plain Text zum Copy and Pasten:
 


<code>/usr/local/sbin/cleanup-openhab-influxdb.sh</code><syntaxhighlight lang="bash">
<code>/usr/local/sbin/cleanup-openhab-influxdb.sh</code><syntaxhighlight lang="bash">
Zeile 131: Zeile 132:
Das ganze als Umbau für die [[Grafana Verbindung zu InfluxDB v2 mit InfluxQL|InfluxDB v2 mit aktivierter InfluxQL]] findet ihr hier:
Das ganze als Umbau für die [[Grafana Verbindung zu InfluxDB v2 mit InfluxQL|InfluxDB v2 mit aktivierter InfluxQL]] findet ihr hier:


* https://raw.githubusercontent.com/alaub81/openHAB/master/cleanup-openhab-influxdb2.sh
* https://github.com/alaub81/openHAB/raw/master/scripts/cleanup-openhab-influxdb2.sh