Hello,
as written in Topic stoped the Logging via RRD4J after restart of ohenhab2 or the reboot of the Server.
As solution I have to delete the local *.rrd files and make an additional restart of openhab. After this al is working fine till next restart.
I’m on the last Openhab Release 2.5.4, all armbian updates installed.
My rrd4j.persist
Strategies {
// for rrd charts, we need a cron strategy
everyMinute : "0 * * * * ?"
everyHour : "0 0 * * * ?"
everyDay : "0 0 0 * * ?"
default = everyChange
}
Items {
gHistTemp*,gHistHum*,gHistPres* : strategy = everyUpdate, everyMinute
}
Part of my Item Definition
// Historische Temperatur Daten
Group gHistTemp
Group gHistHum
Group gHistPres
Number GarageTemp1 "Temp Werkstatt [%.1f °C]" <temperature> (gGarage, gHistTemp) { channel="mqtt:topic:oh2mosquitto:Garage:Garage_Werkstatt_Temp" }
Number GarageHum1 "Feuchte Werkstatt [%.1f %%]" <temperature> (gGarage, gHistHum) { channel="mqtt:topic:oh2mosquitto:Garage:Garage_Werkstatt_Hum" }
Number GarageTemp2 "Temp Garage [%.1f °C]" <temperature> (gGarage, gHistTemp) { channel="mqtt:topic:oh2mosquitto:Garage:Garage_Garage_Temp" }
Number GarageHum2 "Feuchte Garage [%.1f %%]" <temperature> (gGarage, gHistHum) { channel="mqtt:topic:oh2mosquitto:Garage:Garage_Garage_Hum" }
I set the LOG LEVEL vor rrd4j on DEBUG.
At the non working rrd4j operation I got only the following text in obenhab.log
2020-05-15 07:46:35.612 [DEBUG] [stence.rrd4j.internal.RRD4jActivator] - RRD4j persistence bundle has been started.
2020-05-15 07:46:35.765 [DEBUG] [sistence.rrd4j.internal.RRD4jService] - Created default_other = GAUGE heartbeat = 3600 min/max = NaN/NaN step = 1 6 archives(s) = [ MAX xff = 0.999 steps = 1 rows = 3600 MAX xff = 0.999 steps = 10 rows = 1440 MAX xff = 0.999 steps = 60 rows = 1440 MAX xff = 0.999 steps = 900 rows = 2880 MAX xff = 0.999 steps = 21600 rows = 1460 MAX xff = 0.999 steps = 86400 rows = 3650] 0 items(s) = []
2020-05-15 07:46:35.768 [DEBUG] [sistence.rrd4j.internal.RRD4jService] - Created default_numeric = GAUGE heartbeat = 60 min/max = NaN/NaN step = 60 6 archives(s) = [ AVERAGE xff = 0.5 steps = 1 rows = 480 AVERAGE xff = 0.5 steps = 4 rows = 360 AVERAGE xff = 0.5 steps = 14 rows = 644 AVERAGE xff = 0.5 steps = 60 rows = 720 AVERAGE xff = 0.5 steps = 720 rows = 730 AVERAGE xff = 0.5 steps = 10080 rows = 520] 0 items(s) = []
2020-05-15 07:46:35.861 [DEBUG] [4j.internal.charts.RRD4jChartServlet] - Starting up rrd chart servlet at /rrdchart.png
When rrd4j persitence is working i got also the storage messages in openhab.log
2020-05-15 08:37:00.551 [DEBUG] [sistence.rrd4j.internal.RRD4jService] - Stored 'GarageHum1' with state '53.00' in rrd4j database
2020-05-15 08:37:00.560 [DEBUG] [sistence.rrd4j.internal.RRD4jService] - Stored 'GarageHum2' with state '40.00' in rrd4j database
Any Ideas / solutions
Thank you all
Ingo