summaryrefslogtreecommitdiff
path: root/MIBS/bdcom/BDCOM-MEMORY-POOL-MIB
blob: 42ad8241f04c07926e40b413183cf1253bfa892f (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
-- *****************************************************************
-- BDCOM-MEMORY-POOL-MIB
--
-- October 2003
--
-- Copyright (c) 2003 by BDCOM, Inc.
-- All rights reserved.
-- *****************************************************************

BDCOM-MEMORY-POOL-MIB DEFINITIONS ::= BEGIN

IMPORTS
    MODULE-IDENTITY,
    OBJECT-TYPE,
    Integer32,
    Gauge32
        FROM SNMPv2-SMI
    TEXTUAL-CONVENTION,
    DisplayString,
    TruthValue
        FROM SNMPv2-TC
    MODULE-COMPLIANCE,
    OBJECT-GROUP
        FROM SNMPv2-CONF
    bdMgmt
        FROM BDCOM-SMI
    Percent
        FROM BDCOM-QOS-PIB-MIB;

bdcomMemoryPoolMIB MODULE-IDENTITY
	LAST-UPDATED "200310160000Z"
	ORGANIZATION "BDCOM, Inc."
	CONTACT-INFO
		" Tel:   +86-21-50800666  
		 Postal: No.123,Juli RD,Zhangjiang Hitech Park,
			 Shanghai Baud Data Communication Corporation Inc,
			 Shanghai City 201203,
		 	P.R.C "
    	DESCRIPTION
        	"MIB module for monitoring memory pools"
   	REVISION        "200310160000Z"
	DESCRIPTION
		"Initial version of this MIB."
    ::= { bdMgmt 48 }

BDCOMMemoryPoolTypes ::= TEXTUAL-CONVENTION
    STATUS        current
    DESCRIPTION
        "Represents the different types of memory pools that
        may be present in a managed device.  Memory pools can
        be roughly categorized into two groups, predefined
        pools and dynamic pools.  The following pool types
        are currently predefined:
            1:  processor memory
            2:  i/o memory
            3:  pci memory
            4:  fast memory
            5:  multibus memory

        Dynamic pools will have a pool type value greater than
        any of the predefined types listed above.

        Note that only the processor pool is required to be
        supported by all devices.  Support for other pool types
        is dependent on the device being managed."
    SYNTAX        Integer32 (1..65535)

bdcomMemoryPoolObjects
    OBJECT IDENTIFIER ::= { bdcomMemoryPoolMIB 1 }

bdcomMemoryPoolTable OBJECT-TYPE
    SYNTAX        SEQUENCE OF BDCOMMemoryPoolEntry
    MAX-ACCESS    not-accessible
    STATUS        current
    DESCRIPTION
        "A table of memory pool monitoring entries."
    ::= { bdcomMemoryPoolObjects 1 }

bdcomMemoryPoolEntry OBJECT-TYPE
    SYNTAX        BDCOMMemoryPoolEntry
    MAX-ACCESS    not-accessible
    STATUS        current
    DESCRIPTION
        "An entry in the memory pool monitoring table."
    INDEX        { bdcomMemoryPoolType }
    ::= { bdcomMemoryPoolTable 1 }

BDCOMMemoryPoolEntry ::=
    SEQUENCE {
        bdcomMemoryPoolType               BDCOMMemoryPoolTypes,
        bdcomMemoryPoolName               DisplayString,
        bdcomMemoryPoolAlternate          Integer32,
        bdcomMemoryPoolValid              TruthValue,
        bdcomMemoryPoolUsed               Gauge32,
        bdcomMemoryPoolFree               Gauge32,
        bdcomMemoryPoolLargestFree        Gauge32
    }

bdcomMemoryPoolType OBJECT-TYPE
    SYNTAX        BDCOMMemoryPoolTypes
    MAX-ACCESS    not-accessible
    STATUS        current
    DESCRIPTION
        "The type of memory pool for which this entry
        contains information."
    ::= { bdcomMemoryPoolEntry 1 }

bdcomMemoryPoolName OBJECT-TYPE
    SYNTAX        DisplayString
    MAX-ACCESS    read-only
    STATUS        current
    DESCRIPTION
        "A textual name assigned to the memory pool.  This
        object is suitable for output to a human operator,
        and may also be used to distinguish among the various
        pool types, especially among dynamic pools."
    ::= { bdcomMemoryPoolEntry 2 }

bdcomMemoryPoolAlternate OBJECT-TYPE
    SYNTAX        Integer32 (0..65535)
    MAX-ACCESS    read-only
    STATUS        current
    DESCRIPTION
        "Indicates whether or not this memory pool has an
        alternate pool configured.  Alternate pools are
        used for fallback when the current pool runs out
        of memory.

        If an instance of this object has a value of zero,
        then this pool does not have an alternate.  Otherwise
        the value of this object is the same as the value of
        bdcomMemoryPoolType of the alternate pool."
    ::= { bdcomMemoryPoolEntry 3 }

bdcomMemoryPoolValid OBJECT-TYPE
    SYNTAX        TruthValue
    MAX-ACCESS    read-only
    STATUS        current
    DESCRIPTION
        "Indicates whether or not the remaining objects in
        this entry contain accurate data.  If an instance
        of this object has the value false (which in and of
        itself indicates an internal error condition), the
        values of the remaining objects in the conceptual row
        may contain inaccurate information (specifically, the
        reported values may be less than the actual values)."
    ::= { bdcomMemoryPoolEntry 4 }

bdcomMemoryPoolUsed OBJECT-TYPE
    SYNTAX        Gauge32
    UNITS         "bytes"
    MAX-ACCESS    read-only
    STATUS        current
    DESCRIPTION
        "Indicates the number of bytes from the memory pool
        that are currently in use by applications on the
        managed device."
    ::= { bdcomMemoryPoolEntry 5 }

bdcomMemoryPoolFree OBJECT-TYPE
    SYNTAX        Gauge32
    UNITS         "bytes"
    MAX-ACCESS    read-only
    STATUS        current
    DESCRIPTION
        "Indicates the number of bytes from the memory pool
        that are currently unused on the managed device.

        Note that the sum of bdcomMemoryPoolUsed and
        bdcomMemoryPoolFree is the total amount of memory
        in the pool"
    ::= { bdcomMemoryPoolEntry 6 }

bdcomMemoryPoolLargestFree OBJECT-TYPE
    SYNTAX        Gauge32
    UNITS         "bytes"
    MAX-ACCESS    read-only
    STATUS        current
    DESCRIPTION
        "Indicates the largest number of contiguous bytes
        from the memory pool that are currently unused on
        the managed device."
    ::= { bdcomMemoryPoolEntry 7 }

bdcomMemoryPoolUtilizationTable OBJECT-TYPE
  SYNTAX      SEQUENCE OF BDCOMMemoryPoolUtilizationEntry
  MAX-ACCESS  not-accessible
  STATUS      current
  DESCRIPTION
    "A table of memory pool utilization entries. Each of the
     objects provides a general idea of how much of the memory
     pool has been used over a given period of time. It is
     determined as a weighted decaying average."
  ::= { bdcomMemoryPoolObjects 2 }

bdcomMemoryPoolUtilizationEntry OBJECT-TYPE
  SYNTAX      BDCOMMemoryPoolUtilizationEntry
  MAX-ACCESS  not-accessible
  STATUS      current
  DESCRIPTION
    "An entry in the memory pool utilization table."
  AUGMENTS { bdcomMemoryPoolEntry }
  ::= { bdcomMemoryPoolUtilizationTable 1 }

BDCOMMemoryPoolUtilizationEntry ::=
  SEQUENCE {
    bdcomMemoryPoolUtilization1Min  Percent,
    bdcomMemoryPoolUtilization5Min  Percent,
    bdcomMemoryPoolUtilization10Min Percent
  }

bdcomMemoryPoolUtilization1Min OBJECT-TYPE
    SYNTAX        Percent
    MAX-ACCESS    read-only
    STATUS        current
    DESCRIPTION
        "This is the memory pool utilization for 1 minute."
    ::= { bdcomMemoryPoolUtilizationEntry 1 }

bdcomMemoryPoolUtilization5Min OBJECT-TYPE
    SYNTAX        Percent
    MAX-ACCESS    read-only
    STATUS        current
    DESCRIPTION
        "This is the memory pool utilization for 5 minutes."
    ::= { bdcomMemoryPoolUtilizationEntry 2 }

bdcomMemoryPoolUtilization10Min OBJECT-TYPE
    SYNTAX        Percent
    MAX-ACCESS    read-only
    STATUS        current
    DESCRIPTION
        "This is the memory pool utilization for 10 minutes."
    ::= { bdcomMemoryPoolUtilizationEntry 3 }

-- notifications

bdcomMemoryPoolNotifications
    OBJECT IDENTIFIER ::= { bdcomMemoryPoolMIB 2 }

-- (no notifications are currently defined)


-- conformance information

bdcomMemoryPoolConformance
    OBJECT IDENTIFIER ::= { bdcomMemoryPoolMIB 3 }
bdcomMemoryPoolCompliances
    OBJECT IDENTIFIER ::= { bdcomMemoryPoolConformance 1 }
bdcomMemoryPoolGroups
    OBJECT IDENTIFIER ::= { bdcomMemoryPoolConformance 2 }


-- compliance statements

bdcomMemoryPoolCompliance MODULE-COMPLIANCE
    STATUS    deprecated -- superceded by bdcomMemoryPoolComplianceRev1
    DESCRIPTION
        "The compliance statement for entities which implement
        the BDCOM Memory Pool MIB"
    MODULE    -- this module
        MANDATORY-GROUPS { bdcomMemoryPoolGroup }
    ::= { bdcomMemoryPoolCompliances 1 }

bdcomMemoryPoolComplianceRev1 MODULE-COMPLIANCE
    STATUS        current
    DESCRIPTION
        "The compliance statement for entities which implement
        the BDCOM Memory Pool MIB"
    MODULE    -- this module
        MANDATORY-GROUPS { bdcomMemoryPoolGroup }

        GROUP bdcomMemoryPoolUtilizationGroup
        DESCRIPTION
            "Per memory pool utilization statistics is mandatory for
            the managed system that supports memory pool utilization."
    ::= { bdcomMemoryPoolCompliances 2 }


-- units of conformance

bdcomMemoryPoolGroup OBJECT-GROUP
    OBJECTS {
        bdcomMemoryPoolName,
        bdcomMemoryPoolAlternate,
        bdcomMemoryPoolValid,
        bdcomMemoryPoolUsed,
        bdcomMemoryPoolFree,
        bdcomMemoryPoolLargestFree
    }
    STATUS        current
    DESCRIPTION
        "A collection of objects providing memory pool monitoring."
    ::= { bdcomMemoryPoolGroups 1 }

bdcomMemoryPoolUtilizationGroup OBJECT-GROUP
    OBJECTS {
        bdcomMemoryPoolUtilization1Min,
        bdcomMemoryPoolUtilization5Min,
        bdcomMemoryPoolUtilization10Min
    }
    STATUS        current
    DESCRIPTION
        "An optional group providing a collection of memory pool
        utilization objects."
    ::= { bdcomMemoryPoolGroups 2 }


END