Skip to content

Object gets wrong type compared to MIB #1383

Description

@wwijkander

Hey,
I'm getting metrics with the help of this MIB: TIMETRA-SERV-MIB.

However, for some reason the object svcDescription which has the syntax ServObjDesc as it is generated in the snmp.yml gets the type OctetString, and not DisplayString. I feel like this should rather be the latter, based on line 247 of the MIB:

ServObjDesc                      ::= TEXTUAL-CONVENTION
    STATUS      current
    DESCRIPTION
        "ASCII string used to describe various service objects."
    SYNTAX      DisplayString (SIZE (0..80))

I'm using the latest generator in docker.

Using an override as detailed in https://www.robustperception.io/why-is-my-snmp-string-showing-as-hexadecimal/ works, but it feels like this is not intended behavior?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Fields

    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions