Compaq AAR04BCTE User Manual

Page 29

Advertising
background image

MIBs Provided with TCP/IP Services

2.2 Overview of MIB II

When both the TCPIP$OS_MIBS and TCPIP$HR_MIB subagents are
running, a

get

request on the

sysORTable

is as follows. Except where

noted, the OIDs conform to RFC 1907.

1.3.6.1.2.1.1.9.1.2.1 = 1.3.6.1.4.1.36.15.3.3.1.1
1.3.6.1.2.1.1.9.1.2.2 = 1.3.6.1.4.1.36.15.3.3.1.2
1.3.6.1.2.1.1.9.1.3.1 = Base o/s agent (OS_MIBS) capabilities
1.3.6.1.2.1.1.9.1.3.2 = Base o/s agent (HR_MIB) capabilities
1.3.6.1.2.1.1.9.1.4.1 = 31 = 0 d 0:0:0
1.3.6.1.2.1.1.9.1.4.2 = 36 = 0 d 0:0:0

This example is from the MIB browser (TCPIP$SNMP_REQUEST.EXE).

•

Under certain conditions, a subagent makes a duplicate entry in

sysORTable

when it restarts. For example:

1.3.6.1.2.1.1.9.1.2.1 = 1.3.6.1.4.1.36.15.3.3.1.1
1.3.6.1.2.1.1.9.1.2.2 = 1.3.6.1.4.1.36.15.3.3.1.2
1.3.6.1.2.1.1.9.1.2.1 = Base o/s agent (OS_MIBS) capabilities
1.3.6.1.2.1.1.9.1.2.2 = Base o/s agent (OS_MIBS) capabilities
1.3.6.1.2.1.1.9.1.4.1 = 3256 = 0 d 0:0:32
1.3.6.1.2.1.1.9.1.4.2 = 3256 = 0 d 0:0:32

In this example, the TCPIP$OS_MIBS subagent made two entries with
different ID numbers (OIDs with the prefix 1.3.6.1.2.1.1.9.1.2) that may
show different

sysORUpTime

(1.3.6.1.2.1.1.9.1.4). The

snmp_request

program

translates the value received (in hundredths of a second) to the following,
dropping any fractions of seconds:

d n hh:mm:ss

In this format, n represents the number of days, hh represents the number of
hours, mm represents the number of minutes, and ss represents the number
of seconds.

The HR_MIB subagent has not yet successfully started and registered its
capabilities. If it starts, its entries in this example would use the next
available index number.

•

On systems running versions of the operating system prior to OpenVMS
7.1-2, counters for the MIB II

ifTable

do not wrap back to 9 after reaching

the maximum value (

2

32

0 1), as defined in RFC 1155. Instead, they behave

like the gauge type and remain at the maximum value until cleared by an
external event, such as a system reboot. The following counters are affected:

ifInDiscards
ifInErrors
ifInNUcastPkts
ifInOctets
ifInUcastPkts
ifInUnknownProtos
ifOutErrors
ifOutNUcastPkts
ifOutOctets
ifOutUcastPkts

Note that for SNMP Version 2, these counters are data type Counter32. The
following

ifTable

members are always -1 for OpenVMS:

ifOutDiscards

(Counter32)

ifOutQLen

(Gauge32)

MIBs Provided with TCP/IP Services 2–7

Advertising