Hello Everyone,
I have been playing around a bit with the rrd4j persistence and different settings, and everything works fine now. I have created rrd files with different settings from rrd4j.cfg, but now want to have all rrd-files use the same configuration/archive settings.
So I set my config in rrd4j.cfg:
rrd-1min.def=GAUGE,900,U,U,60
rrd-1min.archives=AVERAGE,0.5,1,1440:AVERAGE,0.5,10,1008:AVERAGE,0.5,60,720:AVERAGE,0.5,180,720:AVERAGE,0.5,1440,365:AVERAGE,0.5,10080,3650
Everything else is commented out. However, upon deleting all of the old rrd-files, they are re-created with different file sizes corresponding to old rrd4j-settings:
-rw-r--r-- 1 openhab openhab 25616 Aug 18 14:04 Sensor_Multi_Hallway_Garage_Humidity.rrd
-rw-r--r-- 1 openhab openhab 25616 Aug 18 14:04 Sensor_Multi_Hallway_Office_Humidity.rrd
-rw-r--r-- 1 openhab openhab 25616 Aug 18 14:04 Sensor_Multi_Master_Bathroom_Humidity.rrd
-rw-r--r-- 1 openhab openhab 116408 Aug 18 14:04 Switch_ap2_online.rrd
-rw-r--r-- 1 openhab openhab 116408 Aug 18 14:04 Switch_ap3_online.rrd
-rw-r--r-- 1 openhab openhab 116408 Aug 18 14:04 Switch_Fan_Light_Master_Bathroom_Fan.rrd
-rw-r--r-- 1 openhab openhab 63872 Aug 18 14:04 Switch_Phone_Christina_online.rrd
-rw-r--r-- 1 openhab openhab 116408 Aug 18 14:04 Switch_Phone_Michael_online.rrd
Filesize 63872 is what I expect all of them to be, 25616 is from an earlier attempt and 116408 is the default configuration.
So, Openhab somewhere stores which settings to apply to rrd-files for some items it already knows. Where could that be stored?
Thanks!