Major and minor error codes and SNMP value types

This section describes the possible major and minor error codes and variable value types that can be returned in a NetView® SNMP response or trap.
  • The major error code can have one of the following values:
    Value Major error code
    0 No error detected
    1 SNMP agent reported error
    2 Internally detected error
  • The minor error code can have one of the following values when the major error code indicates that an SNMP agent detected an error (1):
    Value SNMP Agent detected minor error code
    0 No error
    1 Too big
    2 No such name
    3 Incorrect value
    4 Read only
    5 General error
  • The minor error code can have one of the following values when the major error code indicates that an internal error was detected (2):
    Value Internal minor error code
    0 No error
    1 Protocol error
    2 Out of memory
    3 No response–all retries failed
    4 Some I/O error occurred
    5 Illegal request
    6 Unknown host specified
    7 Unknown MIB variable
    8 No such filter
    9 Too many variables specified
  • If the major error code indicates that an SNMP agent detected the error (1), the error index indicates the position of the first variable in error.
  • The variable value type is one of the following, as specified in RFC 1155 (Structure and Identification of Management Information for TCP/IP-Based Internets) and RFC 1156 (Management Information Base for Network Management of TCP/IP-Based Internets):
    Value Value type
    0 Text representation
    1 Number (integer, signed)
    2 Binary data string
    3 Object identifier
    4 Empty (no value)
    5 IP address
    6 Counter (unsigned)
    7 Gauge (unsigned)
    8 Time ticks (1/100ths seconds)
    9 Display string
    Note: The binary data string is displayed in the NetView program as a contiguous string of hexadecimal characters (for example, X'0123' is displayed as 0123).