RFC1414-MIB
上传用户:aonuowh
上传日期:2021-05-23
资源大小:35390k
文件大小:5k
源码类别:

SNMP编程

开发平台:

C/C++

  1. -- Changes to rfc1414 (Identification MIB):
  2. --      Added IMPORT for mib-2.
  3. -- dperkins@scruznet.com
  4. RFC1414-MIB DEFINITIONS ::= BEGIN
  5.           IMPORTS
  6.               OBJECT-TYPE
  7.                   FROM RFC-1212
  8.               mib-2,
  9.               tcpConnLocalAddress, tcpConnLocalPort,
  10.               tcpConnRemAddress, tcpConnRemPort
  11.                       FROM RFC1213-MIB;
  12.           ident   OBJECT IDENTIFIER ::= { mib-2 24 }
  13.           -- conformance groups
  14.           identInfo       OBJECT IDENTIFIER ::= { ident 1 }
  15.           -- textual conventions
  16.           -- none
  17.           -- the ident information system group
  18.           --
  19.           -- implementation of this group is mandatory
  20.           identTable OBJECT-TYPE
  21.                   SYNTAX  SEQUENCE OF IdentEntry
  22.                   ACCESS  not-accessible
  23.                   STATUS  mandatory
  24.                   DESCRIPTION
  25.                       "A table containing user information for TCP
  26.                       connections.
  27.                       Note that this table contains entries for all TCP
  28.                       connections on a managed system.  The
  29.                       corresponding instance of tcpConnState (defined in
  30.                       MIB-II) indicates the state of a particular
  31.                       connection."
  32.                   ::= { identInfo 1 }
  33.           identEntry OBJECT-TYPE
  34.                   SYNTAX  IdentEntry
  35.                   ACCESS  not-accessible
  36.                   STATUS  mandatory
  37.                   DESCRIPTION
  38.                       "User information about a particular TCP
  39.                       connection."
  40.                   INDEX   { tcpConnLocalAddress, tcpConnLocalPort,
  41.                             tcpConnRemAddress, tcpConnRemPort }
  42.                   ::= { identTable 1 }
  43.           IdentEntry ::=
  44.               SEQUENCE {
  45.                   identStatus     INTEGER,
  46.                   identOpSys      OCTET STRING,
  47.                   identCharset    OCTET STRING,
  48.                   identUserid     OCTET STRING,
  49.                   identMisc       OCTET STRING
  50.               }
  51.           identStatus OBJECT-TYPE
  52.                   SYNTAX  INTEGER {
  53.                               noError(1),
  54.                               unknownError(2)
  55.                           }
  56.                   ACCESS  read-only
  57.                   STATUS  mandatory
  58.                   DESCRIPTION
  59.                       "Indicates whether user information for the
  60.                       associated TCP connection can be determined.  A
  61.                       value of `noError(1)' indicates that user
  62.                       information is available.  A value of
  63.                       `unknownError(2)' indicates that user information
  64.                       is not available."
  65.                   ::= { identEntry 1 }
  66.           identOpSys OBJECT-TYPE
  67.                   SYNTAX  OCTET STRING (SIZE(0..40))
  68.                   ACCESS  read-only
  69.                   STATUS  mandatory
  70.                   DESCRIPTION
  71.                       "Indicates the type of operating system in use.
  72.                       In addition to identifying an operating system,
  73.                       each assignment made for this purpose also
  74.                       (implicitly) identifies the textual format and
  75.                       maximum size of the corresponding identUserid and
  76.                       identMisc objects.
  77.                       The legal values for the `indentOpSys' strings
  78.                       are those listed in the SYSTEM NAMES section of
  79.                       the most recent edition of the ASSIGNED NUMBERS
  80.                       RFC [8]."
  81.                   ::= { identEntry 2 }
  82.           identCharset OBJECT-TYPE
  83.                   SYNTAX  OCTET STRING (SIZE(0..40))
  84.                   ACCESS  read-only
  85.                   STATUS  mandatory
  86.                   DESCRIPTION
  87.                       "Indicates the repertoire of the corresponding
  88.                       identUserid and identMisc objects.
  89.                       The legal values for the `identCharset' strings
  90.                       are those listed in the CHARACTER SET section of
  91.                       the most recent edition of the ASSIGNED NUMBERS
  92.                       RFC [8]."
  93.                   ::= { identEntry 3 }
  94.           identUserid OBJECT-TYPE
  95.                   SYNTAX  OCTET STRING (SIZE (0..255))
  96.                   ACCESS  read-only
  97.                   STATUS  mandatory
  98.                   DESCRIPTION
  99.                       "Indicates the user's identity.  Interpretation of
  100.                       this object requires examination of the
  101.                       corresponding value of the identOpSys and
  102.                       identCharset objects."
  103.                   ::= { identEntry 4 }
  104.           identMisc OBJECT-TYPE
  105.                   SYNTAX  OCTET STRING (SIZE (0..255))
  106.                   ACCESS  read-only
  107.                   STATUS  mandatory
  108.                   DESCRIPTION
  109.                       "Indicates miscellaneous information about the
  110.                       user.  Interpretation of this object requires
  111.                       examination of the corresponding value of the
  112.                       identOpSys and identCharset objects."
  113.                   ::= { identEntry 5 }
  114. END