generator.yml
modules:
  NB1601:  # The module name. You can have as many modules as you want.
    walk:  # List of OIDs to walk. Can also be SNMP object names or specific instances.
      -  1.3.6.1
    version: 2  # SNMP version to use. Defaults to 2.
                # 1 will use GETNEXT, 2 and 3 use GETBULK.
    max_repetitions: 25  # How many objects to request with GET/GETBULK, defaults to 25.
                         # May need to be reduced for buggy devices.
    retries: 3   # How many times to retry a failed request, defaults to 3.
    timeout: 30s  # Timeout for each individual SNMP request, defaults to 5s.

    auth:
      # Community string is used with SNMP v1 and v2. Defaults to "public".
      community: public
      # v3 has different and more complex settings.
      # Which are required depends on the security_level.
      # The equivalent options on NetSNMP commands like snmpbulkwalk
      # and snmpget are also listed. See snmpcmd(1).
      username: snmp  # Required, no default. -u option to NetSNMP.
      security_level: authNoPriv  # Defaults to noAuthNoPriv. -l option to NetSNMP.
                                    # Can be noAuthNoPriv, authNoPriv or authPriv.
      password: admin01admin01  # Has no default. Also known as authKey, -A option to NetSNMP.
                      # Required if security_level is authNoPriv or authPriv.
      auth_protocol: SHA  # MD5 or SHA, defaults to MD5. -a option to NetSNMP.
                          # Used if security_level is authNoPriv or authPriv.
      priv_protocol: AES  # DES or AES, defaults to DES. -x option to NetSNMP.
                          # Used if security_level is authPriv.
      priv_password: admin01admin01 # Has no default. Also known as privKey, -X option to NetSNMP.
                               # Required if security_level is authPriv.
      context_name: context # Has no default. -n option to NetSNMP.
                            # Required if context is configured on the device.
    overrides: 
      wwanTemperature:
        regex_extracts: 
          '': 
            - regex: '(.*)' 
              value: '$1'
      wwanRSRP:
        regex_extracts: 
          '': 
            - regex: '(.*)' 
              value: '$1'
      wwanRSRQ:
        regex_extracts: 
          '': 
            - regex: '(.*)' 
              value: '$1'
      wwanSINR:
        regex_extracts: 
          '': 
            - regex: '(.*)' 
              value: '$1'
      wwanRSCP:
        regex_extracts: 
          '': 
            - regex: '(.*)' 
              value: '$1'        
      wwanECIO:
        regex_extracts: 
          '': 
            - regex: '(.*)' 
              value: '$1'        
      gnssLat:
        regex_extracts: 
          '': 
            - regex: '(.*)'
              value: '$1'
      gnssLon:
        regex_extracts: 
          '': 
            - regex: '(.*)' 
              value: '$1'      
      gnssAlt:
        regex_extracts: 
          '': 
            - regex: '(.*)' 
              value: '$1'
      gnssHorizontalSpeed:
        regex_extracts: 
          '': 
            - regex: '(.*)' 
              value: '$1'
      gnssVerticalSpeed:
        regex_extracts: 
          '': 
            - regex: '(.*)' 
              value: '$1'
      gnssTrackAngle:
        regex_extracts: 
          '': 
            - regex: '(.*)' 
              value: '$1'