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

adding support for new XOS release 15.x version format

Details

    • Improvement
    • Resolution: Fixed
    • Trivial
    • None
    • None
    • Poller

    Description

      I would like to contribute a small patch to add support for new release version format of Extreme Networks. Hope you will consider my proposal.

      Here is the diff.

      Index: includes/polling/os/extremeware.inc.php
      ===================================================================
      — includes/polling/os/extremeware.inc.php (revision 3881)
      +++ includes/polling/os/extremeware.inc.php (working copy)
      @@ -28,13 +28,19 @@

      // ExtremeXOS version 12.4.1.7 v1241b7 by release-manager on Sat Mar 13 02:36:57 EST 2010
      // ExtremeWare XOS version 11.5.2.10 v1152b10 by release-manager on Thu Oct 26 09:53:04 PDT 2006
      + // ExtremeXOS (Stack) version 15.2.1.5 v1521b5-patch1-1 by release-manager on Thu Sep 20 15:37:51 EDT 2012
      + // ExtremeXOS (BD-8810) version 15.1.2.12 v1512b12-patch1-2 by release-manager on Thu May 3 19:02:28 EDT 2012

      echo(" XOS \n");

      • list($a,$b,$c,$d,$e,$f,$g,$h,$i,$j,$k,$l,$m) = explode(" ", str_replace("ExtremeWare XOS", "ExtremeXOS", $poll_device['sysDescr']));
        + list($a,$b,$c,$d,$e,$f,$g,$h,$i,$j,$k,$l,$m,$n) = explode(" ", str_replace("ExtremeWare XOS", "ExtremeXOS", $poll_device['sysDescr']));
        if ($b == "version")
        { $version = $c; $features = $d . " ".$i." ".$j." ".$m; + }

        elseif ($c == "version")
        +

        { + $version = $d; + $features = $e . " ".$j." ".$k." ".$n; }

        }

      Attachments

        1. extremeware.inc.php.diff
          2 kB
        2. rewrites.php.diff
          11 kB
        3. xos.zip
          2 kB

        Activity

          [OBS-307] adding support for new XOS release 15.x version format

          committed with some changes.

          adama Adam Armstrong added a comment - committed with some changes.

          sorry about that - will do better in the future

          oliver.dorn Oliver Dorn added a comment - sorry about that - will do better in the future

          the rewrites diff had the wrong base. the zip was include/ instead of includes/.

          adama Adam Armstrong added a comment - the rewrites diff had the wrong base. the zip was include/ instead of includes/.

          do you mean the new xos.inc.php files or the diffs?

          oliver.dorn Oliver Dorn added a comment - do you mean the new xos.inc.php files or the diffs?

          please do not make patches from random locations, only EVER from the observium root.

          adama Adam Armstrong added a comment - please do not make patches from random locations, only EVER from the observium root.

          files are attached

          oliver.dorn Oliver Dorn added a comment - files are attached

          tested with rev 3881

          oliver.dorn Oliver Dorn added a comment - tested with rev 3881

          will attach diff-files shortly

          oliver.dorn Oliver Dorn added a comment - will attach diff-files shortly

          no patch? :>

          adama Adam Armstrong added a comment - no patch? :>

          I have now created new poller and discovery files for xos for modules os and mempool based on snmp queries and the original MIBs. I've also added rewrites for the product IDs of the current EXTREME-BASE-MIB (15.3).

          oliver.dorn Oliver Dorn added a comment - I have now created new poller and discovery files for xos for modules os and mempool based on snmp queries and the original MIBs. I've also added rewrites for the product IDs of the current EXTREME-BASE-MIB (15.3).

          People

            adama Adam Armstrong
            oliver.dorn Oliver Dorn
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: