Uploaded image for project: 'Observium'
  1. Observium
  2. OBS-2122

Port Aggregation Draw error on rev:8276

Details

    • Bug
    • Resolution: Fixed
    • Critical
    • None
    • Professional Edition
    • Web Interface
    • None

    Description

      After svn update and ./discovery.php -u we are unable to view aggregated port graphs.

      For instance the "Peering & Transit" built in port group is enabled and has been in use for sometime.

      We are able to select "Ports"->"Peering & Transit" and view the 4 graph overview of the aggregate which includes the 4 graph view of all the interfaces.

      However, we then for instance click the first graph denoting the 24 hour view to view the larger version, all graphs show "DRAW ERROR".

      So "http://observium/iftype/type=peering%2Ctransit/" works, but "https://observium/graphs/type=multi-port_bits_separate/to=1480613825/id=6517%2C4557%2C4556%2C4555/from=1480527425/" does not draw graphs...

      This is true for all built in and custom port groups we have configured.

      Attachments

        1. obs1.png
          obs1.png
          135 kB
        2. obs2.png
          obs2.png
          51 kB

        Activity

          [OBS-2122] Port Aggregation Draw error on rev:8276
          landy Mike Stupalov added a comment - - edited

          This issue related to very old php version in main centos 6.x repo.

          php <= 5.3 unsupported and not recommended for use.

          but anyway currently fixed in r8279.

          landy Mike Stupalov added a comment - - edited This issue related to very old php version in main centos 6.x repo. php <= 5.3 unsupported and not recommended for use. but anyway currently fixed in r8279.

          After some significant pain, upgraded to 5.6.5 and issue seems resolved.

          Thanks!

          rhebert Ryan Hébert added a comment - After some significant pain, upgraded to 5.6.5 and issue seems resolved. Thanks!

          Update php to 5.4/5.6 or better to 7.0.
          5.3 unsupported.

          landy Mike Stupalov added a comment - Update php to 5.4/5.6 or better to 7.0. 5.3 unsupported.

          Ok i could be wrong here but it looks like it's generating the graph.php GET request wrong...

          Watching the access_log when loading the page with DRAW ERRORs, I see the following line:
          10.1.1.1 - - [01/Dec/2016:14:43:47 -0600] "GET /graph.php?type=multi-port_bits_separate&to=1480624780&id=WyI2NTE3IiwiNDU1NyIsIjQ1NTYiLCI0NTU1Il0=&from=1480538380&height=300&width=1152 HTTP/1.1" 200 12323 "https://observium/graphs/type=multi-port_bits_separate/to=1480624780/id=6517%2C4557%2C4556%2C4555/from=1480538380/" "Mozilla/5.0 (Windows NT 10.0; WOW64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/54.0.2840.99 Safari/537.36"

          Note the ID in the graph.php query string is a GUID of somekind. If i change that to the actual ID list that's it suppose to be aggregating and make a request, so like this:
          https://observium/graph.php?type=multi-port_bits_separate&to=1480624780&id=6517%2C4557%2C4556%2C4555&from=1480538380&height=300&width=1152

          The graph is rendered.

          Hope this helps.

          rhebert Ryan Hébert added a comment - Ok i could be wrong here but it looks like it's generating the graph.php GET request wrong... Watching the access_log when loading the page with DRAW ERRORs, I see the following line: 10.1.1.1 - - [01/Dec/2016:14:43:47 -0600] "GET /graph.php?type=multi-port_bits_separate&to=1480624780&id=WyI2NTE3IiwiNDU1NyIsIjQ1NTYiLCI0NTU1Il0=&from=1480538380&height=300&width=1152 HTTP/1.1" 200 12323 "https://observium/graphs/type=multi-port_bits_separate/to=1480624780/id=6517%2C4557%2C4556%2C4555/from=1480538380/" "Mozilla/5.0 (Windows NT 10.0; WOW64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/54.0.2840.99 Safari/537.36" Note the ID in the graph.php query string is a GUID of somekind. If i change that to the actual ID list that's it suppose to be aggregating and make a request, so like this: https://observium/graph.php?type=multi-port_bits_separate&to=1480624780&id=6517%2C4557%2C4556%2C4555&from=1480538380&height=300&width=1152 The graph is rendered. Hope this helps.

          People

            landy Mike Stupalov
            rhebert Ryan Hébert
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: