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.

          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.

          There is not "random keys", it's should be table oid name or same as oid name:

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

          do not use 5s cpu load - this is not correct for monitoring, because every device increase self load on snmp request/responce.
          correctly to use is 1m/5m or whatever exist for device snmp data.:

          -'oid' => 'cpuLoading5s.0',
          +'oid' => 'cpuLoading30s.0',

          landy Mike Stupalov added a comment - There is not "random keys", it's should be table oid name or same as oid name: $config['mibs'][$mib]['processor']['swMgmt'] do not use 5s cpu load - this is not correct for monitoring, because every device increase self load on snmp request/responce. correctly to use is 1m/5m or whatever exist for device snmp data.: -'oid' => 'cpuLoading5s.0', +'oid' => 'cpuLoading30s.0',

          What you mean as ifHardType (we not have such oid definition)?..

          landy Mike Stupalov added a comment - What you mean as ifHardType (we not have such oid definition)?..

          Please... fill oid_num keys.. this is not hard.

          landy Mike Stupalov added a comment - Please... fill oid_num keys.. this is not hard.

          People

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

            Dates

              Created:
              Updated:
              Resolved: