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

📄 rfc1271-mib

📁 很不错java的SNMP应用例子
💻
📖 第 1 页 / 共 5 页
字号:
          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           INTEGER          }           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 HostTimeEntry              ACCESS not-accessible              STATUS mandatory              DESCRIPTION                  "A list of time-ordered host table entries."              ::= { hosts 3 }           hostTimeEntry OBJECT-TYPE              SYNTAX HostTimeEntry              ACCESS not-accessible              STATUS mandatory              DESCRIPTION                  "A collection of statistics for a particular host                  that has been discovered on an interface of this                  device.  This collection includes the relative                  ordering of the creation time of this object."              INDEX { hostTimeIndex, hostTimeCreationOrder }              ::= { hostTimeTable 1 }           HostTimeEntry ::= SEQUENCE {              hostTimeAddress              OCTET STRING,              hostTimeCreationOrder        INTEGER (1..65535),              hostTimeIndex                INTEGER (1..65535),              hostTimeInPkts               Counter,              hostTimeOutPkts              Counter,              hostTimeInOctets             Counter,              hostTimeOutOctets            Counter,              hostTimeOutErrors            Counter,              hostTimeOutBroadcastPkts     Counter,              hostTimeOutMulticastPkts     Counter          }           hostTimeAddress OBJECT-TYPE              SYNTAX OCTET STRING   

⌨️ 快捷键说明

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