1 tony 1.1 // ===================================================================
2 // Title: Database MOF Specification 2.8
3 // Filename: Database28_Statistics.mof
4 // Version: 2.8
5 // Release: Preliminary
6 // Date: 05/21/03
7 // ===================================================================
8 // Copyright 1998-2003 Distributed Management Task Force, Inc. (DMTF).
9 // All rights reserved.
10 // DMTF is a not-for-profit association of industry members dedicated
11 // to promoting enterprise and systems management and interoperability.
12 // DMTF specifications and documents may be reproduced for uses
13 // consistent with this purpose by members and non-members,
14 // provided that correct attribution is given.
15 // As DMTF specifications may be revised from time to time,
16 // the particular version and release date should always be noted.
17 //
18 // Implementation of certain elements of this standard or proposed
19 // standard may be subject to third party patent rights, including
20 // provisional patent rights (herein "patent rights"). DMTF makes
21 // no representations to users of the standard as to the existence
22 tony 1.1 // of such rights, and is not responsible to recognize, disclose, or
23 // identify any or all such third party patent right, owners or
24 // claimants, nor for any incomplete or inaccurate identification or
25 // disclosure of such rights, owners or claimants. DMTF shall have no
26 // liability to any party, in any manner or circumstance, under any
27 // legal theory whatsoever, for failure to recognize, disclose, or
28 // identify any such third party patent rights, or for such party's
29 // reliance on the standard or incorporation thereof in its product,
30 // protocols or testing procedures. DMTF shall have no liability to
31 // any party implementing such standard, whether such implementation
32 // is foreseeable or not, nor to any patent owner or claimant, and shall
33 // have no liability or responsibility for costs or losses incurred if
34 // a standard is withdrawn or modified after publication, and shall be
35 // indemnified and held harmless by any party implementing the
36 // standard from any and all claims of infringement by a patent owner
37 // for such implementations.
38 //
39 // For information about patents held by third-parties which have
40 // notified the DMTF that, in their opinion, such patent may relate to
41 // or impact implementations of DMTF standards, visit
42 // http://www.dmtf.org/about/policies/disclosures.php.
43 tony 1.1 // ===================================================================
44 // Description:
45 // This file contains the classes and associations that define
46 // the statistics used to manage a database.
47 // ===================================================================
48 // Change Log for V2.8 - None
49 // ==================================================================
50
51 // ==================================================================
52 // DatabaseServiceStatistics
53 // ==================================================================
54 [Version ("2.7.0"), Description (
55 "The CIM_DatabaseServiceStatistics class contains the current "
56 "statistics for a database service. These are counters that "
57 "are relative to the start of the service or from the time when "
58 "a reset was issued.") ]
59 class CIM_DatabaseServiceStatistics : CIM_StatisticalData {
60
61 [Description (
62 "The date and time when the most recent inbound activity was "
63 "observed for the database service. A value of all zeros "
64 tony 1.1 "indicates that no inbound activity has taken place since "
65 "the service was started."),
66 MappingStrings
67 {"MIB.IETF|RDBMS-MIB.rdbmsSrvInfoLastInboundActivity"} ]
68 datetime LastActivity;
69
70 [Description (
71 "The number of active inbound connections that are currently "
72 "using the service."),
73 Counter,
74 MappingStrings
75 {"MIB.IETF|RDBMS-MIB.rdbmsSrvInfoapplInboundAssociation"} ]
76 uint64 ActiveConnections;
77
78 [Description (
79 "The total number of inbound connections to the service "
80 "since it was started."),
81 Counter,
82 MappingStrings {"MIB.IETF|RDBMS-MIB.rdbmsSrvInfoapplAccumulated"
83 "InboundAssociations"} ]
84 uint64 CumulativeConnections;
85 tony 1.1
86 [Description (
87 "The total number of inbound connections that were rejected "
88 "by the service since it was started."),
89 Counter,
90 MappingStrings {"MIB.IETF|RDBMS-MIB.rdbmsSrvInfoapplRejected"
91 "InboundAssociations"} ]
92 uint64 RejectedConnections;
93
94 [Description (
95 "The total number of transactions that have been completed "
96 "by a commit or abort. Some database operations, such as "
97 "read-only queries, may not create a transaction."),
98 Counter,
99 MappingStrings
100 {"MIB.IETF|RDBMS-MIB.rdbmsSrvInfoFinishedTransactions"} ]
101 uint64 CompletedTransactions;
102
103 [Description (
104 "The total number of database file reads that were issued by "
105 "the service since it was started."),
106 tony 1.1 Counter,
107 MappingStrings {"MIB.IETF|RDBMS-MIB.rdbmsSrvInfoDiskReads"} ]
108 uint64 DiskReads;
109
110 [Description (
111 "The total number of database file writes that were issued "
112 "by the service since it was started."),
113 Counter,
114 MappingStrings {"MIB.IETF|RDBMS-MIB.rdbmsSrvInfoDiskWrites"} ]
115 uint64 DiskWrites;
116
117 [Description (
118 "The total number of logical database file reads that were "
119 "issued by the service since it was started."),
120 Counter,
121 MappingStrings {"MIB.IETF|RDBMS-MIB.rdbmsSrvInfoLogicalReads"} ]
122 uint64 LogicalReads;
123
124 [Description (
125 "The total number of logical database file writes that were "
126 "issued by the service since it was started. A logical "
127 tony 1.1 "write is a count of the number of times that parts of "
128 "database files have been marked dirty to indicate that they "
129 "need to be written to disk."),
130 Counter,
131 MappingStrings {"MIB.IETF|RDBMS-MIB.rdbmsSrvInfoLogicalWrites"} ]
132 uint64 LogicalWrites;
133
134 [Description (
135 "The total number of database pages that have been read by "
136 "the service since it was started."),
137 Counter,
138 MappingStrings {"MIB.IETF|RDBMS-MIB.rdbmsSrvInfoPageReads"} ]
139 uint64 PageReads;
140
141 [Description (
142 "The total number of database pages that have been written "
143 "by the service since it was started."),
144 Counter,
145 MappingStrings {"MIB.IETF|RDBMS-MIB.rdbmsSrvInfoPageWrites"} ]
146 uint64 PageWrites;
147
148 tony 1.1 [Description (
149 "The total number of times the database requested disk space "
150 "and it was not available since the service was started."),
151 Counter,
152 MappingStrings
153 {"MIB.IETF|RDBMS-MIB.rdbmsSrvInfoDiskOutOfSpaces"} ]
154 uint64 DiskSpaceUnavailable;
155
156 [Description (
157 "The total number of requests that have been received by the "
158 "service since it was started."),
159 Counter,
160 MappingStrings
161 {"MIB.IETF|RDBMS-MIB.rdbmsSrvInfoHandledRequests"} ]
162 uint64 RequestsHandled;
163
164 [Description (
165 "The total number of receive operations made by the service "
166 "during request processing since it was started."),
167 Counter,
168 MappingStrings {"MIB.IETF|RDBMS-MIB.rdbmsSrvInfoRequestRecvs"} ]
169 tony 1.1 uint64 RequestsReceived;
170
171 [Description (
172 "The total number of send operations made by the service "
173 "during request processing since it was started."),
174 Counter,
175 MappingStrings {"MIB.IETF|RDBMS-MIB.rdbmsSrvInfoRequestsSent"} ]
176 uint64 RequestsSent;
177
178 [Description (
179 "The maximum number of active inbound connections that have "
180 "been concurrently using the service since it was started."),
181 Counter,
182 MappingStrings {"MIB.IETF|RDBMS-MIB.rdbmsSrvInfoHighwater"
183 "InboundAssociations"} ]
184 uint64 HighwaterConnections;
185 };
186
187
188 // ==================================================================
189 // CommonDatabaseStatistics
190 tony 1.1 // ==================================================================
191 [Version ("2.7.0"), Description (
192 "The CIM_CommonDatabaseStatistics class contains the current "
193 "statistics for a database.") ]
194 class CIM_CommonDatabaseStatistics : CIM_StatisticalData {
195
196 [Description (
197 "The estimated amount of disk space (in units) that is "
198 "currently used by the database."),
199 MappingStrings {"MIB.IETF|RDBMS-MIB.rdbmsDbInfoSizeUsed"} ]
200 uint32 SizeUsed;
201 };
202
203
204 // ==================================================================
205 // DatabaseResourceStatistics
206 // ==================================================================
207 [Version ("2.7.0"), Description (
208 "The CIM_DatabaseServiceStatistics class contains the current "
209 "statistics for a database resource. This class maps to the "
210 "database and server limited resource tables in the SNMP RDBMS "
211 tony 1.1 "MIB as defined in RFC 1697.") ]
212 class CIM_DatabaseResourceStatistics : CIM_StatisticalData {
213
214 [Description (
215 "The current value of a limited database resource."),
216 Counter,
217 MappingStrings
218 {"MIB.IETF|RDBMS-MIB.rdbmsDbLimitedResourceCurrent"} ]
219 uint64 Current;
220
221 [Description (
222 "The maximum value that the database resource can attain."),
223 MappingStrings
224 {"MIB.IETF|RDBMS-MIB.rdbmsDbLimitedResourceLimit"} ]
225 uint64 Limit;
226
227 [Description (
228 "The number of database resources used measured from the "
229 "time when the first service was started for the database. "
230 "Other external factors, such as an explicit reset of the "
231 "statistics may cause this measurement to begin at a later "
232 tony 1.1 "point in time."),
233 Counter,
234 MappingStrings
235 {"MIB.IETF|RDBMS-MIB.rdbmsDbLimitedResourceHighwater"} ]
236 uint64 Highwater;
237
238 [Description (
239 "The number of times that the system wanted to exceed the "
240 "database resource limit measured from the time when the "
241 "first service was started for the database."),
242 Counter,
243 MappingStrings
244 {"MIB.IETF|RDBMS-MIB.rdbmsDbLimitedResourceFailures"} ]
245 uint32 Failures;
246 };
|