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

Adding custom groups of ports in addition to peering, transit etc

    XMLWordPrintable

Details

    • Improvement
    • Resolution: Fixed
    • Minor
    • None
    • None
    • Web Interface
    • Linux observium01 3.2.0-4-amd64 #1 SMP Debian 3.2.41-2 x86_64 GNU/Linux
      Observium svn revision : 3992

    Description

      We have different groups of ports that we wanted to see under the ports nav drop down at the top in addition to 'customer','peering' etc. We wanted groups like Management, DRAC, and iSCSI.

      We can specify these at the beginning of the port description on the switch using the standard naming types described here : http://www.observium.org/wiki/Interface_Description_Parsing

      e.g.

      EsxMgmt: ESX133-4
      EsxMgmt: ESX134-4
      Mgmt: PDU111
      Inter: sw111-inter

      You then specify an ordered list of the headings expected (so we only get what we want) in config.php as per the below.

      $config['int_groups'] = array("EsxData","EsxMgmt","EsxiSCSI","EQL","Mgmt","LAGs","PI","DRAC");

      I've patched the navbar.inc.php to pull out this list from the config and populate the drop down, see screenshot. Everything else is already done by the existing code.

      I'm happy to edit the wiki page above and add some documentation if this gets approved.

      Attachments

        1. navbar.inc.php.patch
          1 kB
          Paul Orrock
        2. observium-ports.png
          95 kB
          Paul Orrock

        Activity

          People

            adama Adam Armstrong
            paul.orrock Paul Orrock
            Votes:
            0 Vote for this issue
            Watchers:
            5 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: