Details

    • Improvement
    • Resolution: Fixed
    • Minor
    • None
    • Professional Edition
    • Discovery
    • None

    Description

      see attache file

      Attachments

        1. moxa.txt
          5 kB
        2. MoxaEDS-P506E.snmpwlk
          618 kB
        3. screenshot-1.png
          screenshot-1.png
          93 kB

        Activity

          [OBS-3233] Moxa EDS-P506E support.

          Updated in r10307.

          landy Mike Stupalov added a comment - Updated in r10307.

          I have 2 different models, on both i have the option to change the sysDescr. 

          So i wound assume that all moxa switche have user defined sysDescr.

          The test was on a " Moxa EDS-P506E-4PoE-2GTXSFP" .

          Eideen Torstein Eide added a comment - I have 2 different models, on both i have the option to change the sysDescr.  So i wound assume that all moxa switche have user defined sysDescr. The test was on a " Moxa EDS-P506E-4PoE-2GTXSFP" .

          This is not recommended (and undocumented) way.
          Really all definitions MUST have real oid_num.

          You can use first discovery for translate, but fill correct numeric oids after.

          landy Mike Stupalov added a comment - This is not recommended (and undocumented) way. Really all definitions MUST have real oid_num. You can use first discovery for translate, but fill correct numeric oids after.

          Hrm, and which hardware on this device?..
          Ok, will change this regexp to match only EDS-* hardware.

          landy Mike Stupalov added a comment - Hrm, and which hardware on this device?.. Ok, will change this regexp to match only EDS-* hardware.

          The

          $config['mibs'][$mib]['processor']['swMgmt']

          "swMgmt" is the parent oid.

          okay, the oid and key can be the same.

          Eideen Torstein Eide added a comment - The $config[ 'mibs' ][$mib][ 'processor' ][ 'swMgmt' ] "swMgmt" is the parent oid. okay, the oid and key can be the same.

          Why? the discovery will translate it. i currently don't see the benefit of using my time on doing a task that the discovery script does more effectively at minimal cost.

          Eideen Torstein Eide added a comment - Why? the discovery will translate it. i currently don't see the benefit of using my time on doing a task that the discovery script does more effectively at minimal cost.

          Module Start: os  #####
           
          +-------------+-------------------------+
          | OID         |                         |
          +-------------+-------------------------+
          | sysDescr    | SW01 i PS102            |
          | sysObjectID | .1.3.6.1.4.1.8691.7.162 |
          +-------------+-------------------------+
           
           o Detect OS matched (moxa-switch: Moxa Switch): 
          +-------------+---------------------+-------------------------+
          | OID         | Matched definition  |                         |
          +-------------+---------------------+-------------------------+
          | sysObjectID | .1.3.6.1.4.1.8691.7 | .1.3.6.1.4.1.8691.7.162 |
          +-------------+---------------------+-------------------------+
           
           
           o Duration             0.0701s
           

          User defined. and with that we need a model.php entry per model anyway, it is redundant.

          Eideen Torstein Eide added a comment - Module Start: os #####   +-------------+-------------------------+ | OID | | +-------------+-------------------------+ | sysDescr | SW01 i PS102 | | sysObjectID | . 1.3 . 6.1 . 4.1 . 8691.7 . 162 | +-------------+-------------------------+   o Detect OS matched (moxa- switch : Moxa Switch): +-------------+---------------------+-------------------------+ | OID | Matched definition | | +-------------+---------------------+-------------------------+ | sysObjectID | . 1.3 . 6.1 . 4.1 . 8691.7 | . 1.3 . 6.1 . 4.1 . 8691.7 . 162 | +-------------+---------------------+-------------------------+     o Duration 0 .0701s   User defined. and with that we need a model.php entry per model anyway, it is redundant.

          we do have OID that is definited.

          Eideen Torstein Eide added a comment - we do have OID that is definited.

          Please show why incorrect (examples of incorrect sysDescr) for hardware detect:

          -$config['os'][$os]['sysDescr_regex'][]      = '/^(?:MOXA )?(?<hardware>\w\S+)/';

          landy Mike Stupalov added a comment - Please show why incorrect (examples of incorrect sysDescr) for hardware detect: -$config['os'][$os]['sysDescr_regex'][] = '/^(?:MOXA )?(?<hardware>\w\S+)/';

          and please still use file attachments.

          landy Mike Stupalov added a comment - and please still use file attachments.

          People

            landy Mike Stupalov
            Eideen Torstein Eide
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: