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

Stack graphs per description on Peering/Transit (iftype) pages, like the Customers page

    XMLWordPrintable

Details

    • Improvement
    • Resolution: Unresolved
    • Minor
    • None
    • Professional Edition
    • Graphs
    • None
    • Observium Professional Edition, branches/stable r15414

    Description

      On the Customers page, all ports that share a description are listed together and shown as one stacked graph per customer. The iftype pages (Peering, Transit, Core, ...) instead draw a separate graph for every port. With transit or peering sessions spread over several ports or VLANs, you can't see the total traffic per provider at a glance.

      The attached patch makes the iftype pages work like the Customers page:

      • Ports are ordered by port_descr_type and port_descr_descr (then ifAlias), so ports with the same description are listed together.
      • The existing loop still prints one table row per port, but it collects the port IDs and prints one multi-port_bits_separate graph after the last port of each description. Before, it printed port_bits once per port.
      • Everything else is unchanged: the table rows, the MAC accounting link and the total traffic graph at the top.

      Ports with a unique description look the same as before, since the graph then contains a single port.

      The patch is against branches/stable r15414 and changes one file (html/pages/iftype.inc.php, +18/-6). It is deployed on our production install.

      Attachments

        Activity

          People

            adama Adam Armstrong
            jwaldecker Jan Waldecker
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated: