Details

    • Library Bug
    • Resolution: Won't Fix
    • Major
    • None
    • Community Edition
    • OS, Poller
    • aws / debian

    Description

      rrd tool updated to 

      1.4.8-1.2+deb8u1

      there is a bug which causes draw errors

      https://www.mail-archive.com/debian-bugs-dist@lists.debian.org/msg1730305.html

      updated to 1.4.8-1.2++deb8u2

      The same problem still exists in observium

      RRDTool Output: ERROR: cannot compile regular expression: Error while compiling regular expression ^(?:[^%]+|%%)*%[+- 0#]?[0-9]*([.][0-9]+)?l[eEfF](?:[^%]+|%%)*%s(?:[^%]+|%%)*$ at char 18: range out of order in character class (^(?:[^%]+|%%)*%[+- 0#]?[0-9]*([.][0-9]+)?l[eEfF](?:[^%]+|%%)*%s(?:[^%]+|%%)*$)
      RRDtool Runtime: 0.024s | Total time: 0.024s
      

      Attachments

        Activity

          [OBS-3250] rrd error

          Anyway, there is not possible any fix from our side.
          There is no errors in rrd commands generation, only issue in rrd_graph code (and only in incorrectly applied debian patches for legacy rrdtool version).
          Seems as fixed for latest version.

          landy Mike Stupalov added a comment - Anyway, there is not possible any fix from our side. There is no errors in rrd commands generation, only issue in rrd_graph code (and only in incorrectly applied debian patches for legacy rrdtool version). Seems as fixed for latest version.

          Hi Mike,

           

          Thank you for responding,

           

          this is what happened yesterday

          system updated to 1.4.8-1.2++deb8u1

          all graphs had draw error for every device, rrd command showed error above

          upgraded to 1.4.8-1.2++deb8u2

          restarted server

          all graphs still had draw error

          downgraded back to 1.4.8-1.2

          rebooted server, graphs still had draw issue

          over night server automatically updated to

          from 1.4.8-1.2++deb8u2

          logged into observium and graphs are now drawing

          release of observium us August 2019 community

          stuartd22 Stuart Dyer added a comment - Hi Mike,   Thank you for responding,   this is what happened yesterday system updated to 1.4.8-1.2++deb8u1 all graphs had draw error for every device, rrd command showed error above upgraded to 1.4.8-1.2++deb8u2 restarted server all graphs still had draw error downgraded back to 1.4.8-1.2 rebooted server, graphs still had draw issue over night server automatically updated to from 1.4.8-1.2++deb8u2 logged into observium and graphs are now drawing release of observium us August 2019 community

          or your version not updated.. show:

          sudo dpkg -l | grep rrdtool

          landy Mike Stupalov added a comment - or your version not updated.. show: sudo dpkg -l | grep rrdtool

          As I see in original rrd_graph fix, issue not correctly fixed (or not fixed) in debian:

          - #define FLOAT_STRING "%[+- 0#]?[0-9]*([.][0-9]+)?l[eEfF]"
          + #define FLOAT_STRING "%[-+ 0#]?[0-9]*([.][0-9]+)?l[eEfF]"

          https://github.com/oetiker/rrdtool-1.x/commit/1615689e259bfd67e43cf7711948abc23f998ca9?diff=unified

          (there incorrect + and - symbols place).

          landy Mike Stupalov added a comment - As I see in original rrd_graph fix, issue not correctly fixed (or not fixed) in debian: - #define FLOAT_STRING "%[+- 0#]?[0-9]*([.][0-9]+)?l[eEfF]" + #define FLOAT_STRING "%[-+ 0#]?[0-9]*([.][0-9]+)?l[eEfF]" https://github.com/oetiker/rrdtool-1.x/commit/1615689e259bfd67e43cf7711948abc23f998ca9?diff=unified (there incorrect + and - symbols place).

          1. need to see which exactly graphs have such issue.
          2. really this issue need to update/report to debuan bugs, as seems not correctly fixed (still).

          landy Mike Stupalov added a comment - 1. need to see which exactly graphs have such issue. 2. really this issue need to update/report to debuan bugs, as seems not correctly fixed (still).

          People

            landy Mike Stupalov
            stuartd22 Stuart Dyer
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: