Details

    Description

      I would like to suggest using the device_id value for creating the rrd directory for each device. This would make it possible to change the hostnames during runtime. Currently the directories are linked with the hostnames which makes it hard to be flexibel in case of hostname changes. If you are also using external plugins i.e. Weathermap and you are changing the hostname.... you must adjust all linkes in the config files.

      Attachments

        Activity

          [OBS-2538] Directory names for rrd files

          Use rename_device.php script:

          ./rename_device.php
           
          USAGE:
          rename_device.php <old hostname> <new hostname>
          

          This script also rename rrd directory.

          RRD dirrectory used hostname by design, this allow reuse same dirrectory and rrd files when delete an device, and re-add it later.

          landy Mike Stupalov added a comment - Use rename_device.php script: ./rename_device.php   USAGE: rename_device.php <old hostname> <new hostname> This script also rename rrd directory. RRD dirrectory used hostname by design, this allow reuse same dirrectory and rrd files when delete an device, and re-add it later.

          People

            landy Mike Stupalov
            dklimek Denis Klimek
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: