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

📄 rdbms-mib

📁 很不错java的SNMP应用例子
💻
📖 第 1 页 / 共 4 页
字号:
         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 value."    ::= { rdbmsDbParamEntry 2 }rdbmsDbParamID          OBJECT-TYPE    SYNTAX              AutonomousType    MAX-ACCESS          read-only    STATUS              current    DESCRIPTION        "The ID of the parameter which may be described in some other         MIB (e.g., an enterprise-specific MIB module).  If there is         no ID for this rdbmsDbParamName, attempts to access this         object will return noSuchName (SNMPv1) or noSuchInstance         (SNMPv2)."    ::= { rdbmsDbParamEntry 3 }rdbmsDbParamCurrValue OBJECT-TYPE    SYNTAX              DisplayString    MAX-ACCESS          read-write    STATUS              current    DESCRIPTION        "The value for a configuration parameter now in effect, the         actual setting for the database.  While there may multiple         values in the temporal domain of interest (for instance, the         value to take effect at the next restart), this is the         current setting.         Note that a compliant agent does not need to         allow write access to this object."    ::= { rdbmsDbParamEntry 4 }rdbmsDbParamComment     OBJECT-TYPE    SYNTAX              DisplayString    MAX-ACCESS          read-write    STATUS              current    DESCRIPTION        "Annotation which describes the purpose of a configuration         parameter or the reason for a particular parameter's         setting.         Note that a compliant agent does not need to         allow write access to this object."    ::= { rdbmsDbParamEntry 5 }----------------------------------------------------------------rdbmsDbLimitedResourceTable         OBJECT-TYPE    SYNTAX          SEQUENCE OF RdbmsDbLimitedResourceEntry    MAX-ACCESS      not-accessible    STATUS          current    DESCRIPTION        "The table of limited resources that are kept per-database."    ::= { rdbmsObjects 4 }rdbmsDbLimitedResourceEntry     OBJECT-TYPE    SYNTAX      RdbmsDbLimitedResourceEntry    MAX-ACCESS  not-accessible    STATUS      current    DESCRIPTION        "An entry for a single limited resource kept per-database.         A limited resource has maximum use determined by a parameter         that might or might not be changeable at run time, or visible         in the rdbmsDbParamTable. Examples would be the number of         available locks, or disk space on a partition.  Arrays of         resources are supported through an integer sub index, which         should have the value of one for single-instance names.         Limited resources that are shared across databases, are best         put in the rdbmsSvrLimitedResourceTable instead of this one.         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, rdbmsDbLimitedResourceName }    ::= { rdbmsDbLimitedResourceTable 1 }RdbmsDbLimitedResourceEntry ::=    SEQUENCE {        rdbmsDbLimitedResourceName          DisplayString,        rdbmsDbLimitedResourceID            AutonomousType,        rdbmsDbLimitedResourceLimit         INTEGER,        rdbmsDbLimitedResourceCurrent       INTEGER,        rdbmsDbLimitedResourceHighwater     INTEGER,        rdbmsDbLimitedResourceFailures      Counter32,        rdbmsDbLimitedResourceDescription   DisplayString    }rdbmsDbLimitedResourceName          OBJECT-TYPE    SYNTAX          DisplayString    MAX-ACCESS      not-accessible    STATUS          current    DESCRIPTION        "The name of the resource, for instance 'global locks' or         'locks for the FOO database', or 'data space on /dev/rdsk/5s0         for FOO'. The length is limited to 64 characters to constrain         the number of sub-identifiers needed for instance         identification (and to minimize network traffic)."    ::= { rdbmsDbLimitedResourceEntry  1 }rdbmsDbLimitedResourceID OBJECT-TYPE    SYNTAX              AutonomousType    MAX-ACCESS          read-only    STATUS              current    DESCRIPTION        "The ID of the resource which may be described in some other         MIB (e.g., an enterprise-specific MIB module).  If there is         no ID for this rdbmsDbLimitedResourceName, attempts to access         this object will return noSuchName (SNMPv1) or noSuchInstance         (SNMPv2)."    ::= { rdbmsDbLimitedResourceEntry 2 }rdbmsDbLimitedResourceLimit         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."    ::= { rdbmsDbLimitedResourceEntry  3 }rdbmsDbLimitedResourceCurrent       OBJECT-TYPE    SYNTAX          INTEGER (1..2147483647)    MAX-ACCESS      read-only    STATUS          current    DESCRIPTION        "The current value for the resource."    ::= { rdbmsDbLimitedResourceEntry  4 }rdbmsDbLimitedResourceHighwater     OBJECT-TYPE    SYNTAX          INTEGER (1..2147483647)    MAX-ACCESS      read-only    STATUS          current    DESCRIPTION        "The maximum value of the resource seen since applUpTime         was reset for the earliest server which has the database         actively opened.         If there are two servers with the database open, and the         oldest one dies, the proper way to invalidate the value is by         resetting sysUpTime."    ::= { rdbmsDbLimitedResourceEntry  5 }rdbmsDbLimitedResourceFailures      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 for the earliest         server which has the database actively opened.         If there are two servers with the DB open, and the         oldest one dies, the proper way to invalidate the value is by         resetting sysUpTime."    ::= { rdbmsDbLimitedResourceEntry  6 }rdbmsDbLimitedResourceDescription           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."    ::= { rdbmsDbLimitedResourceEntry  7 }----------------------------------------------------------------rdbmsSrvTable       OBJECT-TYPE    SYNTAX          SEQUENCE OF RdbmsSrvEntry    MAX-ACCESS      not-accessible    STATUS          current    DESCRIPTION        "The table of database servers running or installed         on a system."    ::= { rdbmsObjects 5 }rdbmsSrvEntry   OBJECT-TYPE    SYNTAX      RdbmsSrvEntry    MAX-ACCESS  not-accessible    STATUS      current    DESCRIPTION        "An entry for a single database server.  A server is an         independent entity that provides access to one or more         databases.  Failure of one does not affect access to         databases through any other servers.  There might be one or         more servers providing access to a database.  A server may be         a 'process' or collection of 'processes', as interpreted by         the product."    INDEX { applIndex }    ::= { rdbmsSrvTable 1 }RdbmsSrvEntry ::=    SEQUENCE {        rdbmsSrvPrivateMibOID   OBJECT IDENTIFIER,        rdbmsSrvVendorName  DisplayString,        rdbmsSrvProductName DisplayString,        rdbmsSrvContact     DisplayString    }rdbmsSrvPrivateMibOID   OBJECT-TYPE    SYNTAX          OBJECT IDENTIFIER    MAX-ACCESS      read-only    STATUS          current    DESCRIPTION        "The authoritative identification for the private MIB for this         server, presumably based on the vendor, e.g., { enterprises         111 <optional subidentifiers>} for Oracle servers, {         enterprises 757 <optional subidentifiers>} for Ingres         servers, { enterprises 897 <optional subidentifiers>} for         Sybase servers, etc.         If no OBJECT IDENTIFIER exists for the private MIB, attempts         to access this object will return noSuchName (SNMPv1)         or noSuchInstance (SNMPv2)."    ::= { rdbmsSrvEntry  1 }rdbmsSrvVendorName  OBJECT-TYPE    SYNTAX          DisplayString    MAX-ACCESS      read-only    STATUS          current    DESCRIPTION        "The name of the vendor whose RDBMS manages this database,         for informational purposes."    ::= { rdbmsSrvEntry 2 }rdbmsSrvProductName  OBJECT-TYPE    SYNTAX          DisplayString    MAX-ACCESS      read-only    STATUS          current    DESCRIPTION        "The product name of this server.  This is normally the         vendor's formal name for the product, in product specific         format."    ::= { rdbmsSrvEntry 3 }rdbmsSrvContact OBJECT-TYPE    SYNTAX      DisplayString    MAX-ACCESS  read-write    STATUS      current    DESCRIPTION        "The textual identification of the contact person for this         managed server, together with information on how to contact         this person.         Note: if there is no active server associated with this         object, 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."    ::= { rdbmsSrvEntry 4 }----------------------------------------------------------------rdbmsSrvInfoTable   OBJECT-TYPE    SYNTAX          SEQUENCE OF RdbmsSrvInfoEntry    MAX-ACCESS      not-accessible    STATUS          current    DESCRIPTION        "The table of additional information about database servers.         Entries in this table correspond to applications in the         NETWORK-SERVICES-MIB applTable.  Some objects in that table are         application-specific.  When they are associated with an RDBMS         server in this table, the objects have the following         meanings.         applName - The name of this server, i.e., the process or         group of processes providing access to this database.  The         exact format will be product and host specific.         applVersion - The version number of this server, in product         specific format.         applOperStatus - up(1) means operational and available for         general use.  down(2) means the server is not available for         use, but is known to the agent.  The other states have broad         meaning, and may need to be supplemented by the vendor         private MIB.  Halted(3) implies an administrative state of         unavailability.  Congested(4) implies a resource or or         administrative limit is prohibiting new inbound associations.         The 'available soon' description of restarting(5) may include         an indeterminate amount of recovery.         applLastChange is the time the agent noticed the most recent         change to applOperStatus.         applInboundAssociation is the number of currently active         local and remote conversations (usually SQL connects).         applOutboundAssociations is not provided by this MIB.         applAccumulatedInboundAssociations is the total number of         local and remote conversations started since the server came         up.         applAccumulatedOutbound associations is not provided by this         MIB.         applLastInboundActivity is the time the most recent local or         remote conversation was attempted or disconnected.         applLastOutboundActivity is not provided by this MIB.         applRejectedInboundAssociations is the number of local or         remote conversations rejected by the server for         administrative reasons or because of resource limitations.         applFailedOutboundAssociations is not provided by this MIB."    ::= { rdbmsObjects 6 }rdbmsSrvInfoEntry   OBJECT-TYPE    SYNTAX          RdbmsSrvInfoEntry    MAX-ACCESS      not-accessible    STATUS          current    DESCRIPTION        "Information that must be present for a single 'up' database         server, with visibility determined by the value of the         corresponding applOperStatus object.  If an instance of         applOperStatus is not up(1), then attempts to access         corresponding instances in this table may result in either         noSuchName (SNMPv1) or noSuchInstance (SNMPv2) being returned         by the agent."    INDEX { applIndex }    ::= { rdbmsSrvInfoTable 1 }RdbmsSrvInfoEntry ::=    SEQUENCE {        rdbmsSrvInfoStartupTime                 DateAndTime,

⌨️ 快捷键说明

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