This section of the PowerConnect Java UI deals with configuration settings for the JMX Monitoring plugin.
To configure the JMX Beans select the ones you would like to collect using the Available JMX Beans table (use Shift to select more than one). Each column of the table can be filtered to search and filter for specific JMX Bean names or types.
Once you have selected the JMX Beans you would like to collect use the Shuttle down button to add them to the Enabled JMX Beans table. Then click the Save button to save the configuration.
If you decide you no longer wish to collect a JMX Bean select it in the Enabled JMX Beans table and use the Shuttle up button to remove it from the table. Click the Save button to save the configuration.
The Enabled JMX Beans can also be exported and imported using an XML configuration file.
The schema of the XML file is very simple – as an example:
This example XML configuration file can be imported by clicking the Choose file button, selecting and opening the XML file in the File picker then clicking the Import button.
You will see a Popup Window display the message “Successfully imported JMX Configuration” and the Enabled JMX Beans table should be automatically updated to reflect the newly applied configuration.
|Name||Description||Restart of PowerConnect required?||Default|
|Available JMX Bean||List of all JMX Beans that the PowerConnect Agent has discovered||No||Enables or disables the plugin|
|Enabled JMX Beans||List of all JMX Beans that will be collected by the JMX Monitoring Plugin||No||java.lang:type=OperatingSystem|
Here are some useful MBeans with their fields and associated descriptions
|java.lang:type=OperatingSystem||Arch||System cpu architecture|
|AvailableProcessors||Number of cpu cores|
|FreePhysicalMemorySize||Free physical RAM on the host system|
|CommittedVirtualMemorySize||Used virtual memory|
|FreeSwapSpaceSize||Free swap space|
|MaxFileDescriptorCount||Maximum number of file descriptors available|
|Name||Operating System name|
|OpenFileDescriptorCount||Used file descriptors|
|ProcessCpuLoad||Cpu load of the Java process|
|ProcessCpuTime||Cpu time of the Java proces|
|SystemCpuLoad||Cpu load of the host system|
|SystemLoadAverage||Cpu load average of the host system|
|TotalPhysicalMemorySize||Total physical RAM available on the host system|
|Version||Operating System version|
|java.lang:type=MemoryPool,name=*||Name||Memory Pool Name|
|Usage.init||Memory pool initial size|
|Usage.committed||Memory pool commit size|
|Usage.used||Memory pool used size|
|Usage.max||Memory pool maximum size|
|Type||Type of memory that the pool uses e.g. HEAP or NON_HEAP|
|TotalCompilationTime||The accumulated time the Java process has spent doing JIT compilation (milliseconds)|
|java.lang:type=GarbageCollector,name=*||Name||Type of Garbage Collector configured e.g. Concurrent Mark Sweep|
|CollectionCount||Number of times the Garbage Collector has run since the Java process was started|
|CollectionTime||The accumulated time the Garbage Collector has run|
|LastGCInfo.GcThreadCount||Number of threads used to run the Garbage Collector|
|LastGCInfo.duration||How long the last Garbage Collector run took|
|LastGCInfo.startTime||Milliseconds since Java process was launched|
|LastGCInfo.endTime||Milliseconds since Java process was launched|
|LastGCInfo.memoryUsageBeforeGc||Information about the committed, initial, max and used memory before the Garbage Collection event|
|LastGCInfo.memoryUsageAfterGc||Information about the committed, initial, max and used memory after the Garbage Collection event|
|java.lang:type=Runtime||Name||Process ID of the Java Process|
|BootClassPath||Boot Classpath of the Java process|
|ClassPath||Classpath of the Java process|
|InputArguments||Array of arguments with which the Java process was started|
|StartTime||Time in Epoch format the Java process was started|
|Uptime||The number of milliseconds the Java process has been running|
|SystemProperties||Array of system properties with which the Java process was started|
|java.lang:type=Threading||DaemonThreadCount||Number of daemon threads running|
|ThreadCount||Number of threads running currently|
|PeakThreadCount||Maximum number of threads running since the Java Process was started|
|TotalStartedThreadCount||Total number of threads started since the Java Process was started|