⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 rfc1271-mib

📁 opennms得相关源码 请大家看看
💻
📖 第 1 页 / 共 5 页
字号:
          -- The hostTimeTable has two important uses.  The first is the          -- fast download of this potentially large table.  Because the          -- index of this table runs from 1 to the size of the table,          -- inclusive, its values are predictable.  This allows very          -- efficient packing of variables into SNMP PDU's and allows          -- a table transfer to have multiple packets outstanding.          -- These benefits increase transfer rates tremendously.          -- The second use of the hostTimeTable is the efficient          -- discovery by the management station of new entries added          -- to the table.  After the management station has          -- downloaded the entire table, it knows that new entries          -- will be added immediately after the end of the current          -- table.  It can thus detect new entries there          -- and retrieve them easily.          -- Because the association between hostTimeCreationOrder and          -- hostTimeEntry may be broken at any time, the management          -- station must monitor the related hostControlLastDeleteTime          -- object.  When the management station thus detects a deletion,          -- it must assume that any such associations have been broken,          -- and invalidate any it has stored locally.  This includes          -- restarting any download of the hostTimeTable that may have          -- been in progress, as well as rediscovering the end of the          -- hostTimeTable so that it may detect new entries.  If the          -- management station does not detect the broken association,          -- it may continue to refer to a particular host by its          -- creationOrder while unwittingly retrieving the data          -- associated with another host entirely.  If this happens          -- while downloading the host table, the management station          -- may fail to download all of the entries in the table.          hostControlTable OBJECT-TYPE              SYNTAX SEQUENCE OF HostControlEntry              ACCESS not-accessible              STATUS mandatory              DESCRIPTION                  "A list of host table control entries."              ::= { hosts 1 }          hostControlEntry OBJECT-TYPE              SYNTAX HostControlEntry              ACCESS not-accessible              STATUS mandatory              DESCRIPTION                  "A list of parameters that set up the discovery of                  hosts on a particular interface and the collection                  of statistics about these hosts."              INDEX { hostControlIndex }              ::= { hostControlTable 1 }          HostControlEntry ::= SEQUENCE {              hostControlIndex            INTEGER (1..65535),              hostControlDataSource       OBJECT IDENTIFIER,              hostControlTableSize        INTEGER,              hostControlLastDeleteTime   TimeTicks,              hostControlOwner            OwnerString,              hostControlStatus           EntryStatus          }          hostControlIndex OBJECT-TYPE              SYNTAX INTEGER (1..65535)              ACCESS read-only              STATUS mandatory              DESCRIPTION                  "An index that uniquely identifies an entry in the                  hostControl table.  Each such entry defines                  a function that discovers hosts on a particular                  interface and places statistics about them in the                  hostTable and the hostTimeTable on behalf of this                  hostControlEntry."              ::= { hostControlEntry 1 }          hostControlDataSource OBJECT-TYPE              SYNTAX OBJECT IDENTIFIER              ACCESS read-write              STATUS mandatory              DESCRIPTION                  "This object identifies the source of the data for                  this instance of the host function.  This source                  can be any interface on this device.  In order                  to identify a particular interface, this object shall                  identify the instance of the ifIndex object, defined                  in [4,6], for the desired interface.  For example,                  if an entry were to receive data from interface #1,                  this object would be set to ifIndex.1.                  The statistics in this group reflect all packets                  on the local network segment attached to the                  identified interface.                  This object may not be modified if the associated                  hostControlStatus object is equal to valid(1)."              ::= { hostControlEntry 2 }          hostControlTableSize OBJECT-TYPE              SYNTAX INTEGER              ACCESS read-only              STATUS mandatory              DESCRIPTION                  "The number of hostEntries in the hostTable and the                  hostTimeTable associated with this hostControlEntry."              ::= { hostControlEntry 3 }          hostControlLastDeleteTime OBJECT-TYPE              SYNTAX TimeTicks              ACCESS read-only              STATUS mandatory              DESCRIPTION                  "The value of sysUpTime when the last entry                  was deleted from the portion of the hostTable                  associated with this hostControlEntry.  If no                  deletions have occurred, this value shall be zero."              ::= { hostControlEntry 4 }          hostControlOwner OBJECT-TYPE              SYNTAX OwnerString              ACCESS read-write              STATUS mandatory              DESCRIPTION                  "The entity that configured this entry and is                  therefore using the resources assigned to it."              ::= { hostControlEntry 5 }          hostControlStatus OBJECT-TYPE              SYNTAX EntryStatus              ACCESS read-write              STATUS mandatory              DESCRIPTION                  "The status of this hostControl entry.                  If this object is not equal to valid(1), all                  associated entries in the hostTable,                  hostTimeTable, and the hostTopNTable shall be                  deleted by the agent."              ::= { hostControlEntry 6 }          hostTable OBJECT-TYPE              SYNTAX SEQUENCE OF HostEntry              ACCESS not-accessible              STATUS mandatory              DESCRIPTION                  "A list of host entries."              ::= { hosts 2 }          hostEntry OBJECT-TYPE              SYNTAX HostEntry              ACCESS not-accessible              STATUS mandatory              DESCRIPTION                  "A collection of statistics for a particular host                  that has been discovered on an interface of this                  device."              INDEX { hostIndex, hostAddress }              ::= { hostTable 1 }          HostEntry ::= SEQUENCE {              hostAddress             OCTET STRING,              hostCreationOrder       INTEGER (1..65535),              hostIndex               INTEGER (1..65535),              hostInPkts              Counter,              hostOutPkts             Counter,              hostInOctets            Counter,              hostOutOctets           Counter,              hostOutErrors           Counter,              hostOutBroadcastPkts    Counter,              hostOutMulticastPkts    Counter          }          hostAddress OBJECT-TYPE              SYNTAX OCTET STRING              ACCESS read-only              STATUS mandatory              DESCRIPTION                  "The physical address of this host."              ::= { hostEntry 1 }          hostCreationOrder OBJECT-TYPE              SYNTAX INTEGER (1..65535)              ACCESS read-only              STATUS mandatory              DESCRIPTION                  "An index that defines the relative ordering of                  the creation time of hosts captured for a                  particular hostControlEntry.  This index shall                  be between 1 and N, where N is the value of                  the associated hostControlTableSize.  The ordering                  of the indexes is based on the order of each entry's                  insertion into the table, in which entries added                  earlier have a lower index value than entries added                  later.                  It is important to note that the order for a                  particular entry may change as an (earlier) entry                  is deleted from the table.  Because this order may                  change, management stations should make use of the                  hostControlLastDeleteTime variable in the                  hostControlEntry associated with the relevant                  portion of the hostTable.  By observing                  this variable, the management station may detect                  the circumstances where a previous association                  between a value of hostCreationOrder                  and a hostEntry may no longer hold."              ::= { hostEntry 2 }          hostIndex OBJECT-TYPE              SYNTAX INTEGER (1..65535)              ACCESS read-only              STATUS mandatory              DESCRIPTION                  "The set of collected host statistics of which                  this entry is a part.  The set of hosts                  identified by a particular value of this                  index is associated with the hostControlEntry                  as identified by the same value of hostControlIndex."              ::= { hostEntry 3 }          hostInPkts OBJECT-TYPE              SYNTAX Counter              ACCESS read-only              STATUS mandatory              DESCRIPTION                  "The number of packets without errors transmitted to                  this address since it was added to the hostTable."              ::= { hostEntry 4 }          hostOutPkts OBJECT-TYPE              SYNTAX Counter              ACCESS read-only              STATUS mandatory              DESCRIPTION                  "The number of packets including errors transmitted                  by this address since it was added to the hostTable."              ::= { hostEntry 5 }          hostInOctets OBJECT-TYPE              SYNTAX Counter              ACCESS read-only              STATUS mandatory              DESCRIPTION                  "The number of octets transmitted to this address                  since it was added to the hostTable (excluding                  framing bits but including FCS octets), except for                  those octets in packets that contained errors."              ::= { hostEntry 6 }          hostOutOctets OBJECT-TYPE              SYNTAX Counter              ACCESS read-only              STATUS mandatory              DESCRIPTION                  "The number of octets transmitted by this address                  since it was added to the hostTable (excluding                  framing bits but including FCS octets), including                  those octets in packets that contained errors."              ::= { hostEntry 7 }          hostOutErrors OBJECT-TYPE              SYNTAX Counter              ACCESS read-only              STATUS mandatory              DESCRIPTION                  "The number of error packets transmitted by this                  address since this host was added to the hostTable."              ::= { hostEntry 8 }          hostOutBroadcastPkts OBJECT-TYPE              SYNTAX Counter              ACCESS read-only              STATUS mandatory              DESCRIPTION                  "The number of good packets transmitted by this                  address that were directed to the broadcast address                  since this host was added to the hostTable."              ::= { hostEntry 9 }          hostOutMulticastPkts OBJECT-TYPE              SYNTAX Counter              ACCESS read-only              STATUS mandatory              DESCRIPTION                  "The number of good packets transmitted by this                  address that were directed to a multicast address                  since this host was added to the hostTable.                  Note that this number does not include packets                  directed to the broadcast address."              ::= { hostEntry 10 }          -- host Time Table          hostTimeTable OBJECT-TYPE              SYNTAX SEQUENCE OF H

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -