Search code examples
syntaxtimestampsnmp

SNMP - Where is "TimeStamp" Syntax defined?


Where to import from the textual convention TimeStamp in SNMP MIB?

I have a MIB where I should add a timestamp, but I don't know where I can import its syntax from.


Solution

  • For an example MIB that uses TimeStamp, see

    https://datatracker.ietf.org/doc/html/rfc4444#section-4

      IMPORTS
        TEXTUAL-CONVENTION, RowStatus, TruthValue, TimeStamp
                FROM SNMPv2-TC               -- RFC2579
    

    It is defined in SNMPv2-TC, see

    https://datatracker.ietf.org/doc/html/rfc2579