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

📄 rdbms-mib

📁 很不错java的SNMP应用例子
💻
📖 第 1 页 / 共 4 页
字号:
         that might or might not changeable at run time, or visible in         the rbmsSrvParamTable.  Examples would be the number of         available locks, or number of concurrent executions allowed         in a server.  Arrays of resources are supported through an         integer subindex, which should have the value of one for         single-instance names.         Limited resources that are shared across servers or databases         are best duplicated in this table across         all servers accessing the resource."    INDEX { applIndex, rdbmsSrvLimitedResourceName }    ::= { rdbmsSrvLimitedResourceTable 1 }RdbmsSrvLimitedResourceEntry ::=    SEQUENCE {        rdbmsSrvLimitedResourceName         DisplayString,        rdbmsSrvLimitedResourceID           AutonomousType,        rdbmsSrvLimitedResourceLimit        INTEGER,        rdbmsSrvLimitedResourceCurrent      INTEGER,        rdbmsSrvLimitedResourceHighwater    INTEGER,        rdbmsSrvLimitedResourceFailures     Counter32,        rdbmsSrvLimitedResourceDescription  DisplayString    }rdbmsSrvLimitedResourceName         OBJECT-TYPE    SYNTAX          DisplayString    MAX-ACCESS      not-accessible    STATUS          current    DESCRIPTION        "The name of the resource, for instance 'threads' or         'semaphores', or 'buffer pages'"    ::= { rdbmsSrvLimitedResourceEntry  1 }rdbmsSrvLimitedResourceID OBJECT-TYPE    SYNTAX              AutonomousType    MAX-ACCESS          read-only    STATUS              current    DESCRIPTION        "The ID of the resource which may be described in some other         MIB.  If there is no ID for this rdbmsSrvLimitedResourceName,         attempts to access this object will return noSuchName         (SNMPv1) or noSuchInstance (SNMPv2)."    ::= { rdbmsSrvLimitedResourceEntry 2 }rdbmsSrvLimitedResourceLimit        OBJECT-TYPE    SYNTAX          INTEGER (1..2147483647)    MAX-ACCESS      read-write    STATUS          current    DESCRIPTION        "The maximum value the resource use may attain.         Note that a compliant agent does not need to         allow write access to this object."    ::= { rdbmsSrvLimitedResourceEntry  3 }rdbmsSrvLimitedResourceCurrent      OBJECT-TYPE    SYNTAX          INTEGER (1..2147483647)    MAX-ACCESS      read-only    STATUS          current    DESCRIPTION        "The current value for the resource."    ::= { rdbmsSrvLimitedResourceEntry  4 }rdbmsSrvLimitedResourceHighwater            OBJECT-TYPE    SYNTAX          INTEGER (1..2147483647)    MAX-ACCESS      read-only    STATUS          current    DESCRIPTION        "The maximum value of the resource seen since applUpTime         was reset."    ::= { rdbmsSrvLimitedResourceEntry  5 }rdbmsSrvLimitedResourceFailures     OBJECT-TYPE    SYNTAX          Counter32    MAX-ACCESS      read-only    STATUS          current    DESCRIPTION        "The number of times the system wanted to exceed the limit of         the resource since applUpTime was reset."    ::= { rdbmsSrvLimitedResourceEntry  6 }rdbmsSrvLimitedResourceDescription    OBJECT-TYPE    SYNTAX          DisplayString    MAX-ACCESS      read-write    STATUS          current    DESCRIPTION        "A description of the resource and the meaning of the integer         units used for Limit, Current, and Highwater.         Note that a compliant agent does not need to         allow write access to this object."    ::= { rdbmsSrvLimitedResourceEntry  7 }----------------------------------------------------------------rdbmsRelTable   OBJECT-TYPE    SYNTAX      SEQUENCE OF RdbmsRelEntry    MAX-ACCESS  not-accessible    STATUS      current    DESCRIPTION        "A table relating databases and servers present on a host."    ::= { rdbmsObjects 9 }rdbmsRelEntry   OBJECT-TYPE    SYNTAX      RdbmsRelEntry    MAX-ACCESS  not-accessible    STATUS      current    DESCRIPTION        "An entry relating a single database server to a single         database to which it may provide access.  The table is         indexed first by the index of rdbmsDbTable, and then         rdbmsSrvTable, so that all servers capable of providing         access to a given database may be found by SNMP traversal         operations (get-next and get-bulk).  The makeup of this table         depends on the product's architecture, e.g. if it is one         server - many databases, then each server will appear n         times, where n is the number of databases it may access, and         each database will appear once.  If the architecture is one         database - many servers, then each server will appear once         and each database will appear n times, where n is the number         of servers that may be accessing it."    INDEX  { rdbmsDbIndex, applIndex }    ::= { rdbmsRelTable 1 }RdbmsRelEntry ::=    SEQUENCE {         rdbmsRelState          INTEGER,         rdbmsRelActiveTime     DateAndTime    }rdbmsRelState   OBJECT-TYPE    SYNTAX      INTEGER{                    other(1),                    active(2),                    available(3),                    restricted(4),                    unavailable(5)                    }    MAX-ACCESS  read-only    STATUS      current    DESCRIPTION        "The state of this server's access to this database.         Active(2) means the server is actively using the database.         Available(3) means the server could use the database if         necessary.  Restricted(4) means the database is in some         administratively determined state of less-than-complete         availability.  Unavailable(5) means the database is not         available through this server.  Other(1) means the         database/server is in some other condition, possibly         described in the vendor private MIB."    ::= { rdbmsRelEntry 1 }rdbmsRelActiveTime  OBJECT-TYPE    SYNTAX          DateAndTime    MAX-ACCESS      read-only    STATUS          current    DESCRIPTION        "The time the database was made active by the server.  If an         instance of rdbmsRelState is not active(1), then attempts to         access the corresponding instance of this object may result         in either noSuchName (SNMPv1) or noSuchInstance (SNMPv2)         being returned by the agent."    ::= { rdbmsRelEntry 2 }------------------------------------------------------------------ Well known resources for which limits, high water marks,-- access or allocation failures, and current levels of use-- are possibly available in either the rdbmsDbLimitedResources-- or the rdbmsSrvLimitedResources tables.rdbmsWellKnownLimitedResources OBJECT IDENTIFIER        ::= { rdbmsObjects 10 }rdbmsLogSpace   OBJECT-IDENTITY                STATUS  current                DESCRIPTION                "Storage allocated for redo and undo logs."        ::= { rdbmsWellKnownLimitedResources 1}----------------------------------------------------------------rdbmsTraps       OBJECT IDENTIFIER ::= { rdbmsMIB 2 }rdbmsStateChange    NOTIFICATION-TYPE    OBJECTS         { rdbmsRelState }    STATUS          current    DESCRIPTION        "An rdbmsStateChange trap signifies that one of the database         server/databases managed by this agent has changed its         rdbmsRelState in a way that makes it less accessible for use.         For these purposes, both active(2) and available(3) are         considered fully accessible.  The state sent with the trap is         the new, less accessible state."    ::= { rdbmsTraps 1 }rdbmsOutOfSpace NOTIFICATION-TYPE    OBJECTS     { rdbmsSrvInfoDiskOutOfSpaces }    STATUS      current    DESCRIPTION        "An rdbmsOutOfSpace trap signifies that one of the database         servers managed by this agent has been unable to allocate         space for one of the databases managed by this agent.  Care         should be taken to avoid flooding the network with these         traps."    ::= { rdbmsTraps 2 }------------------------------------------------------------------ compliance informationrdbmsConformance    OBJECT IDENTIFIER ::= { rdbmsMIB 3 }rdbmsCompliances    OBJECT IDENTIFIER ::= { rdbmsConformance 1 }rdbmsGroups         OBJECT IDENTIFIER ::= { rdbmsConformance 2 }-- compliance statementsrdbmsCompliance     MODULE-COMPLIANCE    STATUS          current    DESCRIPTION        "The compliance statement for SNMP entities which         implement the RDBMS MIB"    MODULE HOST-RESOURCES-MIB        MANDATORY-GROUPS    { hrSystem }    MODULE NETWORK-SERVICES-MIB        MANDATORY-GROUPS { applGroups }    MODULE RDBMS-MIB        MANDATORY-GROUPS { rdbmsGroup }    GROUP  rdbmsGroup        DESCRIPTION            "The rdbmsGroup is mandatory, but no write access             to objects is required for compliance."        OBJECT      rdbmsDbContact        MIN-ACCESS  read-only        DESCRIPTION            "A compliant system need not allow write-access to this            object."        OBJECT      rdbmsDbParamCurrValue        MIN-ACCESS  read-only        DESCRIPTION            "A compliant system need not allow write-access to this            object."        OBJECT      rdbmsDbParamComment        MIN-ACCESS  read-only        DESCRIPTION            "A compliant system need not allow write-access to this            object."        OBJECT      rdbmsDbLimitedResourceLimit        MIN-ACCESS  read-only        DESCRIPTION            "A compliant system need not allow write-access to this            object."        OBJECT      rdbmsDbLimitedResourceDescription        MIN-ACCESS  read-only        DESCRIPTION            "A compliant system need not allow write-access to this            object."        OBJECT      rdbmsSrvContact        MIN-ACCESS  read-only        DESCRIPTION            "A compliant system need not allow write-access to this            object."        OBJECT      rdbmsSrvInfoMaxInboundAssociations        MIN-ACCESS  read-only        DESCRIPTION            "A compliant system need not allow write-access to this            object."        OBJECT      rdbmsSrvParamCurrValue        MIN-ACCESS  read-only        DESCRIPTION            "A compliant system need not allow write-access to this            object."        OBJECT      rdbmsSrvParamComment        MIN-ACCESS  read-only        DESCRIPTION            "A compliant system need not allow write-access to this            object."        OBJECT      rdbmsSrvLimitedResourceLimit        MIN-ACCESS  read-only        DESCRIPTION            "A compliant system need not allow write-access to this            object."        OBJECT      rdbmsSrvLimitedResourceDescription        MIN-ACCESS  read-only        DESCRIPTION            "A compliant system need not allow write-access to this            object."    ::= { rdbmsCompliances 1 }-- units of conformance    -- rdbmsStateChange and rdbmsOutOfSpace traps are omitted    -- intentionally.  They are not required or part of any    -- conformance group.rdbmsGroup   OBJECT-GROUP    OBJECTS  {                rdbmsDbPrivateMibOID, rdbmsDbVendorName,                rdbmsDbName, rdbmsDbContact,                rdbmsDbInfoProductName, rdbmsDbInfoVersion,                rdbmsDbInfoSizeUnits, rdbmsDbInfoSizeAllocated,                rdbmsDbInfoSizeUsed, rdbmsDbInfoLastBackup,                rdbmsDbParamCurrValue, rdbmsDbParamComment,                rdbmsDbLimitedResourceLimit,                rdbmsDbLimitedResourceCurrent,                rdbmsDbLimitedResourceHighwater,                rdbmsDbLimitedResourceFailures,                rdbmsDbLimitedResourceDescription,                rdbmsSrvPrivateMibOID, rdbmsSrvVendorName,                rdbmsSrvProductName, rdbmsSrvContact,                rdbmsSrvInfoStartupTime,                rdbmsSrvInfoFinishedTransactions,                rdbmsSrvInfoDiskReads, rdbmsSrvInfoDiskWrites,                rdbmsSrvInfoLogicalReads, rdbmsSrvInfoLogicalWrites,                rdbmsSrvInfoPageReads, rdbmsSrvInfoPageWrites,                rdbmsSrvInfoHandledRequests,                rdbmsSrvInfoRequestRecvs, rdbmsSrvInfoRequestSends,                rdbmsSrvInfoHighwaterInboundAssociations,                rdbmsSrvInfoMaxInboundAssociations,                rdbmsSrvParamCurrValue, rdbmsSrvParamComment,                rdbmsSrvLimitedResourceLimit,                rdbmsSrvLimitedResourceCurrent,                rdbmsSrvLimitedResourceHighwater,                rdbmsSrvLimitedResourceFailures,                rdbmsSrvLimitedResourceDescription,                rdbmsRelState, rdbmsRelActiveTime }    STATUS   current    DESCRIPTION        "A collection of objects providing basic instrumentation of an         RDBMS entity."    ::= { rdbmsGroups 1 }----------------------------------------------------------------END

⌨️ 快捷键说明

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