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

Netgear GS108Tv2 support

    XMLWordPrintable

Details

    Description

      There is no support for detecting Netgear devices, I only got two the same here, which solely identifies themselves in the sysdecr as "GS108Tv2".

      There is also:

      $ snmpwalk -v2c -c public hostname |grep -i netgear
      iso.3.6.1.2.1.1.9.1.3.3 = STRING: "NETGEAR Reference"
      iso.3.6.1.2.1.1.9.1.3.20 = STRING: "NETGEAR Switching - Layer 2"
      iso.3.6.1.2.1.1.9.1.3.24 = STRING: "NETGEAR Radius MIB"
      iso.3.6.1.2.1.1.9.1.3.27 = STRING: "The NETGEAR Private MIB for Mgmt Security"
      iso.3.6.1.2.1.1.9.1.3.28 = STRING: "NETGEAR Flex QOS Support"
      iso.3.6.1.2.1.1.9.1.3.29 = STRING: "NETGEAR Flex QOS ACL"
      iso.3.6.1.2.1.1.9.1.3.30 = STRING: "NETGEAR Flex QOS COS"
      iso.3.6.1.2.1.1.9.1.3.33 = STRING: "NETGEAR Flex QOS DiffServ Private MIBs' definitions"
      iso.3.6.1.2.1.1.9.1.3.34 = STRING: "NETGEAR Flex QOS DiffServ Private MIBs' definitions"

      which might make this detection much better, or at least will allow other netgear models to be detected.

      /opt/observium/includes/definitions/os.inc.php

      $os = "netgear";
      $config['os'][$os]['text'] = "Netgear Ethernet Switch";
      $config['os'][$os]['type'] = "network";
      $config['os'][$os]['icon'] = "netgear";

      /opt/observium/includes/discovery/os/netgear.inc.php

      <?php

      if (!$os)
      {
      if (preg_match("/^GS108Tv2/", $sysDescr))

      Unknown macro: { $os = "netgear"; }

      }

      ?>

      Icon:
      https://upload.wikimedia.org/wikipedia/commons/thumb/2/29/Netgear_logo_2014.svg/200px-Netgear_logo_2014.svg.png

      Attachments

        Activity

          People

            adama Adam Armstrong
            jeroen Jeroen Massar
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: