-
-
Notifications
You must be signed in to change notification settings - Fork 113
Expand file tree
/
Copy pathJVM-MANAGEMENT-MIB.mib
More file actions
3246 lines (2821 loc) · 108 KB
/
JVM-MANAGEMENT-MIB.mib
File metadata and controls
3246 lines (2821 loc) · 108 KB
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
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
469
470
471
472
473
474
475
476
477
478
479
480
481
482
483
484
485
486
487
488
489
490
491
492
493
494
495
496
497
498
499
500
501
502
503
504
505
506
507
508
509
510
511
512
513
514
515
516
517
518
519
520
521
522
523
524
525
526
527
528
529
530
531
532
533
534
535
536
537
538
539
540
541
542
543
544
545
546
547
548
549
550
551
552
553
554
555
556
557
558
559
560
561
562
563
564
565
566
567
568
569
570
571
572
573
574
575
576
577
578
579
580
581
582
583
584
585
586
587
588
589
590
591
592
593
594
595
596
597
598
599
600
601
602
603
604
605
606
607
608
609
610
611
612
613
614
615
616
617
618
619
620
621
622
623
624
625
626
627
628
629
630
631
632
633
634
635
636
637
638
639
640
641
642
643
644
645
646
647
648
649
650
651
652
653
654
655
656
657
658
659
660
661
662
663
664
665
666
667
668
669
670
671
672
673
674
675
676
677
678
679
680
681
682
683
684
685
686
687
688
689
690
691
692
693
694
695
696
697
698
699
700
701
702
703
704
705
706
707
708
709
710
711
712
713
714
715
716
717
718
719
720
721
722
723
724
725
726
727
728
729
730
731
732
733
734
735
736
737
738
739
740
741
742
743
744
745
746
747
748
749
750
751
752
753
754
755
756
757
758
759
760
761
762
763
764
765
766
767
768
769
770
771
772
773
774
775
776
777
778
779
780
781
782
783
784
785
786
787
788
789
790
791
792
793
794
795
796
797
798
799
800
801
802
803
804
805
806
807
808
809
810
811
812
813
814
815
816
817
818
819
820
821
822
823
824
825
826
827
828
829
830
831
832
833
834
835
836
837
838
839
840
841
842
843
844
845
846
847
848
849
850
851
852
853
854
855
856
857
858
859
860
861
862
863
864
865
866
867
868
869
870
871
872
873
874
875
876
877
878
879
880
881
882
883
884
885
886
887
888
889
890
891
892
893
894
895
896
897
898
899
900
901
902
903
904
905
906
907
908
909
910
911
912
913
914
915
916
917
918
919
920
921
922
923
924
925
926
927
928
929
930
931
932
933
934
935
936
937
938
939
940
941
942
943
944
945
946
947
948
949
950
951
952
953
954
955
956
957
958
959
960
961
962
963
964
965
966
967
968
969
970
971
972
973
974
975
976
977
978
979
980
981
982
983
984
985
986
987
988
989
990
991
992
993
994
995
996
997
998
999
1000
--
-- @(#)JVM-MANAGEMENT-MIB.mib 1.32 04/07/16
--
-- Copyright 2004 Sun Microsystems, Inc. All rights reserved.
-- This software is the proprietary information of Sun Microsystems, Inc.
-- Use is subject to license terms.
--
-- The JVM-MANAGEMENT-MIB Module
--
-- See jvmManagementMIB MODULE-IDENTITY for a description overview.
-- See conformance statements for mandatory objects
--
JVM-MANAGEMENT-MIB DEFINITIONS ::= BEGIN
IMPORTS
MODULE-IDENTITY, OBJECT-TYPE, NOTIFICATION-TYPE, Counter32, Gauge32,
Integer32, Counter64, enterprises
FROM SNMPv2-SMI
DisplayString, TEXTUAL-CONVENTION, RowPointer
FROM SNMPv2-TC
MODULE-COMPLIANCE, OBJECT-GROUP, NOTIFICATION-GROUP
FROM SNMPv2-CONF;
-- Module Identity
------------------
jvmMgtMIB MODULE-IDENTITY
LAST-UPDATED "200403041800Z"
-- Format is "YYYYMMDDhhmmZ"
ORGANIZATION "Sun Microsystems, Inc."
CONTACT-INFO "Sun Microsystems, Inc.
4150 Network Circle
Santa Clara, CA 95054
1-800-555-9SUN or
1-650-960-1300
http://www.sun.com
or contact your local support representative"
DESCRIPTION
"Copyright 2004 Sun Microsystems, Inc. All rights reserved.
This module defines the MIB that provides access to the
Java[tm] Virtual Machine monitoring data.
This module is derived from the Java[tm] programming language APIs
described in the java.lang.management package of
Java[tm] 2, Standard Edition, 5.0.
See the Java programming language APIs of JSR 163 for
'Monitoring and Management of the Java[TM] Virtual Machine'
for more details.
Where the Java programming language API uses long, or int,
the MIB often uses the corresponding unsigned quantity -
which is closer to the object semantics.
In those cases, it often happens that the -1 value that might
be used by the API to indicate an unknown/unimplemented
value cannot be used. Instead the MIB uses the value 0, which
stricly speaking cannot be distinguished from a valid value.
In many cases however, a running system will have non-zero
values, so using 0 instead of -1 to indicate an unknown
quantity does not lose any functionality.
"
REVISION "200403041800Z"
-- Format is "YYYYMMDDhhmmZ"
DESCRIPTION
"
JVM-MANAGEMENT-MIB - JSR 163 Final Release 1.0
"
::= { standard jsr163(163) 1 }
-- Enterprise OIDs
------------------
-- internet OBJECT IDENTIFIER ::= { iso(1) org(3) dod(6) 1 }
-- private OBJECT IDENTIFIER ::= { internet 4 }
-- enterprises OBJECT IDENTIFIER ::= { private 1 }
sun OBJECT IDENTIFIER ::= { enterprises 42 }
jmgt OBJECT IDENTIFIER ::= { sun products(2) 145 }
-- experimental OBJECT IDENTIFIER ::= { jmgt 1 }
standard OBJECT IDENTIFIER ::= { jmgt 3 }
----------------------------------------------------------------------------
-- Textual Conventions
----------------------
--
-- Note: Some of the TEXTUAL-CONVENTIONs defined in this module are
-- OCTET STRING with a 1023 size limitation (SIZE(0..1023)).
--
-- As per RFC2578, section 7.1.2. OCTET STRING:
--
-- "The OCTET STRING type represents arbitrary binary or textual data.
-- Although the SMI-specified size limitation for this type is 65535
-- octets, MIB designers should realize that there may be
-- implementation and interoperability limitations for sizes in
-- excess of 255 octets."
--
-- As a consequence an agent implementing this MIB may decide to
-- restrict this maximum size to a lesser value than 1023, provided that
-- it makes it clear in an AGENT-CAPABILITY statement.
--
----------------------------------------------------------------------------
JvmUnsigned64TC ::= TEXTUAL-CONVENTION
STATUS current
DESCRIPTION
"A non-negative 64-bit bit integer, without counter
semantics."
-- We have cloned the Unsigned64TC defined in RFC 2564 rather
-- than importing it because the JVM-MANAGEMENT-MIB and the
-- APPLICATION-MIB are not related.
--
REFERENCE "RFC 2564 - APPLICATION-MIB, Unsigned64TC."
SYNTAX Counter64
JvmJavaObjectNameTC ::= TEXTUAL-CONVENTION
DISPLAY-HINT "255a"
STATUS current
DESCRIPTION
"An Object Name, as implemented by the java.lang.management API,
which identify a runtime Object (e.g. a Class Loader, a
Memory Manager, etc...).
The name is assumed to be unique in the scope of the object's
class.
This object syntax is equivalent to a DisplayString, but with a
a 1023 bytes size limits (instead of 255 for a DisplayString).
Note that the SNMP agent may have to truncate the string returned
by the underlying API if it does not fit in this type.
(1023 bytes max).
"
SYNTAX OCTET STRING (SIZE (0..1023))
JvmPathElementTC ::= TEXTUAL-CONVENTION
DISPLAY-HINT "255a"
STATUS current
DESCRIPTION
"A file or directory element in a PATH/CLASSPATH/LIBRARY_PATH
structure.
This object syntax is equivalent to a DisplayString, but with a
a 1023 bytes size limits (instead of 255 for a DisplayString).
Note that the SNMP agent may have to truncate the string returned
by the underlying API if it does not fit in this type.
(1023 bytes max).
"
SYNTAX OCTET STRING (SIZE (0..1023))
JvmArgValueTC ::= TEXTUAL-CONVENTION
DISPLAY-HINT "255a"
STATUS current
DESCRIPTION
"A string representing an input argument.
This object syntax is equivalent to a DisplayString, but with a
a 1023 bytes size limits (instead of 255 for a DisplayString).
Note that the SNMP agent may have to truncate the string returned
by the underlying API if it does not fit in this type.
(1023 bytes max).
"
SYNTAX OCTET STRING (SIZE (0..1023))
JvmVerboseLevelTC ::= TEXTUAL-CONVENTION
STATUS current
DESCRIPTION
"Defines whether the verbose flag for a feature is active.
verbose: the flag is on.
silent: the flag is off.
"
SYNTAX INTEGER { silent(1), verbose(2) }
JvmImplSupportStateTC ::= TEXTUAL-CONVENTION
STATUS current
DESCRIPTION
"Defines whether a feature is supported or not.
"
SYNTAX INTEGER { unsupported(1), supported(2) }
JvmImplOptFeatureStateTC ::= TEXTUAL-CONVENTION
STATUS current
DESCRIPTION
"Defines whether an optional feature is supported, enabled,
or disabled.
An optional feature can be:
unsupported: The JVM does not support this feature.
enabled : The JVM supports this feature, and it
is enabled.
disabled : The JVM supports this feature, and it
is disabled.
Only enabled(3) and disabled(4) may be supplied as values to a
SET request. unsupported(1) can only be set internally by the
agent.
"
SYNTAX INTEGER { unsupported(1), enabled(3), disabled(4) }
JvmTimeMillis64TC ::= TEXTUAL-CONVENTION
STATUS current
DESCRIPTION
"An elapsed time, expressed in milli-seconds.
This type is based on Counter64, but without its specific
semantics.
"
SYNTAX Counter64
JvmTimeNanos64TC ::= TEXTUAL-CONVENTION
STATUS current
DESCRIPTION
"An elapsed time, expressed in nano-seconds.
This type is based on Counter64, but without its specific
semantics.
"
SYNTAX Counter64
JvmPositive32TC ::= TEXTUAL-CONVENTION
STATUS current
DESCRIPTION
"A positive Integer32. In Java that would be a number
in [0..Integer.MAX_VALUE].
"
-- We use Integer32 (0..2147483647) rather than Unsigned32 because
-- Unsigned32 (0..2147483647) because Unsigned32 is based on
-- Gauge32 - which has a specific ASN.1 tag and a specific semantics.
-- In principle you cannot use a Gauge32 as base type for an index
-- in a table.
-- Note also that Unsigned32 is (0..2^32-1)
-- while Positive32 is (0..2^31-1)
--
SYNTAX Integer32 (0..2147483647)
JvmManagedMemoryTypeTC ::= TEXTUAL-CONVENTION
STATUS current
DESCRIPTION
"
Defines the type of memory contained in a memory pool.
The pool may contain, heap memory or non-heap memory.
"
SYNTAX INTEGER { nonheap(1), heap(2) }
JvmValidityStateTC ::= TEXTUAL-CONVENTION
STATUS current
DESCRIPTION
"
Defines whether an object is still valid.
"
SYNTAX INTEGER { invalid(1), valid(2) }
JvmThreadStateTC ::= TEXTUAL-CONVENTION
STATUS current
DESCRIPTION
"Defines the possible states of a thread running in the
Java virtual machine. They are virtual machine thread states
and do not reflect any operating system thread states.
The first two bits: inNative(1) and suspended(2) can be
combined together and with any other bits. The remaining
bits 3-9, are mutually exclusive. Bits 10-16 are reserved
for future evolution of this MIB.
An agent MUST always return a thread state with one of the
bits in the range 3-9 set to 1. The other(9) bit should only
be set to 1 if new thread states which are mutally exclusive
with bits 3-8 are defined. An implementation can define
additional implementation dependant states and uses bits
from bit 17.
See java.lang.Thread.State,
java.lang.management.ThreadInfo.
"
--
-- Take care that in SNMP bits are numbered starting at 1, from
-- left to right (1 is the highest bit). A bitmap defined by the
-- BITS construct is thus a byte array where bit 1 is the highest bit
-- of the first byte.
--
SYNTAX BITS { -- Bits 1-2 may be specified in any combination
inNative(1),
suspended(2),
-- Bits 3-9 are mutually exclusive. Attempting to
-- set more than a single bit to 1 will result in
-- a returned error-status of inconsistentValue.
newThread(3),
runnable(4),
blocked(5),
terminated(6),
waiting(7),
timedWaiting(8),
other(9)
-- Bits 10-16 are reserved for future use by
-- this MIB
}
JvmIndex64TC ::= TEXTUAL-CONVENTION
STATUS current
DESCRIPTION
"A 64 bits string mapping an unsigned 64 bits integer value
in big-endian ordering (i.e: 1 is encoded as 0x0000000000000001).
This type can be used when an unsigned 64 bits integer needs
to be used inside a table index.
"
SYNTAX OCTET STRING (SIZE(8))
-- OBJECT-TYPE OID tree
-----------------------
jvmMgtMIBObjects
OBJECT IDENTIFIER ::= { jvmMgtMIB 1 }
jvmMgtMIBNotifications
OBJECT IDENTIFIER ::= { jvmMgtMIB 2 }
jvmMgtMIBConformance
OBJECT IDENTIFIER ::= { jvmMgtMIB 3 }
-----------------------------------------------------------------------
--
-- The JVM Class Loading group
--
-- A collection of objects used to monitor Class Loading in the
-- Java Virtual Machine. These objects define the SNMP management
-- interface for the class loading system of the Java virtual machine.
--
-- This group only contains a few scalar object and no tables. The objects
-- from this group are mapped from the java.lang.management.ClassLoadingMXBean
-- interface.
--
-- See J2SE 5.0 API Specification,
-- java.lang.management.ClassLoadingMXBean
-----------------------------------------------------------------------
-- Root OBJECT IDENTIFIER for ClassLoading group.
--
jvmClassLoading OBJECT IDENTIFIER ::= { jvmMgtMIBObjects 1 }
-- The following objects are mapped from the ClassLoadingMXBean interface.
-----------------------------------------------------------------------
jvmClassesLoadedCount OBJECT-TYPE
SYNTAX Gauge32
MAX-ACCESS read-only
STATUS current
DESCRIPTION
"The number of classes currently loaded in the JVM.
See java.lang.management.ClassLoadingMXBean.getLoadedClassCount()
"
REFERENCE "J2SE 5.0 API Specification,
java.lang.management.ClassLoadingMXBean"
::= { jvmClassLoading 1 }
jvmClassesTotalLoadedCount OBJECT-TYPE
SYNTAX Counter64
MAX-ACCESS read-only
STATUS current
DESCRIPTION
"The total number of classes that have been loaded since
the JVM has started execution.
See java.lang.management.ClassLoadingMXBean.
getTotalLoadedClassCount()
"
REFERENCE "J2SE 5.0 API Specification,
java.lang.management.ClassLoadingMXBean"
::= { jvmClassLoading 2 }
jvmClassesUnloadedCount OBJECT-TYPE
SYNTAX Counter64
MAX-ACCESS read-only
STATUS current
DESCRIPTION
"The total number of classes that have been unloaded since
the JVM has started execution.
See java.lang.management.ClassLoadingMXBean.getUnloadedClassCount()
"
REFERENCE "J2SE 5.0 API Specification,
java.lang.management.ClassLoadingMXBean"
::= { jvmClassLoading 3 }
jvmClassesVerboseLevel OBJECT-TYPE
SYNTAX JvmVerboseLevelTC
MAX-ACCESS read-write
STATUS current
DESCRIPTION
"Enables or disables the verbose output for the class loading
system. The verbose output information and the output stream
to which the verbose information is emitted are implementation
dependent. Typically, a Java virtual machine implementation
prints a message each time a class file is loaded.
verbose: if the verbose output is enabled.
silent: otherwise.
See java.lang.management.ClassLoadingMXBean.isVerbose(),
java.lang.management.ClassLoadingMXBean.setVerbose()
"
REFERENCE "J2SE 5.0 API Specification,
java.lang.management.ClassLoadingMXBean"
DEFVAL { silent }
::= { jvmClassLoading 4 }
-----------------------------------------------------------------------
--
-- The JVM Memory group
--
-- A collection of objects used to monitor memory management in the
-- Java Virtual Machine. These objects define management interface for
-- the memory system of the Java virtual machine.
--
-- Memory:
--
-- The memory system of the Java virtual machine manages the following
-- kinds of memory: heap, and non-heap. More information on these types
-- of memory can be obtained from the J2SE 5.0 API Specification,
-- java.lang.management.MemoryMXBean.
--
-- Memory Pools and Memory Managers:
--
-- Memory pools and memory managers are the abstract entities that monitor
-- and manage the memory system of the Java virtual machine.
--
-- Memory managers are represented by the jvmMemManagerTable, which contains
-- one row per Memory manager.
-- The garbage collector is one type of memory manager responsible for
-- reclaiming memory occupied by unreachable objects.
-- The jvmMemGCTable is an extension of the jvmMemManagerTable, which contains
-- the attribute specific to garbage collectors. A garbage collector entity
-- is thus represented by one row in the jvmMemManagerTable, and one
-- extension row in the jvmMemGCTable.
--
-- Memory Pools are represented by the jvmMemPoolTable, which contains one
-- row per memory pool. A Java virtual machine may create or remove
-- memory pools during execution. A memory pool can belong to either the
-- heap or the non-heap memory.
--
-- A memory manager is responsible for managing one or more memory pools.
-- A memory pool can be managed by more than one memory manager.
-- The jvmMemMgrRelPoolTable represents this managing/managed relationship.
--
-- A Java virtual machine may add or remove memory managers during execution.
--
-- See J2SE 5.0 API Specification, java.lang.management.MemoryMXBean for
-- more information on memory types, memory managers, memory pools,
-- and the memory subsystem.
--
-----------------------------------------------------------------------
-- Root OBJECT IDENTIFIER for the JVM Memory group.
--
jvmMemory OBJECT IDENTIFIER ::= { jvmMgtMIBObjects 2 }
-- The following objects are mapped from the MemoryMXBean interface.
-----------------------------------------------------------------------
jvmMemoryPendingFinalCount OBJECT-TYPE
SYNTAX Gauge32
MAX-ACCESS read-only
STATUS current
DESCRIPTION
"The approximate number objects that are pending for finalization.
See java.lang.management.MemoryMXBean.
getObjectPendingFinalizationCount()
"
REFERENCE "J2SE 5.0 API Specification,
java.lang.management.MemoryMXBean"
::= { jvmMemory 1 }
jvmMemoryGCVerboseLevel OBJECT-TYPE
SYNTAX JvmVerboseLevelTC
MAX-ACCESS read-write
STATUS current
DESCRIPTION
"Enables or disables verbose output for the memory system.
The verbose output information and the output stream to which
the verbose information is emitted are implementation dependent.
Typically, a Java virtual machine implementation prints a
message whenever it frees memory at garbage collection.
verbose: if the verbose output is enabled,
silent: otherwise.
See java.lang.management.MemoryMXBean.isVerbose(),
java.lang.management.MemoryMXBean.setVerbose()
"
REFERENCE "J2SE 5.0 API Specification,
java.lang.management.MemoryMXBean"
::= { jvmMemory 2 }
jvmMemoryGCCall OBJECT-TYPE
SYNTAX INTEGER { unsupported(1), supported(2), start(3),
started(4), failed(5) }
MAX-ACCESS read-write
STATUS current
DESCRIPTION
"This object makes it possible to remotelly trigger the
Garbage Collector in the JVM.
This object's syntax is an enumeration which defines:
* Two state values, that can be returned from a GET request:
unsupported(1): means that remote invocation of gc() is not
supported by the SNMP agent.
supported(2) : means that remote invocation of gc() is supported
by the SNMP agent.
* One action value, that can be provided in a SET request to
trigger the garbage collector:
start(3) : means that a manager wishes to trigger
garbage collection.
* Two result value, that will be returned in the response to a
SET request when remote invocation of gc is supported
by the SNMP agent:
started(4) : means that garbage collection was
successfully triggered. It does not mean
however that the action was successfullly
completed: gc might still be running when
this value is returned.
failed(5) : means that garbage collection couldn't be
triggered.
* If remote invocation is not supported by the SNMP agent, then
unsupported(1) will always be returned as a result of either
a GET request, or a SET request with start(3) as input value.
* If a SET request with anything but start(3) is received, then
the agent will return a wrongValue error.
See java.lang.management.MemoryMXBean.gc()
"
REFERENCE "J2SE 5.0 API Specification,
java.lang.management.MemoryMXBean"
::= { jvmMemory 3 }
-- The object identifiers in the range jvmMemory.[4-9] are reserved for future
-- evolution of this MIB.
--
-- We use the range jvmMemory.[10..19] for objects related to global JVM
-- heap memory usage, as returned by
-- java.lang.management.MemoryMXBean.getHeapMemoryUsage().
-- Object identifiers in the range jvmMemory.[14..19] are not used but
-- reserved for future evolution of this MIB.
--
jvmMemoryHeapInitSize OBJECT-TYPE
SYNTAX JvmUnsigned64TC
UNITS "bytes"
MAX-ACCESS read-only
STATUS current
DESCRIPTION
"
Total amount of memory (in bytes) that the Java virtual machine
initially requests from the operating system for memory management
for heap memory pools.
See java.lang.management.MemoryMXBean.getHeapMemoryUsage().getInit()
"
REFERENCE "J2SE 5.0 API Specification,
java.lang.management.MemoryMXBean,
java.lang.management.MemoryUsage"
::= { jvmMemory 10 }
jvmMemoryHeapUsed OBJECT-TYPE
SYNTAX JvmUnsigned64TC
UNITS "bytes"
MAX-ACCESS read-only
STATUS current
DESCRIPTION
"
Total amount of used memory (in bytes) from heap memory pools.
See java.lang.management.MemoryMXBean.getHeapMemoryUsage().getUsed()
"
REFERENCE "J2SE 5.0 API Specification,
java.lang.management.MemoryMXBean,
java.lang.management.MemoryUsage"
::= { jvmMemory 11 }
jvmMemoryHeapCommitted OBJECT-TYPE
SYNTAX JvmUnsigned64TC
UNITS "bytes"
MAX-ACCESS read-only
STATUS current
DESCRIPTION
"
Total amount of memory (in bytes) committed by heap memory pools.
See java.lang.management.MemoryMXBean.getHeapMemoryUsage().
getCommitted()
"
REFERENCE "J2SE 5.0 API Specification,
java.lang.management.MemoryMXBean,
java.lang.management.MemoryUsage"
::= { jvmMemory 12 }
jvmMemoryHeapMaxSize OBJECT-TYPE
SYNTAX JvmUnsigned64TC
UNITS "bytes"
MAX-ACCESS read-only
STATUS current
DESCRIPTION
"
Total maximum size of memory (in bytes) for all heap memory pools.
See java.lang.management.MemoryMXBean.getHeapMemoryUsage().getMax()
"
REFERENCE "J2SE 5.0 API Specification,
java.lang.management.MemoryMXBean,
java.lang.management.MemoryUsage"
::= { jvmMemory 13 }
-- We use the range jvmMemory.[20..29] for objects related to global JVM
-- heap memory usage, as returned by
-- lang.management.MemoryMXBean.getNonHeapMemoryUsage().
-- Object identifiers in the range jvmMemory.[24..29] are not used but are
-- reserved for future evolution of this MIB.
--
jvmMemoryNonHeapInitSize OBJECT-TYPE
SYNTAX JvmUnsigned64TC
UNITS "bytes"
MAX-ACCESS read-only
STATUS current
DESCRIPTION
"
Total amount of memory (in bytes) that the Java virtual machine
initially requests from the operating system for memory management
for non heap memory pools.
See java.lang.management.MemoryMXBean.getNonHeapMemoryUsage().getInit()
"
REFERENCE "J2SE 5.0 API Specification,
java.lang.management.MemoryMXBean,
java.lang.management.MemoryUsage"
::= { jvmMemory 20 }
jvmMemoryNonHeapUsed OBJECT-TYPE
SYNTAX JvmUnsigned64TC
UNITS "bytes"
MAX-ACCESS read-only
STATUS current
DESCRIPTION
"
Total amount of used memory (in bytes) from non heap memory pools.
See java.lang.management.MemoryMXBean.getNonHeapMemoryUsage().getUsed()
"
REFERENCE "J2SE 5.0 API Specification,
java.lang.management.MemoryMXBean,
java.lang.management.MemoryUsage"
::= { jvmMemory 21 }
jvmMemoryNonHeapCommitted OBJECT-TYPE
SYNTAX JvmUnsigned64TC
UNITS "bytes"
MAX-ACCESS read-only
STATUS current
DESCRIPTION
"
Total amount of memory (in bytes) committed by non heap memory pools.
See java.lang.management.MemoryMXBean.
getNonHeapMemoryUsage().getCommitted()
"
REFERENCE "J2SE 5.0 API Specification,
java.lang.management.MemoryMXBean,
java.lang.management.MemoryUsage"
::= { jvmMemory 22 }
jvmMemoryNonHeapMaxSize OBJECT-TYPE
SYNTAX JvmUnsigned64TC
UNITS "bytes"
MAX-ACCESS read-only
STATUS current
DESCRIPTION
"
Total maximum size of memory (in bytes) for all non heap memory pools.
See java.lang.management.MemoryMXBean.getNonHeapMemoryUsage().getMax()
"
REFERENCE "J2SE 5.0 API Specification,
java.lang.management.MemoryMXBean,
java.lang.management.MemoryUsage"
::= { jvmMemory 23 }
-- The object identifiers in the range jvmMemory.[30-99] are not used but are
-- reserved for future evolution of this MIB.
--
-- The JVM Memory Manager Table
--
-- The jvmMemManagerTable represent memory manager abstract entities.
-- The jvmMemManagerTable contains one row per memory manager. In
-- addition, those memory managers which are also garbage collectors have
-- an extension row in the jvmMemGCTable.
--
-- See J2SE 5.0 API Specification, java.lang.management.MemoryMXBean for
-- a detailed description of the memory subsystem.
--
-- See J2SE 5.0 API Specification, java.lang.management.MemoryManagerMXBean
-- for more information on memory managers.
--
-----------------------------------------------------------------------
--
-- We use the range jvmMemory.[100..109] for objects related to memory
-- managers.
-- Object identifiers in the range jvmMemory.[102-109] are not used
-- but are reserved for future evolution of this MIB.
--
jvmMemManagerTable OBJECT-TYPE
SYNTAX SEQUENCE OF JvmMemManagerEntry
MAX-ACCESS not-accessible
STATUS current
DESCRIPTION
"The Memory Manager Table contains the whole list of Memory
Managers as returned by ManagementFactory.getMemoryManagerMXBeans().
When a MemoryManagerMXBean object is an instance of
GarbageCollectorMXBean, then additional information specific to
the GarbageCollectorMXBean class will be found in the
jvmGCTable, at the same index.
Relationships between MemoryManagers and MemoryPools are shown
by the Memory Manager-Pool Relation table (jvmMemMgrPoolRelTable).
"
REFERENCE "J2SE 5.0 API Specification,
java.lang.management.MemoryManagerMXBean"
::= { jvmMemory 100 }
jvmMemManagerEntry OBJECT-TYPE
SYNTAX JvmMemManagerEntry
MAX-ACCESS not-accessible
STATUS current
DESCRIPTION
"A jvmMemManagerEntry conceptual row represent an instance of the
java.lang.management.MemoryManagerMXBean interface. If that instance
is also an instance of java.lang.management.GarbageCollectorMXBean,
then additional information will be found in the jvmGCTable, at the
same index.
Columnar objects in this table are mapped from attributes of
the MemoryManagerMXBean interface.
See java.lang.management.MemoryManagerMXBean
"
REFERENCE "J2SE 5.0 API Specification,
java.lang.management.MemoryManagerMXBean"
INDEX { jvmMemManagerIndex }
::= { jvmMemManagerTable 1 }
JvmMemManagerEntry ::= SEQUENCE {
jvmMemManagerIndex JvmPositive32TC,
jvmMemManagerName JvmJavaObjectNameTC,
jvmMemManagerState JvmValidityStateTC
}
jvmMemManagerIndex OBJECT-TYPE
SYNTAX JvmPositive32TC
MAX-ACCESS not-accessible
STATUS current
DESCRIPTION
"An index opaquely computed by the agent and which uniquely
identifies a Memory Manager.
The jvmMemManagerIndex index is opaquely computed by the agent,
from e.g the hash code of the MemoryManager (or MemoryManager name).
The agent is responsible for allocating a free index when it needs
one (e.g. if two objects have the same hash, then it may increment
one of the values until the conflict is resolved). As a result a
manager must not depend on the value of that index across,
e.g. reboot of the agent, as this value is not guaranteed to
stay identical after the agent restarts.
"
REFERENCE "J2SE 5.0 API Specification,
java.lang.management.MemoryManagerMXBean"
::= { jvmMemManagerEntry 1 }
jvmMemManagerName OBJECT-TYPE
SYNTAX JvmJavaObjectNameTC
MAX-ACCESS read-only
STATUS current
DESCRIPTION
"The name of this memory manager, as returned by
MemoryManagerMXBean.getName().
See java.mangement.MemoryManagerMXBean.getName().
"
REFERENCE "J2SE 5.0 API Specification,
java.lang.management.MemoryManagerMXBean"
::= { jvmMemManagerEntry 2 }
jvmMemManagerState OBJECT-TYPE
SYNTAX JvmValidityStateTC
MAX-ACCESS read-only
STATUS current
DESCRIPTION
"
Indicates whether this memory manager is valid in the Java
virtual machine. A memory manager becomes invalid once the
Java virtual machine removes it from the memory system.
See java.lang.management.MemoryManagerMXBean.isValid()
"
REFERENCE "J2SE 5.0 API Specification,
java.lang.management.MemoryManagerMXBean"
::= { jvmMemManagerEntry 3 }
-- The JVM Garbage Collector Table
--
-- The jvmMemGCTable is an extension of the jvmMemManagerTable.
-- It represents garbage collector abstract entities. A garbage collector
-- is a memory manager responsible for reclaiming memory occupied by
-- unreachable objects.
--
-- A garbage collector is thus represented by one row in the
-- jvmMemManagerTable, plus an extension row in the jvmMemGCTable.
-- The extension row in the jvmMemGCTable contains those attributes which
-- are specific to garbage collectors.
--
-- See J2SE 5.0 API Specification, java.lang.management.MemoryMXBean for
-- a detailed description of the memory subsystem.
--
-- See J2SE 5.0 API Specification, java.lang.management.MemoryManagerMXBean
-- for more information on memory managers, and
-- java.lang.management.GarbageCollectorMXBean for more information on
-- garbage collectors.
--
-----------------------------------------------------------------------
jvmMemGCTable OBJECT-TYPE
SYNTAX SEQUENCE OF JvmMemGCEntry
MAX-ACCESS not-accessible
STATUS current
DESCRIPTION
"The Garbage Collector table provides additional information
on those MemoryManagers which are also GarbageCollectors.
This table extends the jvmMemManagerTable table. The index
used in the jvmMemGCTable table is imported from the
jvmMemManagerTable table. If a row from the jvmMemManagerTable
table is deleted, and if it has an extension in the jvmMemGCTable
table, then the extension row will also be deleted.
"
REFERENCE "J2SE 5.0 API Specification,
java.lang.management.GarbageCollectorMXBean"
::= { jvmMemory 101 }
jvmMemGCEntry OBJECT-TYPE
SYNTAX JvmMemGCEntry
MAX-ACCESS not-accessible
STATUS current
DESCRIPTION
"Provide additional information on Garbage Collectors.
Columnar objects in this table are mapped from the
GarbageCollectorMXBean interface.
See java.lang.management.GarbageCollectorMXBean
"
REFERENCE "J2SE 5.0 API Specification,
java.lang.management.GarbageCollectorMXBean"
INDEX { jvmMemManagerIndex }
::= {jvmMemGCTable 1 }
JvmMemGCEntry ::= SEQUENCE {
jvmMemGCCount Counter64,
jvmMemGCTimeMs JvmTimeMillis64TC
}
jvmMemGCCount OBJECT-TYPE
SYNTAX Counter64
MAX-ACCESS read-only
STATUS current
DESCRIPTION
"The total number of collections that have occurred,
as returned by GarbageCollectorMXBean.getCollectionCount().
If garbage collection statistics are not available, this
object is set to 0.
See java.lang.management.GarbageCollectorMXBean.getCollectionCount()
"
REFERENCE "J2SE 5.0 API Specification,
java.lang.management.GarbageCollectorMXBean"
::= { jvmMemGCEntry 2 }
jvmMemGCTimeMs OBJECT-TYPE
SYNTAX JvmTimeMillis64TC
UNITS "milliseconds"
MAX-ACCESS read-only
STATUS current
DESCRIPTION
"The approximate accumulated collection elapsed time in
milliseconds, since the Java virtual machine has started.
This object is set to 0 if the collection elapsed time is
undefined for this collector.
See java.lang.management.GarbageCollectorMXBean.getCollectionTime()
"
REFERENCE "J2SE 5.0 API Specification,
java.lang.management.GarbageCollectorMXBean"
DEFVAL { 0 }
::= { jvmMemGCEntry 3 }
-- The JVM Memory Pool Table
--
-- The jvmMemPoolTable represent memory pool abstract entities.
-- The jvmMemPoolTable contains one row per memory pool.
--
-- See J2SE 5.0 API Specification, java.lang.management.MemoryMXBean for
-- a detailed description of the memory subsystem.
--
-- See J2SE 5.0 API Specification, java.lang.management.MemoryPoolMXBean
-- for more information on memory pool.
--
-----------------------------------------------------------------------
--
-- We use the range jvmMemory.[110..119] for objects related to memory pools.
-- Object identifiers in the range jvmMemory.[111-119] are not used but
-- are reserved for future evolution of this MIB.
--
jvmMemPoolTable OBJECT-TYPE
SYNTAX SEQUENCE OF JvmMemPoolEntry
MAX-ACCESS not-accessible
STATUS current
DESCRIPTION
"The Memory Pool Table contains the whole list of MemoryPools
as returned by ManagementFactory.getMemoryPoolMXBeans().
"
REFERENCE "J2SE 5.0 API Specification,
java.lang.management.MemoryPoolMXBean"
::= { jvmMemory 110 }
jvmMemPoolEntry OBJECT-TYPE
SYNTAX JvmMemPoolEntry
MAX-ACCESS not-accessible
STATUS current
DESCRIPTION
"
Represents a memory pool. The pool may contain heap memory or
non-heap memory. A row in this table represents
an instance of MemoryPoolMXBean.
See java.lang.management.MemoryPoolMXBean
"
REFERENCE "J2SE 5.0 API Specification,
java.lang.management.MemoryPoolMXBean"
INDEX { jvmMemPoolIndex }
::= { jvmMemPoolTable 1 }
JvmMemPoolEntry ::= SEQUENCE {
jvmMemPoolIndex JvmPositive32TC,
jvmMemPoolName JvmJavaObjectNameTC,
jvmMemPoolType JvmManagedMemoryTypeTC,
jvmMemPoolState JvmValidityStateTC,
jvmMemPoolPeakReset JvmTimeMillis64TC,
jvmMemPoolInitSize JvmUnsigned64TC,
jvmMemPoolUsed JvmUnsigned64TC,
jvmMemPoolCommitted JvmUnsigned64TC,
jvmMemPoolMaxSize JvmUnsigned64TC,
jvmMemPoolPeakUsed JvmUnsigned64TC,
jvmMemPoolPeakCommitted JvmUnsigned64TC,
jvmMemPoolPeakMaxSize JvmUnsigned64TC,
jvmMemPoolCollectUsed JvmUnsigned64TC,
jvmMemPoolCollectCommitted JvmUnsigned64TC,
jvmMemPoolCollectMaxSize JvmUnsigned64TC,
jvmMemPoolThreshold JvmUnsigned64TC,
jvmMemPoolThreshdCount Counter64,
jvmMemPoolThreshdSupport JvmImplSupportStateTC,
jvmMemPoolCollectThreshold JvmUnsigned64TC,
jvmMemPoolCollectThreshdCount Counter64,
jvmMemPoolCollectThreshdSupport JvmImplSupportStateTC
}
jvmMemPoolIndex OBJECT-TYPE
SYNTAX JvmPositive32TC
MAX-ACCESS not-accessible
STATUS current