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

          [OBS-718] Netgear GS108Tv2 support

          As the sysObjectId was requested for the ZyXel, here is it for the Netgear:

          $ snmpget -v2c -c comm device iso.3.6.1.2.1.1.2.0
          iso.3.6.1.2.1.1.2.0 = OID: iso.3.6.1.4.1.4526.100.4.18

          jeroen Jeroen Massar added a comment - As the sysObjectId was requested for the ZyXel, here is it for the Netgear: $ snmpget -v2c -c comm device iso.3.6.1.2.1.1.2.0 iso.3.6.1.2.1.1.2.0 = OID: iso.3.6.1.4.1.4526.100.4.18

          Thanks for committing!

          > http://www.observium.org/wiki/Supported_Devices#Other
          > See note about netgear.
          > I added my netgear switches same way, but, in fact, their (netgear) snmp support is a bit retarded.

          The wiki currently says:
          "bad reporting of sysDescr, no port names, no mac addresses"

          sysdescr is indeed just "GS108Tv2" which does not contain a vendor name indeed and that is silly.
          But port names and MAC addresses are definitely there.

          mmm, would it maybe be an idea to populate the wiki or another repository with snmpwalks of various devices, especially in a svn/git repo or so that would allow scripts to be run against them to check when a new feature gets added that something works properly or not.....

          I don't have edit on the wiki (and it seems one needs to request an account) otherwise I would update the netgear entry to reflect the above and also add that:

          'APC Smart-UPS 1000 + NMC' works perfectly (sysdecr: "APC Web/SNMP Management Card MB:v4.0.1 PF:v6.0.6 PN:apc_hw05_aos_606.bin AF1:v6.0.6 AN1:apc_hw05_sumx_606.bin MN:AP9631 HR:05 SN: ........... MD:10/10/2013) (Embedded PowerNet SNMP Agent SW v2.2 compatible)")

          and also:
          CP1515n: "HP ETHERNET MULTI-ENVIRONMENT,SN:......,FN:.......,SVCID:19070,PID:<name> HP Color LaserJet CP1515n"

          jeroen Jeroen Massar added a comment - Thanks for committing! > http://www.observium.org/wiki/Supported_Devices#Other > See note about netgear. > I added my netgear switches same way, but, in fact, their (netgear) snmp support is a bit retarded. The wiki currently says: "bad reporting of sysDescr, no port names, no mac addresses" sysdescr is indeed just "GS108Tv2" which does not contain a vendor name indeed and that is silly. But port names and MAC addresses are definitely there. mmm, would it maybe be an idea to populate the wiki or another repository with snmpwalks of various devices, especially in a svn/git repo or so that would allow scripts to be run against them to check when a new feature gets added that something works properly or not..... I don't have edit on the wiki (and it seems one needs to request an account) otherwise I would update the netgear entry to reflect the above and also add that: 'APC Smart-UPS 1000 + NMC' works perfectly (sysdecr: "APC Web/SNMP Management Card MB:v4.0.1 PF:v6.0.6 PN:apc_hw05_aos_606.bin AF1:v6.0.6 AN1:apc_hw05_sumx_606.bin MN:AP9631 HR:05 SN: ........... MD:10/10/2013) (Embedded PowerNet SNMP Agent SW v2.2 compatible)") and also: CP1515n: "HP ETHERNET MULTI-ENVIRONMENT,SN:......,FN:.......,SVCID:19070,PID:<name> HP Color LaserJet CP1515n"

          Fixed in r5096.

          landy Mike Stupalov added a comment - Fixed in r5096.
          rlex Lex R added a comment -

          http://www.observium.org/wiki/Supported_Devices#Other
          See note about netgear.
          I added my netgear switches same way, but, in fact, their (netgear) snmp support is a bit retarded.

          rlex Lex R added a comment - http://www.observium.org/wiki/Supported_Devices#Other See note about netgear. I added my netgear switches same way, but, in fact, their (netgear) snmp support is a bit retarded.

          Just in case, this should be trivial priority, not major, does not seem I can change that though.

          (of course, I do hope somebody looks at it at one point, but I am sure that happens when more pressing things are handled

          jeroen Jeroen Massar added a comment - Just in case, this should be trivial priority, not major, does not seem I can change that though. (of course, I do hope somebody looks at it at one point, but I am sure that happens when more pressing things are handled

          People

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

            Dates

              Created:
              Updated:
              Resolved: