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

Support for version and hardware detection on ZTE STACK

    XMLWordPrintable

Details

    • Improvement
    • Resolution: Fixed
    • Major
    • None
    • None
    • Poller
    • None

    Description

      diff

      Index: includes/polling/os/zte.inc.php
      ===================================================================
      --- includes/polling/os/zte.inc.php (revision 8446)
      +++ includes/polling/os/zte.inc.php (working copy)
      @@ -43,11 +43,12 @@
      $version = $matches['version'] . ', ROS '.$matches['ros_version'];
      $hardware = end(explode(' ', $matches['hw1']));
      }
      -else if (preg_match('/^ZTE (ZXR10 )?(?<hardware>[\w-]+) Software, .+ Version: V(?<version>\d[\w\.]+)/', $poll_device['sysDescr'], $matches))
      +else if (preg_match('/^ZTE (ZXR10 )?(?<hardware>[\w-]+( STACK)?) Software, .+ Version: V(?<version>\d[\w\.]+)/', $poll_device['sysDescr'], $matches))
      {
      // ZTE ZXR10 8905E Software, 8900&8900E Version: V3.01.01.B15, RELEASE SOFTWARE
      // ZTE 5952E Software, 5900 Version: V3.00.11.B18, RELEASE SOFTWARE
      // ZTE 5950-56TM-H Software, 5900 Version: V3.00.11.B18, RELEASE SOFTWARE
      + // ZTE ZXR10 5960 STACK Software, 5900 Version: V3.02.20.B32.P02, RELEASE SOFTWARE
       
      $version = $matches['version'];
      $hardware = $matches['hardware'];

      Attachments

        Issue Links

          Activity

            People

              landy Mike Stupalov
              mtivi Martyushev Tim
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: