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

📄 rdbms-mib

📁 很不错java的SNMP应用例子
💻
📖 第 1 页 / 共 4 页
字号:
RDBMS-MIB DEFINITIONS ::= BEGINIMPORTS   MODULE-IDENTITY, OBJECT-TYPE, NOTIFICATION-TYPE,    OBJECT-IDENTITY, Counter32, Gauge32, Integer32        FROM SNMPv2-SMI   MODULE-COMPLIANCE, OBJECT-GROUP        FROM SNMPv2-CONF    DisplayString, DateAndTime, AutonomousType        FROM SNMPv2-TC    applIndex, applGroups        FROM NETWORK-SERVICES-MIB    mib-2        FROM RFC1213-MIB;rdbmsMIB MODULE-IDENTITY    LAST-UPDATED "9406150655Z"    ORGANIZATION "IETF RDBMSMIB Working Group"    CONTACT-INFO            "           David Brower                Postal: The ASK Group, INGRES DBMS Development                        1080 Marina Village Parkway                        Alameda, CA  94501                        US                   Tel: +1 510 748 3418                   Fax: +1 510 748 2770                E-mail: daveb@ingres.com"    DESCRIPTION        "The MIB module to describe objects for generic relational         databases."    ::= { mib-2 39 }rdbmsObjects        OBJECT IDENTIFIER ::= { rdbmsMIB 1 }----------------------------------------------------------------rdbmsDbTable    OBJECT-TYPE    SYNTAX      SEQUENCE OF RdbmsDbEntry    MAX-ACCESS  not-accessible    STATUS      current    DESCRIPTION        "The table of databases installed on a system."    ::= { rdbmsObjects 1 }rdbmsDbEntry    OBJECT-TYPE    SYNTAX      RdbmsDbEntry    MAX-ACCESS  not-accessible    STATUS      current    DESCRIPTION        "An entry for a single database on the host.  Whether a         particular database is represented by a row in rdbmsDbTable         may be dependent on the activity level of that database,         according to the product's implementation.  An instance of         rdbmsRelState having the value active, other, or restricted         implies that an entry, corresponding to that instance, will         be present."    INDEX  { rdbmsDbIndex }    ::= { rdbmsDbTable 1 }RdbmsDbEntry    ::=    SEQUENCE {        rdbmsDbIndex            INTEGER,        rdbmsDbPrivateMibOID        OBJECT IDENTIFIER,        rdbmsDbVendorName       DisplayString,        rdbmsDbName             DisplayString,        rdbmsDbContact          DisplayString    }rdbmsDbIndex        OBJECT-TYPE    SYNTAX          INTEGER (1..2147483647)    MAX-ACCESS      not-accessible    STATUS          current    DESCRIPTION        "A numeric index, unique among all the databases from all         products on this host.  This value is a surrogate for the         conceptually unique key, which is {PrivateMibOID,         databasename}"    ::= { rdbmsDbEntry  1 }rdbmsDbPrivateMibOID    OBJECT-TYPE    SYNTAX          OBJECT IDENTIFIER    MAX-ACCESS      read-only    STATUS          current    DESCRIPTION       "The authoritative identification for the private MIB for        this database, presumably based on the vendor, e.g., {        enterprises 111 <optional subidentifiers>} for Oracle        databases, {enterprises 757 <optional subidentifiers>} for        Ingres databases, { enterprises 897 <optional        subidentifiers>} for Sybase databases, etc.        If no OBJECT IDENTIFIER exists for the private MIB, attempts        to access this object will return noSuchName (SNMPv1)        or noSuchInstance (SNMPv2)."    ::= { rdbmsDbEntry  2 }rdbmsDbVendorName   OBJECT-TYPE    SYNTAX          DisplayString    MAX-ACCESS      read-only    STATUS          current    DESCRIPTION        "The name of the vendor whose RDBMS manages this database,         for informational purposes."    ::= { rdbmsDbEntry 3 }rdbmsDbName     OBJECT-TYPE    SYNTAX      DisplayString    MAX-ACCESS  read-only    STATUS      current    DESCRIPTION        "The name of this database, in a product specific format.  The         product may need to qualify the name in some way to resolve         conflicts if it is possible for a database name to be         duplicated on a host.  It might be necessary to construct a         hierarchical name embedding the RDBMS instance/installation         on the host, and/or the owner of the database.  For instance,         '/test-installation/database-owner/database-name'."    ::= { rdbmsDbEntry 4 }rdbmsDbContact  OBJECT-TYPE    SYNTAX      DisplayString    MAX-ACCESS  read-write    STATUS      current    DESCRIPTION        "The textual identification of the contact person for this         managed database, together with information on how to contact         this person.         Note: if there is no server associated with this database, an         agent may need to keep this in other persistent storage,         e.g., a configuration file.         Note that a compliant agent does not need to         allow write access to this object."    ::= { rdbmsDbEntry 5 }----------------------------------------------------------------rdbmsDbInfoTable    OBJECT-TYPE    SYNTAX          SEQUENCE OF RdbmsDbInfoEntry    MAX-ACCESS      not-accessible    STATUS          current    DESCRIPTION        "The table of additional information about databases present         on the host."    ::= { rdbmsObjects 2 }rdbmsDbInfoEntry    OBJECT-TYPE    SYNTAX          RdbmsDbInfoEntry    MAX-ACCESS      not-accessible    STATUS          current    DESCRIPTION        "Information that must be present if the database is actively         opened.  If the database is not actively opened, then         attempts to access corresponding instances in this table may         result in either noSuchName (SNMPv1) or noSuchInstance         (SNMPv2).  'Actively opened' means at least one of the         rdbmsRelState entries for this database in the rdbmsRelTable         is active(2)."    INDEX  { rdbmsDbIndex }    ::= { rdbmsDbInfoTable 1 }RdbmsDbInfoEntry ::=    SEQUENCE {        rdbmsDbInfoProductName      DisplayString,        rdbmsDbInfoVersion          DisplayString,        rdbmsDbInfoSizeUnits        INTEGER,        rdbmsDbInfoSizeAllocated    INTEGER,        rdbmsDbInfoSizeUsed         INTEGER,        rdbmsDbInfoLastBackup       DateAndTime    }rdbmsDbInfoProductName  OBJECT-TYPE    SYNTAX          DisplayString    MAX-ACCESS      read-only    STATUS          current    DESCRIPTION        "The textual product name of the server that created or last         restructured this database.  The format is product specific."    ::= { rdbmsDbInfoEntry 1 }rdbmsDbInfoVersion  OBJECT-TYPE    SYNTAX          DisplayString    MAX-ACCESS      read-only    STATUS          current    DESCRIPTION        "The version number of the server that created or last         restructured this database.  The format is product specific."    ::= { rdbmsDbInfoEntry 2 }rdbmsDbInfoSizeUnits    OBJECT-TYPE    SYNTAX              INTEGER {                            bytes(1),                            kbytes(2),                            mbytes(3),                            gbytes(4),                            tbytes(5)                            }    MAX-ACCESS          read-only    STATUS              current    DESCRIPTION        "Identification of the units used to measure the size of this         database in rdbmsDbInfoSizeAllocated and rdbmsDbInfoSizeUsed.         bytes(1) indicates individual bytes, kbytes(2) indicates         units of kilobytes, mbytes(3) indicates units of megabytes,         gbytes(4) indicates units of gigabytes, and tbytes(5)         indicates units of terabytes.  All are binary multiples -- 1K         = 1024.  If writable, changes here are reflected in the get         values of the associated objects."    ::= { rdbmsDbInfoEntry 3 }rdbmsDbInfoSizeAllocated    OBJECT-TYPE    SYNTAX                  INTEGER (1..2147483647)    MAX-ACCESS              read-write    STATUS                  current    DESCRIPTION        "The estimated size of this database (in         rdbmsDbInfoSizeUnits), which is the disk space that has been         allocated to it and is no longer available to users on this         host.  rdbmsDbInfoSize does not necessarily indicate the         amount of space actually in use for database data.  Some         databases may support extending allocated size, and others         may not.         Note that a compliant agent does not need to         allow write access to this object."--       Note:  computing SizeAllocated may be expensive, and SNMP--       agents might cache the value to increase performance.    ::= { rdbmsDbInfoEntry 4 }rdbmsDbInfoSizeUsed     OBJECT-TYPE    SYNTAX              INTEGER (1..2147483647)    MAX-ACCESS          read-only    STATUS              current    DESCRIPTION        "The estimated size of this database, in rdbmsDbInfoSizeUnits,         which is actually in use for database data."--       Note:  computing SizeUsed may be expensive, and SNMP--       agents might cache the value to increase performance.    ::= { rdbmsDbInfoEntry 5 }rdbmsDbInfoLastBackup       OBJECT-TYPE     SYNTAX                 DateAndTime     MAX-ACCESS             read-only     STATUS                 current     DESCRIPTION        "The date and time that the latest complete or partial backup         of the database was taken. If a database has never been         backed up, then attempts to access this object will         result in either noSuchName (SNMPv1) or noSuchInstance         (SNMPv2)."     ::= { rdbmsDbInfoEntry 6 }----------------------------------------------------------------rdbmsDbParamTable       OBJECT-TYPE    SYNTAX              SEQUENCE OF RdbmsDbParamEntry    MAX-ACCESS          not-accessible    STATUS              current    DESCRIPTION        "The table of configuration parameters for a database.         Entries should be populated according to the following         guidelines:         (1) The value should be specified through administrative             (human) intervention.         (2) It should be configured on a per-database basis.         (3) One of the following is true:             (a) The parameter has a non-numeric value;             (b) The current value is numeric, but it only changes due                 to human intervention;             (c) The current value is numeric and dynamic, but the                 RDBMS does not track access/allocation failures                 related to the parameter;             (d) The current value is numeric and dynamic, the                 RDBMS tracks changes in access/allocation failures                 related to the parameter, but the failure has no                 significant impact on RDBMS performance or                 availability.             (e) The current value is numeric and dynamic, the                 RDBMS tracks changes in access/allocation failures                 related to the parameter, the failure has                 significant impact on RDBMS performance or                 availability, and is shown in the                 rdbmsDbLimitedResource table."    ::= { rdbmsObjects 3 }rdbmsDbParamEntry       OBJECT-TYPE    SYNTAX              RdbmsDbParamEntry    MAX-ACCESS          not-accessible    STATUS              current    DESCRIPTION        "An entry for a single configuration parameter for a database.         Parameters with single values have a subindex value of one.         If the parameter is naturally considered to contain a         variable number of members of a class, e.g.  members of the         DBA user group, or files which are part of the database, then         it must be presented as a set of rows.  If, on the other         hand, the parameter represents a set of choices from a class,         e.g. the permissions on a file or the options chosen out of         the set of all options allowed, AND is guaranteed to always         fit in the 255 character length of a DisplayString, then it         may be presented as a comma separated list with a subindex         value of one.  Zero may not be used as a subindex value.         If the database is not actively opened, then attempts         to access corresponding instances in this table may result in         either noSuchName (SNMPv1) or noSuchInstance (SNMPv2).         'Actively opened' means at least one of the         rdbmsRelState entries for this database in the rdbmsRelTable         is active(2)."    INDEX  { rdbmsDbIndex, rdbmsDbParamName, rdbmsDbParamSubIndex }    ::= { rdbmsDbParamTable 1 }RdbmsDbParamEntry ::=    SEQUENCE {        rdbmsDbParamName                DisplayString,        rdbmsDbParamSubIndex            INTEGER,        rdbmsDbParamID                  AutonomousType,        rdbmsDbParamCurrValue           DisplayString,        rdbmsDbParamComment             DisplayString    }rdbmsDbParamName        OBJECT-TYPE    SYNTAX              DisplayString (SIZE (1..64))    MAX-ACCESS          not-accessible    STATUS              current    DESCRIPTION        "The name of a configuration parameter for a database.  This         name is product-specific.  The length is limited to 64         characters to constrain the number of sub-identifiers needed         for instance identification (and to minimize network         traffic)."    ::= { rdbmsDbParamEntry 1 }rdbmsDbParamSubIndex    OBJECT-TYPE    SYNTAX              INTEGER (1..2147483647)    MAX-ACCESS          not-accessible    STATUS              current    DESCRIPTION        "The subindex value for this parameter.  If the parameter is

⌨️ 快捷键说明

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