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

📄 vrrp-mib

📁 很不错java的SNMP应用例子
💻
📖 第 1 页 / 共 2 页
字号:
     DESCRIPTION         "The table of addresses associated with this virtual router."     ::= { vrrpOperations 4 } vrrpAssoIpAddrEntry OBJECT-TYPE     SYNTAX       VrrpAssoIpAddrEntry     MAX-ACCESS   not-accessible     STATUS       current     DESCRIPTION         "An entry in the table contains an IP address that is         associated with a virtual router. The number of rows for         a given ifIndex and VrId will equal the number of IP         addresses associated (e.g., backed up) by the virtual         router (equivalent to 'vrrpOperIpAddrCount').         Rows in the table cannot be modified unless the value         of `vrrpOperAdminState' is `disabled' and the         `vrrpOperState' has transitioned to `initialize'."     INDEX    { ifIndex, vrrpOperVrId, vrrpAssoIpAddr }     ::= { vrrpAssoIpAddrTable 1 } VrrpAssoIpAddrEntry ::=     SEQUENCE {         vrrpAssoIpAddr             IpAddress,         vrrpAssoIpAddrRowStatus             RowStatus } vrrpAssoIpAddr OBJECT-TYPE     SYNTAX       IpAddress     MAX-ACCESS   not-accessible     STATUS       current     DESCRIPTION         "The assigned IP addresses that a virtual router is         responsible for backing up."     ::= { vrrpAssoIpAddrEntry 1 } vrrpAssoIpAddrRowStatus OBJECT-TYPE     SYNTAX       RowStatus     MAX-ACCESS   read-create     STATUS       current     DESCRIPTION         "The row status variable, used according to installation         and removal conventions for conceptual rows. Setting this         object to active(1) or createAndGo(4) results in the         addition of an associated address for a virtual router.         Destroying the entry or setting it to notInService(2)         removes the associated address from the virtual router.         The use of other values is implementation-dependent."     ::= { vrrpAssoIpAddrEntry 2 }-- *******************************************************************--  VRRP Router Statistics-- ******************************************************************* vrrpRouterChecksumErrors OBJECT-TYPE     SYNTAX       Counter32     MAX-ACCESS   read-only     STATUS       current     DESCRIPTION         "The total number of VRRP packets received with an invalid         VRRP checksum value."     ::= { vrrpStatistics 1 } vrrpRouterVersionErrors OBJECT-TYPE     SYNTAX       Counter32     MAX-ACCESS   read-only     STATUS       current     DESCRIPTION         "The total number of VRRP packets received with an unknown         or unsupported version number."     ::= { vrrpStatistics 2 } vrrpRouterVrIdErrors OBJECT-TYPE     SYNTAX       Counter32     MAX-ACCESS   read-only     STATUS       current     DESCRIPTION         "The total number of VRRP packets received with an invalid         VRID for this virtual router."     ::= { vrrpStatistics 3 }-- *******************************************************************--  VRRP Router Statistics Table-- ******************************************************************* vrrpRouterStatsTable OBJECT-TYPE     SYNTAX       SEQUENCE OF VrrpRouterStatsEntry     MAX-ACCESS   not-accessible     STATUS       current     DESCRIPTION         "Table of virtual router statistics."     ::= { vrrpStatistics 4 } vrrpRouterStatsEntry OBJECT-TYPE     SYNTAX       VrrpRouterStatsEntry     MAX-ACCESS   not-accessible     STATUS       current     DESCRIPTION         "An entry in the table, containing statistics information         about a given virtual router."     AUGMENTS    { vrrpOperEntry }     ::= { vrrpRouterStatsTable 1 } VrrpRouterStatsEntry ::=     SEQUENCE {         vrrpStatsBecomeMaster             Counter32,         vrrpStatsAdvertiseRcvd             Counter32,         vrrpStatsAdvertiseIntervalErrors             Counter32,         vrrpStatsAuthFailures             Counter32,         vrrpStatsIpTtlErrors             Counter32,         vrrpStatsPriorityZeroPktsRcvd             Counter32,         vrrpStatsPriorityZeroPktsSent             Counter32,         vrrpStatsInvalidTypePktsRcvd             Counter32,         vrrpStatsAddressListErrors             Counter32,         vrrpStatsInvalidAuthType             Counter32,         vrrpStatsAuthTypeMismatch             Counter32,         vrrpStatsPacketLengthErrors             Counter32     } vrrpStatsBecomeMaster OBJECT-TYPE     SYNTAX       Counter32     MAX-ACCESS   read-only     STATUS       current     DESCRIPTION         "The total number of times that this virtual router's state         has transitioned to MASTER."     ::= { vrrpRouterStatsEntry 1 } vrrpStatsAdvertiseRcvd OBJECT-TYPE     SYNTAX       Counter32     MAX-ACCESS   read-only     STATUS       current     DESCRIPTION         "The total number of VRRP advertisements received by this         virtual router."     ::= { vrrpRouterStatsEntry 2 } vrrpStatsAdvertiseIntervalErrors OBJECT-TYPE     SYNTAX       Counter32     MAX-ACCESS   read-only     STATUS       current     DESCRIPTION         "The total number of VRRP advertisement packets received         for which the advertisement interval is different than the         one configured for the local virtual router."     ::= { vrrpRouterStatsEntry 3 } vrrpStatsAuthFailures OBJECT-TYPE     SYNTAX       Counter32     MAX-ACCESS   read-only     STATUS       current     DESCRIPTION         "The total number of VRRP packets received that do not pass         the authentication check."     ::= { vrrpRouterStatsEntry 4 } vrrpStatsIpTtlErrors OBJECT-TYPE     SYNTAX       Counter32     MAX-ACCESS   read-only     STATUS       current     DESCRIPTION         "The total number of VRRP packets received by the virtual         router with IP TTL (Time-To-Live) not equal to 255."     ::= { vrrpRouterStatsEntry 5 } vrrpStatsPriorityZeroPktsRcvd OBJECT-TYPE     SYNTAX       Counter32     MAX-ACCESS   read-only     STATUS       current     DESCRIPTION         "The total number of VRRP packets received by the virtual         router with a priority of '0'."     ::= { vrrpRouterStatsEntry 6 } vrrpStatsPriorityZeroPktsSent OBJECT-TYPE     SYNTAX       Counter32     MAX-ACCESS   read-only     STATUS       current     DESCRIPTION         "The total number of VRRP packets sent by the virtual router         with a priority of '0'."     ::= { vrrpRouterStatsEntry 7 } vrrpStatsInvalidTypePktsRcvd OBJECT-TYPE     SYNTAX       Counter32     MAX-ACCESS   read-only     STATUS       current     DESCRIPTION         "The number of VRRP packets received by the virtual router         with an invalid value in the 'type' field."     ::= { vrrpRouterStatsEntry 8 } vrrpStatsAddressListErrors OBJECT-TYPE     SYNTAX       Counter32     MAX-ACCESS   read-only     STATUS       current     DESCRIPTION         "The total number of packets received for which the address         list does not match the locally configured list for the         virtual router."     ::= { vrrpRouterStatsEntry 9 } vrrpStatsInvalidAuthType OBJECT-TYPE     SYNTAX       Counter32     MAX-ACCESS   read-only     STATUS       current     DESCRIPTION         "The total number of packets received with an unknown         authentication type."     ::= { vrrpRouterStatsEntry 10 } vrrpStatsAuthTypeMismatch OBJECT-TYPE     SYNTAX       Counter32     MAX-ACCESS   read-only     STATUS       current     DESCRIPTION         "The total number of packets received with 'Auth Type' not         equal to the locally configured authentication method         (`vrrpOperAuthType')."     ::= { vrrpRouterStatsEntry 11 } vrrpStatsPacketLengthErrors OBJECT-TYPE     SYNTAX       Counter32     MAX-ACCESS   read-only     STATUS       current     DESCRIPTION         "The total number of packets received with a packet length         less than the length of the VRRP header."     ::= { vrrpRouterStatsEntry 12 }-- *******************************************************************--   Trap Definitions-- ******************************************************************* vrrpNotifications   OBJECT IDENTIFIER ::= { vrrpMIB 0 } vrrpTrapPacketSrc OBJECT-TYPE     SYNTAX       IpAddress     MAX-ACCESS   accessible-for-notify     STATUS       current     DESCRIPTION         "The IP address of an inbound VRRP packet. Used by          vrrpTrapAuthFailure trap."     ::= { vrrpOperations 5 } vrrpTrapAuthErrorType OBJECT-TYPE     SYNTAX        INTEGER {         invalidAuthType (1),         authTypeMismatch (2),         authFailure (3)     }     MAX-ACCESS   accessible-for-notify     STATUS       current     DESCRIPTION         "Potential types of configuration conflicts.         Used by vrrpAuthFailure trap."     ::= { vrrpOperations 6 } vrrpTrapNewMaster NOTIFICATION-TYPE     OBJECTS      { vrrpOperMasterIpAddr                  }     STATUS       current     DESCRIPTION         "The newMaster trap indicates that the sending agent         has transitioned to 'Master' state."     ::= { vrrpNotifications 1 } vrrpTrapAuthFailure NOTIFICATION-TYPE     OBJECTS      { vrrpTrapPacketSrc,                    vrrpTrapAuthErrorType                  }     STATUS       current     DESCRIPTION         "A vrrpAuthFailure trap signifies that a packet has         been received from a router whose authentication key         or authentication type conflicts with this router's         authentication key or authentication type. Implementation         of this trap is optional."     ::= { vrrpNotifications 2 }-- *******************************************************************--  Conformance Information-- ******************************************************************* vrrpMIBCompliances  OBJECT IDENTIFIER ::= { vrrpConformance 1 } vrrpMIBGroups       OBJECT IDENTIFIER ::= { vrrpConformance 2 }-- ...................................................................-- Compliance Statements-- ................................................................... vrrpMIBCompliance MODULE-COMPLIANCE     STATUS current     DESCRIPTION        "The core compliance statement for all VRRP implementations."     MODULE -- this module     MANDATORY-GROUPS  {         vrrpOperGroup,         vrrpStatsGroup     }     OBJECT        vrrpOperPriority     WRITE-SYNTAX  Integer32 (1..255)     DESCRIPTION  "SETable values are from 1 to 255."     ::= { vrrpMIBCompliances 1 }-- ...................................................................-- Conformance Groups-- ................................................................... vrrpOperGroup  OBJECT-GROUP     OBJECTS  {         vrrpNodeVersion,         vrrpNotificationCntl,         vrrpOperVirtualMacAddr,         vrrpOperState,         vrrpOperAdminState,         vrrpOperPriority,         vrrpOperIpAddrCount,         vrrpOperMasterIpAddr,         vrrpOperPrimaryIpAddr,         vrrpOperAuthType,         vrrpOperAuthKey,         vrrpOperAdvertisementInterval,         vrrpOperPreemptMode,         vrrpOperVirtualRouterUpTime,         vrrpOperProtocol,         vrrpOperRowStatus,         vrrpAssoIpAddrRowStatus         }     STATUS current     DESCRIPTION        "Conformance group for VRRP operations."     ::= { vrrpMIBGroups 1 } vrrpStatsGroup  OBJECT-GROUP     OBJECTS  {         vrrpRouterChecksumErrors,         vrrpRouterVersionErrors,         vrrpRouterVrIdErrors,         vrrpStatsBecomeMaster,         vrrpStatsAdvertiseRcvd,         vrrpStatsAdvertiseIntervalErrors,         vrrpStatsAuthFailures,         vrrpStatsIpTtlErrors,         vrrpStatsPriorityZeroPktsRcvd,         vrrpStatsPriorityZeroPktsSent,         vrrpStatsInvalidTypePktsRcvd,         vrrpStatsAddressListErrors,         vrrpStatsInvalidAuthType,         vrrpStatsAuthTypeMismatch,         vrrpStatsPacketLengthErrors         }     STATUS current     DESCRIPTION        "Conformance group for VRRP statistics."     ::= { vrrpMIBGroups 2 } vrrpTrapGroup  OBJECT-GROUP     OBJECTS  {         vrrpTrapPacketSrc,         vrrpTrapAuthErrorType         }     STATUS current     DESCRIPTION        "Conformance group for objects contained in VRRP notifications."     ::= { vrrpMIBGroups 3 } vrrpNotificationGroup NOTIFICATION-GROUP     NOTIFICATIONS {         vrrpTrapNewMaster,         vrrpTrapAuthFailure         }     STATUS current     DESCRIPTION        "The VRRP MIB Notification Group."     ::= { vrrpMIBGroups 4 }END

⌨️ 快捷键说明

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