Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/zabbix/zabbix.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorVyacheslav Khaliev <vyacheslav.khaliev@zabbix.com>2022-02-24 18:09:21 +0300
committerVyacheslav Khaliev <vyacheslav.khaliev@zabbix.com>2022-02-24 18:09:21 +0300
commitae44c9089d25ff1ff55d40219d031a6021fa5df0 (patch)
treecfef5120f0d23ada05d70ca3a05b94f0609f86ab /templates
parent1424e51d66e29984980db9e30666cb6210efab93 (diff)
.........T [ZBXNEXT-7493] added garbage collector and memory pool discovery to generic Java template
Diffstat (limited to 'templates')
-rw-r--r--templates/app/generic_java_jmx/README.md60
-rw-r--r--templates/app/generic_java_jmx/template_app_generic_java_jmx.yaml1077
2 files changed, 260 insertions, 877 deletions
diff --git a/templates/app/generic_java_jmx/README.md b/templates/app/generic_java_jmx/README.md
index 134a8a01bc3..d043e97ba4d 100644
--- a/templates/app/generic_java_jmx/README.md
+++ b/templates/app/generic_java_jmx/README.md
@@ -25,10 +25,13 @@ No specific Zabbix configuration is required.
|{$JMX.FILE.DESCRIPTORS.TIME} |<p>The time during which the file descriptors count may exceed the threshold.</p> |`3m` |
|{$JMX.HEAP.MEM.USAGE.MAX} |<p>A threshold in percent for Heap memory utilization trigger.</p> |`85` |
|{$JMX.HEAP.MEM.USAGE.TIME} |<p>The time during which the Heap memory utilization may exceed the threshold.</p> |`10m` |
+|{$JMX.MEM.POOL.NAME.MATCHES} |<p>This macro used in memory pool discovery as a filter.</p> |`Old Gen|G1|Perm Gen|Code Cache|Tenured Gen` |
|{$JMX.MP.USAGE.MAX} |<p>A threshold in percent for memory pools utilization trigger. Use a context to change the threshold for a specific pool.</p> |`85` |
|{$JMX.MP.USAGE.TIME} |<p>The time during which the memory pools utilization may exceed the threshold.</p> |`10m` |
|{$JMX.NONHEAP.MEM.USAGE.MAX} |<p>A threshold in percent for Non-heap memory utilization trigger.</p> |`85` |
|{$JMX.NONHEAP.MEM.USAGE.TIME} |<p>The time during which the Non-heap memory utilization may exceed the threshold.</p> |`10m` |
+|{$JMX.PASSWORD} |<p>JMX password.</p> |`` |
+|{$JMX.USER} |<p>JMX username.</p> |`` |
## Template links
@@ -36,6 +39,10 @@ There are no template links in this template.
## Discovery rules
+|Name|Description|Type|Key and additional info|
+|----|-----------|----|----|
+|Garbage collector discovery |<p>Garbage collectors metrics discovery.</p> |JMX |jmx.discovery["beans","java.lang:name=*,type=GarbageCollector"] |
+|Memory pool discovery |<p>Memory pools metrics discovery.</p> |JMX |jmx.discovery["beans","java.lang:name=*,type=MemoryPool"]<p>**Filter**:</p> <p>- {#JMXNAME} MATCHES_REGEX `{$JMX.MEM.POOL.NAME.MATCHES}`</p> |
## Items collected
@@ -46,18 +53,6 @@ There are no template links in this template.
|JMX |ClassLoading: Unloaded class count |<p>Displays the total number of classes that have been loaded since the Java virtual machine has started execution.</p> |JMX |jmx["java.lang:type=ClassLoading","UnloadedClassCount"]<p>**Preprocessing**:</p><p>- DISCARD_UNCHANGED_HEARTBEAT: `10m`</p> |
|JMX |Compilation: Name of the current JIT compiler |<p>Displays the total number of classes unloaded since the Java virtual machine has started execution.</p> |JMX |jmx["java.lang:type=Compilation","Name"]<p>**Preprocessing**:</p><p>- DISCARD_UNCHANGED_HEARTBEAT: `30m`</p> |
|JMX |Compilation: Accumulated time spent |<p>Displays the approximate accumulated elapsed time spent in compilation, in seconds.</p> |JMX |jmx["java.lang:type=Compilation","TotalCompilationTime"]<p>**Preprocessing**:</p><p>- MULTIPLIER: `0.001`</p><p>- DISCARD_UNCHANGED_HEARTBEAT: `10m`</p> |
-|JMX |GarbageCollector: ConcurrentMarkSweep number of collections per second |<p>Displays the total number of collections that have occurred per second.</p> |JMX |jmx["java.lang:type=GarbageCollector,name=ConcurrentMarkSweep","CollectionCount"]<p>**Preprocessing**:</p><p>- CHANGE_PER_SECOND</p> |
-|JMX |GarbageCollector: ConcurrentMarkSweep accumulated time spent in collection |<p>Displays the approximate accumulated collection elapsed time, in seconds.</p> |JMX |jmx["java.lang:type=GarbageCollector,name=ConcurrentMarkSweep","CollectionTime"]<p>**Preprocessing**:</p><p>- MULTIPLIER: `0.001`</p><p>- DISCARD_UNCHANGED_HEARTBEAT: `10m`</p> |
-|JMX |GarbageCollector: Copy number of collections per second |<p>Displays the total number of collections that have occurred per second.</p> |JMX |jmx["java.lang:type=GarbageCollector,name=Copy","CollectionCount"]<p>**Preprocessing**:</p><p>- CHANGE_PER_SECOND</p> |
-|JMX |GarbageCollector: Copy accumulated time spent in collection |<p>Displays the approximate accumulated collection elapsed time, in seconds.</p> |JMX |jmx["java.lang:type=GarbageCollector,name=Copy","CollectionTime"]<p>**Preprocessing**:</p><p>- MULTIPLIER: `0.001`</p><p>- DISCARD_UNCHANGED_HEARTBEAT: `10m`</p> |
-|JMX |GarbageCollector: MarkSweepCompact number of collections per second |<p>Displays the total number of collections that have occurred per second.</p> |JMX |jmx["java.lang:type=GarbageCollector,name=MarkSweepCompact","CollectionCount"]<p>**Preprocessing**:</p><p>- CHANGE_PER_SECOND</p> |
-|JMX |GarbageCollector: MarkSweepCompact accumulated time spent in collection |<p>Displays the approximate accumulated collection elapsed time, in seconds.</p> |JMX |jmx["java.lang:type=GarbageCollector,name=MarkSweepCompact","CollectionTime"]<p>**Preprocessing**:</p><p>- MULTIPLIER: `0.001`</p><p>- DISCARD_UNCHANGED_HEARTBEAT: `10m`</p> |
-|JMX |GarbageCollector: ParNew number of collections per second |<p>Displays the total number of collections that have occurred per second.</p> |JMX |jmx["java.lang:type=GarbageCollector,name=ParNew","CollectionCount"]<p>**Preprocessing**:</p><p>- CHANGE_PER_SECOND</p> |
-|JMX |GarbageCollector: ParNew accumulated time spent in collection |<p>Displays the approximate accumulated collection elapsed time, in seconds.</p> |JMX |jmx["java.lang:type=GarbageCollector,name=ParNew","CollectionTime"]<p>**Preprocessing**:</p><p>- MULTIPLIER: `0.001`</p><p>- DISCARD_UNCHANGED_HEARTBEAT: `10m`</p> |
-|JMX |GarbageCollector: PS MarkSweep number of collections per second |<p>Displays the total number of collections that have occurred per second.</p> |JMX |jmx["java.lang:type=GarbageCollector,name=PS MarkSweep","CollectionCount"]<p>**Preprocessing**:</p><p>- CHANGE_PER_SECOND</p> |
-|JMX |GarbageCollector: PS MarkSweep accumulated time spent in collection |<p>Displays the approximate accumulated collection elapsed time, in seconds.</p> |JMX |jmx["java.lang:type=GarbageCollector,name=PS MarkSweep","CollectionTime"]<p>**Preprocessing**:</p><p>- MULTIPLIER: `0.001`</p><p>- DISCARD_UNCHANGED_HEARTBEAT: `10m`</p> |
-|JMX |GarbageCollector: PS Scavenge number of collections per second |<p>Displays the total number of collections that have occurred per second.</p> |JMX |jmx["java.lang:type=GarbageCollector,name=PS Scavenge","CollectionCount"]<p>**Preprocessing**:</p><p>- CHANGE_PER_SECOND</p> |
-|JMX |GarbageCollector: PS Scavenge accumulated time spent in collection |<p>Displays the approximate accumulated collection elapsed time, in seconds.</p> |JMX |jmx["java.lang:type=GarbageCollector,name=PS Scavenge","CollectionTime"]<p>**Preprocessing**:</p><p>- MULTIPLIER: `0.001`</p><p>- DISCARD_UNCHANGED_HEARTBEAT: `10m`</p> |
|JMX |Memory: Heap memory committed |<p>Current heap memory allocated. This amount of memory is guaranteed for the Java virtual machine to use.</p> |JMX |jmx["java.lang:type=Memory","HeapMemoryUsage.committed"] |
|JMX |Memory: Heap memory maximum size |<p>Maximum amount of heap that can be used for memory management. This amount of memory is not guaranteed to be available if it is greater than the amount of committed memory. The Java virtual machine may fail to allocate memory even if the amount of used memory does not exceed this maximum size.</p> |JMX |jmx["java.lang:type=Memory","HeapMemoryUsage.max"]<p>**Preprocessing**:</p><p>- DISCARD_UNCHANGED_HEARTBEAT: `10m`</p> |
|JMX |Memory: Heap memory used |<p>Current memory usage outside the heap.</p> |JMX |jmx["java.lang:type=Memory","HeapMemoryUsage.used"]<p>**Preprocessing**:</p><p>- DISCARD_UNCHANGED_HEARTBEAT: `10m`</p> |
@@ -65,27 +60,6 @@ There are no template links in this template.
|JMX |Memory: Non-Heap memory maximum size |<p>Maximum amount of non-heap memory that can be used for memory management. This amount of memory is not guaranteed to be available if it is greater than the amount of committed memory. The Java virtual machine may fail to allocate memory even if the amount of used memory does not exceed this maximum size.</p> |JMX |jmx["java.lang:type=Memory","NonHeapMemoryUsage.max"]<p>**Preprocessing**:</p><p>- DISCARD_UNCHANGED_HEARTBEAT: `10m`</p> |
|JMX |Memory: Non-Heap memory used |<p>Current memory usage outside the heap</p> |JMX |jmx["java.lang:type=Memory","NonHeapMemoryUsage.used"]<p>**Preprocessing**:</p><p>- DISCARD_UNCHANGED_HEARTBEAT: `10m`</p> |
|JMX |Memory: Object pending finalization count |<p>The approximate number of objects for which finalization is pending.</p> |JMX |jmx["java.lang:type=Memory","ObjectPendingFinalizationCount"]<p>**Preprocessing**:</p><p>- DISCARD_UNCHANGED_HEARTBEAT: `10m`</p> |
-|JMX |MemoryPool: CMS Old Gen committed |<p>Current memory allocated</p> |JMX |jmx["java.lang:type=MemoryPool,name=CMS Old Gen","Usage.committed"]<p>**Preprocessing**:</p><p>- DISCARD_UNCHANGED_HEARTBEAT: `10m`</p> |
-|JMX |MemoryPool: CMS Old Gen maximum size |<p>Maximum amount of memory that can be used for memory management. This amount of memory is not guaranteed to be available if it is greater than the amount of committed memory. The Java virtual machine may fail to allocate memory even if the amount of used memory does not exceed this maximum size.</p> |JMX |jmx["java.lang:type=MemoryPool,name=CMS Old Gen","Usage.max"] |
-|JMX |MemoryPool: CMS Old Gen used |<p>Current memory usage</p> |JMX |jmx["java.lang:type=MemoryPool,name=CMS Old Gen","Usage.used"] |
-|JMX |MemoryPool: CMS Perm Gen committed |<p>Current memory allocated</p> |JMX |jmx["java.lang:type=MemoryPool,name=CMS Perm Gen","Usage.committed"]<p>**Preprocessing**:</p><p>- DISCARD_UNCHANGED_HEARTBEAT: `10m`</p> |
-|JMX |MemoryPool: CMS Perm Gen maximum size |<p>Maximum amount of memory that can be used for memory management. This amount of memory is not guaranteed to be available if it is greater than the amount of committed memory. The Java virtual machine may fail to allocate memory even if the amount of used memory does not exceed this maximum size.</p> |JMX |jmx["java.lang:type=MemoryPool,name=CMS Perm Gen","Usage.max"] |
-|JMX |MemoryPool: CMS Perm Gen used |<p>Current memory usage</p> |JMX |jmx["java.lang:type=MemoryPool,name=CMS Perm Gen","Usage.used"] |
-|JMX |MemoryPool: Code Cache committed |<p>Current memory allocated</p> |JMX |jmx["java.lang:type=MemoryPool,name=Code Cache","Usage.committed"]<p>**Preprocessing**:</p><p>- DISCARD_UNCHANGED_HEARTBEAT: `10m`</p> |
-|JMX |MemoryPool: CodeCache maximum size |<p>Maximum amount of memory that can be used for memory management. This amount of memory is not guaranteed to be available if it is greater than the amount of committed memory. The Java virtual machine may fail to allocate memory even if the amount of used memory does not exceed this maximum size.</p> |JMX |jmx["java.lang:type=MemoryPool,name=Code Cache","Usage.max"] |
-|JMX |MemoryPool: Code Cache used |<p>Current memory usage</p> |JMX |jmx["java.lang:type=MemoryPool,name=Code Cache","Usage.used"] |
-|JMX |MemoryPool: Perm Gen committed |<p>Current memory allocated</p> |JMX |jmx["java.lang:type=MemoryPool,name=Perm Gen","Usage.committed"]<p>**Preprocessing**:</p><p>- DISCARD_UNCHANGED_HEARTBEAT: `10m`</p> |
-|JMX |MemoryPool: Perm Gen maximum size |<p>Maximum amount of memory that can be used for memory management. This amount of memory is not guaranteed to be available if it is greater than the amount of committed memory. The Java virtual machine may fail to allocate memory even if the amount of used memory does not exceed this maximum size.</p> |JMX |jmx["java.lang:type=MemoryPool,name=Perm Gen","Usage.max"] |
-|JMX |MemoryPool: Perm Gen used |<p>Current memory usage</p> |JMX |jmx["java.lang:type=MemoryPool,name=Perm Gen","Usage.used"] |
-|JMX |MemoryPool: PS Old Gen |<p>Current memory allocated</p> |JMX |jmx["java.lang:type=MemoryPool,name=PS Old Gen","Usage.committed"]<p>**Preprocessing**:</p><p>- DISCARD_UNCHANGED_HEARTBEAT: `10m`</p> |
-|JMX |MemoryPool: PS Old Gen maximum size |<p>Maximum amount of memory that can be used for memory management. This amount of memory is not guaranteed to be available if it is greater than the amount of committed memory. The Java virtual machine may fail to allocate memory even if the amount of used memory does not exceed this maximum size.</p> |JMX |jmx["java.lang:type=MemoryPool,name=PS Old Gen","Usage.max"] |
-|JMX |MemoryPool: PS Old Gen used |<p>Current memory usage</p> |JMX |jmx["java.lang:type=MemoryPool,name=PS Old Gen","Usage.used"] |
-|JMX |MemoryPool: PS Perm Gen committed |<p>Current memory allocated</p> |JMX |jmx["java.lang:type=MemoryPool,name=PS Perm Gen","Usage.committed"]<p>**Preprocessing**:</p><p>- DISCARD_UNCHANGED_HEARTBEAT: `10m`</p> |
-|JMX |MemoryPool: PS Perm Gen maximum size |<p>Maximum amount of memory that can be used for memory management. This amount of memory is not guaranteed to be available if it is greater than the amount of committed memory. The Java virtual machine may fail to allocate memory even if the amount of used memory does not exceed this maximum size.</p> |JMX |jmx["java.lang:type=MemoryPool,name=PS Perm Gen","Usage.max"] |
-|JMX |MemoryPool: PS Perm Gen used |<p>Current memory usage</p> |JMX |jmx["java.lang:type=MemoryPool,name=PS Perm Gen","Usage.used"] |
-|JMX |MemoryPool: Tenured Gen committed |<p>Current memory allocated</p> |JMX |jmx["java.lang:type=MemoryPool,name=Tenured Gen","Usage.committed"]<p>**Preprocessing**:</p><p>- DISCARD_UNCHANGED_HEARTBEAT: `10m`</p> |
-|JMX |MemoryPool: Tenured Gen maximum size |<p>Maximum amount of memory that can be used for memory management. This amount of memory is not guaranteed to be available if it is greater than the amount of committed memory. The Java virtual machine may fail to allocate memory even if the amount of used memory does not exceed this maximum size.</p> |JMX |jmx["java.lang:type=MemoryPool,name=Tenured Gen","Usage.max"] |
-|JMX |MemoryPool: Tenured Gen used |<p>Current memory usage</p> |JMX |jmx["java.lang:type=MemoryPool,name=Tenured Gen","Usage.used"] |
|JMX |OperatingSystem: File descriptors maximum count |<p>This is the number of file descriptors we can have opened in the same process, as determined by the operating system. You can never have more file descriptors than this number.</p> |JMX |jmx["java.lang:type=OperatingSystem","MaxFileDescriptorCount"]<p>**Preprocessing**:</p><p>- DISCARD_UNCHANGED_HEARTBEAT: `10m`</p> |
|JMX |OperatingSystem: File descriptors opened |<p>This is the number of opened file descriptors at the moment, if this reaches the MaxFileDescriptorCount, the application will throw an IOException: Too many open files. This could mean you're are opening file descriptors and never closing them.</p> |JMX |jmx["java.lang:type=OperatingSystem","OpenFileDescriptorCount"] |
|JMX |OperatingSystem: Process CPU Load |<p>ProcessCpuLoad represents the CPU load in this process.</p> |JMX |jmx["java.lang:type=OperatingSystem","ProcessCpuLoad"]<p>**Preprocessing**:</p><p>- MULTIPLIER: `100`</p> |
@@ -96,28 +70,24 @@ There are no template links in this template.
|JMX |Threading: Peak thread count |<p>Maximum number of threads being executed at the same time since the JVM was started or the peak was reset.</p> |JMX |jmx["java.lang:type=Threading","PeakThreadCount"] |
|JMX |Threading: Thread count |<p>The number of threads running at the current moment.</p> |JMX |jmx["java.lang:type=Threading","ThreadCount"] |
|JMX |Threading: Total started thread count |<p>The number of threads started since the JVM was launched.</p> |JMX |jmx["java.lang:type=Threading","TotalStartedThreadCount"] |
+|JMX |GarbageCollector: {#JMXNAME} number of collections per second |<p>Displays the total number of collections that have occurred per second.</p> |JMX |jmx["java.lang:name={#JMXNAME},type=GarbageCollector","CollectionCount"]<p>**Preprocessing**:</p><p>- CHANGE_PER_SECOND</p> |
+|JMX |GarbageCollector: {#JMXNAME} accumulated time spent in collection |<p>Displays the approximate accumulated collection elapsed time, in seconds.</p> |JMX |jmx["java.lang:name={#JMXNAME},type=GarbageCollector","CollectionTime"]<p>**Preprocessing**:</p><p>- MULTIPLIER: `0.001`</p><p>- DISCARD_UNCHANGED_HEARTBEAT: `10m`</p> |
+|JMX |Memory pool: {#JMXNAME} committed |<p>Current memory allocated.</p> |JMX |jmx["java.lang:name={#JMXNAME},type=MemoryPool","Usage.committed"]<p>**Preprocessing**:</p><p>- DISCARD_UNCHANGED_HEARTBEAT: `10m`</p> |
+|JMX |Memory pool: {#JMXNAME} maximum size |<p>Maximum amount of memory that can be used for memory management. This amount of memory is not guaranteed to be available if it is greater than the amount of committed memory. The Java virtual machine may fail to allocate memory even if the amount of used memory does not exceed this maximum size.</p> |JMX |jmx["java.lang:name={#JMXNAME},type=MemoryPool","Usage.max"]<p>**Preprocessing**:</p><p>- DISCARD_UNCHANGED_HEARTBEAT: `10m`</p> |
+|JMX |Memory pool: {#JMXNAME} used |<p>Current memory usage.</p> |JMX |jmx["java.lang:name={#JMXNAME},type=MemoryPool","Usage.used"] |
## Triggers
|Name|Description|Expression|Severity|Dependencies and additional info|
|----|-----------|----|----|----|
|Compilation: {HOST.NAME} uses suboptimal JIT compiler |<p>-</p> |`find(/Generic Java JMX/jmx["java.lang:type=Compilation","Name"],,"like","Client")=1` |INFO |<p>Manual close: YES</p> |
-|GarbageCollector: Concurrent Mark Sweep in fire fighting mode |<p>-</p> |`last(/Generic Java JMX/jmx["java.lang:type=GarbageCollector,name=ConcurrentMarkSweep","CollectionCount"])>last(/Generic Java JMX/jmx["java.lang:type=GarbageCollector,name=ParNew","CollectionCount"])` |AVERAGE | |
-|GarbageCollector: Mark Sweep Compact in fire fighting mode |<p>-</p> |`last(/Generic Java JMX/jmx["java.lang:type=GarbageCollector,name=MarkSweepCompact","CollectionCount"])>last(/Generic Java JMX/jmx["java.lang:type=GarbageCollector,name=Copy","CollectionCount"])` |AVERAGE | |
-|GarbageCollector: PS Mark Sweep in fire fighting mode |<p>-</p> |`last(/Generic Java JMX/jmx["java.lang:type=GarbageCollector,name=PS MarkSweep","CollectionCount"])>last(/Generic Java JMX/jmx["java.lang:type=GarbageCollector,name=PS Scavenge","CollectionCount"])` |AVERAGE | |
-|Memory: Heap memory usage more than {$JMX.HEAP.USAGE.MAX}% for {$JMX.HEAP.MEM.USAGE.TIME} |<p>-</p> |`min(/Generic Java JMX/jmx["java.lang:type=Memory","HeapMemoryUsage.used"],{$JMX.HEAP.MEM.USAGE.TIME})>(last(/Generic Java JMX/jmx["java.lang:type=Memory","HeapMemoryUsage.max"])*{$JMX.HEAP.MEM.USAGE.MAX}/100)` |WARNING | |
-|Memory: Non-Heap memory usage more than {$JMX.NONHEAP.MEM.USAGE.MAX}% for {$JMX.NONHEAP.MEM.USAGE.TIME} |<p>-</p> |`min(/Generic Java JMX/jmx["java.lang:type=Memory","NonHeapMemoryUsage.used"],{$JMX.NONHEAP.MEM.USAGE.TIME})>(last(/Generic Java JMX/jmx["java.lang:type=Memory","NonHeapMemoryUsage.max"])*{$JMX.NONHEAP.MEM.USAGE.MAX}/100)` |WARNING | |
-|MemoryPool: CMS Old Gen memory usage more than {$JMX.MP.USAGE.MAX:"CMS Old Gen"}% for {$JMX.MP.USAGE.TIME:"CMS Old Gen"} |<p>-</p> |`min(/Generic Java JMX/jmx["java.lang:type=MemoryPool,name=CMS Old Gen","Usage.used"],{$JMX.MP.USAGE.TIME:"CMS Old Gen"})>(last(/Generic Java JMX/jmx["java.lang:type=MemoryPool,name=CMS Old Gen","Usage.max"])*{$JMX.MP.USAGE.MAX:"CMS Old Gen"}/100)` |WARNING | |
-|MemoryPool: CMS Perm Gen memory usage more than {$JMX.MP.USAGE.MAX:"CMS Perm Gen"}% for {$JMX.MP.USAGE.TIME:"CMS Perm Gen"} |<p>-</p> |`min(/Generic Java JMX/jmx["java.lang:type=MemoryPool,name=CMS Perm Gen","Usage.used"],{$JMX.MP.USAGE.TIME:"CMS Perm Gen"})>(last(/Generic Java JMX/jmx["java.lang:type=MemoryPool,name=CMS Perm Gen","Usage.max"])*{$JMX.MP.USAGE.MAX:"CMS Perm Gen"}/100)` |WARNING | |
-|MemoryPool: Code Cache memory usage more than {$JMX.MP.USAGE.MAX:"Code Cache"}% for {$JMX.MP.USAGE.TIME:"Code Cache"} |<p>-</p> |`min(/Generic Java JMX/jmx["java.lang:type=MemoryPool,name=Code Cache","Usage.used"],{$JMX.MP.USAGE.TIME:"Code Cache"})>(last(/Generic Java JMX/jmx["java.lang:type=MemoryPool,name=Code Cache","Usage.max"])*{$JMX.MP.USAGE.MAX:"Code Cache"}/100)` |WARNING | |
-|MemoryPool: Perm Gen memory usage more than {$JMX.MP.USAGE.MAX:"Perm Gen"}% for {$JMX.MP.USAGE.TIME:"Perm Gen"} |<p>-</p> |`min(/Generic Java JMX/jmx["java.lang:type=MemoryPool,name=Perm Gen","Usage.used"],{$JMX.MP.USAGE.TIME:"Perm Gen"})>(last(/Generic Java JMX/jmx["java.lang:type=MemoryPool,name=Perm Gen","Usage.max"])*{$JMX.MP.USAGE.MAX:"Perm Gen"}/100)` |WARNING | |
-|MemoryPool: PS Old Gen memory usage more than {$JMX.MP.USAGE.MAX:"PS Old Gen"}% for {$JMX.MP.USAGE.TIME:"PS Old Gen"} |<p>-</p> |`min(/Generic Java JMX/jmx["java.lang:type=MemoryPool,name=PS Old Gen","Usage.used"],{$JMX.MP.USAGE.TIME:"PS Old Gen"})>(last(/Generic Java JMX/jmx["java.lang:type=MemoryPool,name=PS Old Gen","Usage.max"])*{$JMX.MP.USAGE.MAX:"PS Old Gen"}/100)` |WARNING | |
-|MemoryPool: PS Perm Gen memory usage more than {$JMX.MP.USAGE.MAX:"PS Perm Gen"}% for {$JMX.MP.USAGE.TIME:"PS Perm Gen"} |<p>-</p> |`min(/Generic Java JMX/jmx["java.lang:type=MemoryPool,name=PS Perm Gen","Usage.used"],{$JMX.MP.USAGE.TIME:"PS Perm Gen"})>(last(/Generic Java JMX/jmx["java.lang:type=MemoryPool,name=PS Perm Gen","Usage.max"])*{$JMX.MP.USAGE.MAX:"PS Perm Gen"}/100)` |WARNING | |
-|MemoryPool: Tenured Gen memory usage more than {$JMX.MP.USAGE.MAX:"Tenured Gen"}% for {$JMX.MP.USAGE.TIME:"Tenured Gen"} |<p>-</p> |`min(/Generic Java JMX/jmx["java.lang:type=MemoryPool,name=Tenured Gen","Usage.used"],{$JMX.MP.USAGE.TIME:"Tenured Gen"})>(last(/Generic Java JMX/jmx["java.lang:type=MemoryPool,name=Tenured Gen","Usage.max"])*{$JMX.MP.USAGE.MAX:"Tenured Gen"}/100)` |WARNING | |
+|Memory: Heap memory usage more than {$JMX.HEAP.USAGE.MAX}% for {$JMX.HEAP.MEM.USAGE.TIME} |<p>-</p> |`min(/Generic Java JMX/jmx["java.lang:type=Memory","HeapMemoryUsage.used"],{$JMX.HEAP.MEM.USAGE.TIME})>(last(/Generic Java JMX/jmx["java.lang:type=Memory","HeapMemoryUsage.max"])*{$JMX.HEAP.MEM.USAGE.MAX}/100) and last(/Generic Java JMX/jmx["java.lang:type=Memory","HeapMemoryUsage.max"])>0` |WARNING | |
+|Memory: Non-Heap memory usage more than {$JMX.NONHEAP.MEM.USAGE.MAX}% for {$JMX.NONHEAP.MEM.USAGE.TIME} |<p>-</p> |`min(/Generic Java JMX/jmx["java.lang:type=Memory","NonHeapMemoryUsage.used"],{$JMX.NONHEAP.MEM.USAGE.TIME})>(last(/Generic Java JMX/jmx["java.lang:type=Memory","NonHeapMemoryUsage.max"])*{$JMX.NONHEAP.MEM.USAGE.MAX}/100) and last(/Generic Java JMX/jmx["java.lang:type=Memory","NonHeapMemoryUsage.max"])>0` |WARNING | |
|OperatingSystem: Opened file descriptor count more than {$JMX.FILE.DESCRIPTORS.MAX}% of maximum |<p>-</p> |`min(/Generic Java JMX/jmx["java.lang:type=OperatingSystem","OpenFileDescriptorCount"],{$JMX.FILE.DESCRIPTORS.TIME})>(last(/Generic Java JMX/jmx["java.lang:type=OperatingSystem","MaxFileDescriptorCount"])*{$JMX.FILE.DESCRIPTORS.MAX}/100)` |WARNING | |
|OperatingSystem: Process CPU Load more than {$JMX.CPU.LOAD.MAX}% for {$JMX.CPU.LOAD.TIME} |<p>-</p> |`min(/Generic Java JMX/jmx["java.lang:type=OperatingSystem","ProcessCpuLoad"],{$JMX.CPU.LOAD.TIME})>{$JMX.CPU.LOAD.MAX}` |AVERAGE | |
|Runtime: JVM is not reachable |<p>-</p> |`nodata(/Generic Java JMX/jmx["java.lang:type=Runtime","Uptime"],5m)=1` |AVERAGE |<p>Manual close: YES</p> |
|Runtime: {HOST.NAME} runs suboptimal VM type |<p>-</p> |`find(/Generic Java JMX/jmx["java.lang:type=Runtime","VmName"],,"like","Server")<>1` |INFO |<p>Manual close: YES</p> |
+|Memory pool: {#JMXNAME} memory usage more than {$JMX.MP.USAGE.MAX:"{#JMXNAME}"}% for {$JMX.MP.USAGE.TIME:"{#JMXNAME}"} |<p>-</p> |`min(/Generic Java JMX/jmx["java.lang:name={#JMXNAME},type=MemoryPool","Usage.used"],{$JMX.MP.USAGE.TIME:"{#JMXNAME}"})>(last(/Generic Java JMX/jmx["java.lang:name={#JMXNAME},type=MemoryPool","Usage.max"])*{$JMX.MP.USAGE.MAX:"{#JMXNAME}"}/100) and last(/Generic Java JMX/jmx["java.lang:name={#JMXNAME},type=MemoryPool","Usage.max"])>0` |WARNING | |
## Feedback
diff --git a/templates/app/generic_java_jmx/template_app_generic_java_jmx.yaml b/templates/app/generic_java_jmx/template_app_generic_java_jmx.yaml
index 7200074fe43..08c0163e081 100644
--- a/templates/app/generic_java_jmx/template_app_generic_java_jmx.yaml
+++ b/templates/app/generic_java_jmx/template_app_generic_java_jmx.yaml
@@ -1,6 +1,6 @@
zabbix_export:
version: '6.0'
- date: '2022-01-26T10:00:40Z'
+ date: '2022-02-24T14:57:10Z'
groups:
-
uuid: a571c0d144b14fd4a87a9d9b2aa9fcd6
@@ -21,6 +21,8 @@ zabbix_export:
type: JMX
key: 'jmx["java.lang:type=ClassLoading","LoadedClassCount"]'
history: 7d
+ username: '{$JMX.USER}'
+ password: '{$JMX.PASSWORD}'
description: 'Displays number of classes that are currently loaded in the Java virtual machine.'
preprocessing:
-
@@ -38,6 +40,8 @@ zabbix_export:
type: JMX
key: 'jmx["java.lang:type=ClassLoading","TotalLoadedClassCount"]'
history: 7d
+ username: '{$JMX.USER}'
+ password: '{$JMX.PASSWORD}'
description: 'Displays the total number of classes that have been loaded since the Java virtual machine has started execution.'
preprocessing:
-
@@ -55,6 +59,8 @@ zabbix_export:
type: JMX
key: 'jmx["java.lang:type=ClassLoading","UnloadedClassCount"]'
history: 7d
+ username: '{$JMX.USER}'
+ password: '{$JMX.PASSWORD}'
description: 'Displays the total number of classes that have been loaded since the Java virtual machine has started execution.'
preprocessing:
-
@@ -74,6 +80,8 @@ zabbix_export:
history: 7d
trends: '0'
value_type: CHAR
+ username: '{$JMX.USER}'
+ password: '{$JMX.PASSWORD}'
description: 'Displays the total number of classes unloaded since the Java virtual machine has started execution.'
preprocessing:
-
@@ -104,6 +112,8 @@ zabbix_export:
history: 7d
value_type: FLOAT
units: s
+ username: '{$JMX.USER}'
+ password: '{$JMX.PASSWORD}'
description: 'Displays the approximate accumulated elapsed time spent in compilation, in seconds.'
preprocessing:
-
@@ -120,258 +130,14 @@ zabbix_export:
tag: component
value: compilation
-
- uuid: 4cbe63dbe9184a0ba4df8cedbd86c2e8
- name: 'GarbageCollector: ConcurrentMarkSweep number of collections per second'
- type: JMX
- key: 'jmx["java.lang:type=GarbageCollector,name=ConcurrentMarkSweep","CollectionCount"]'
- history: 7d
- value_type: FLOAT
- description: 'Displays the total number of collections that have occurred per second.'
- preprocessing:
- -
- type: CHANGE_PER_SECOND
- parameters:
- - ''
- jmx_endpoint: 'service:jmx:rmi:///jndi/rmi://{HOST.CONN}:{HOST.PORT}/jmxrmi'
- tags:
- -
- tag: component
- value: garbage-collector
- -
- uuid: 133c53c035df4e83b6bf99a98f3f5ee0
- name: 'GarbageCollector: ConcurrentMarkSweep accumulated time spent in collection'
- type: JMX
- key: 'jmx["java.lang:type=GarbageCollector,name=ConcurrentMarkSweep","CollectionTime"]'
- history: 7d
- value_type: FLOAT
- units: s
- description: 'Displays the approximate accumulated collection elapsed time, in seconds.'
- preprocessing:
- -
- type: MULTIPLIER
- parameters:
- - '0.001'
- -
- type: DISCARD_UNCHANGED_HEARTBEAT
- parameters:
- - 10m
- jmx_endpoint: 'service:jmx:rmi:///jndi/rmi://{HOST.CONN}:{HOST.PORT}/jmxrmi'
- tags:
- -
- tag: component
- value: garbage-collector
- -
- uuid: 2b378c3a34ae40fd9d2425298514860e
- name: 'GarbageCollector: Copy number of collections per second'
- type: JMX
- key: 'jmx["java.lang:type=GarbageCollector,name=Copy","CollectionCount"]'
- history: 7d
- value_type: FLOAT
- description: 'Displays the total number of collections that have occurred per second.'
- preprocessing:
- -
- type: CHANGE_PER_SECOND
- parameters:
- - ''
- jmx_endpoint: 'service:jmx:rmi:///jndi/rmi://{HOST.CONN}:{HOST.PORT}/jmxrmi'
- tags:
- -
- tag: component
- value: garbage-collector
- -
- uuid: 253cd639242848a1905b22b821951f9c
- name: 'GarbageCollector: Copy accumulated time spent in collection'
- type: JMX
- key: 'jmx["java.lang:type=GarbageCollector,name=Copy","CollectionTime"]'
- history: 7d
- value_type: FLOAT
- units: s
- description: 'Displays the approximate accumulated collection elapsed time, in seconds.'
- preprocessing:
- -
- type: MULTIPLIER
- parameters:
- - '0.001'
- -
- type: DISCARD_UNCHANGED_HEARTBEAT
- parameters:
- - 10m
- jmx_endpoint: 'service:jmx:rmi:///jndi/rmi://{HOST.CONN}:{HOST.PORT}/jmxrmi'
- tags:
- -
- tag: component
- value: garbage-collector
- -
- uuid: fc7adc1d5bab4bd28481b6e37d82210b
- name: 'GarbageCollector: MarkSweepCompact number of collections per second'
- type: JMX
- key: 'jmx["java.lang:type=GarbageCollector,name=MarkSweepCompact","CollectionCount"]'
- history: 7d
- value_type: FLOAT
- description: 'Displays the total number of collections that have occurred per second.'
- preprocessing:
- -
- type: CHANGE_PER_SECOND
- parameters:
- - ''
- jmx_endpoint: 'service:jmx:rmi:///jndi/rmi://{HOST.CONN}:{HOST.PORT}/jmxrmi'
- tags:
- -
- tag: component
- value: garbage-collector
- -
- uuid: ce72ee1080114604b42fc0c5b9c4b283
- name: 'GarbageCollector: MarkSweepCompact accumulated time spent in collection'
- type: JMX
- key: 'jmx["java.lang:type=GarbageCollector,name=MarkSweepCompact","CollectionTime"]'
- history: 7d
- value_type: FLOAT
- units: s
- description: 'Displays the approximate accumulated collection elapsed time, in seconds.'
- preprocessing:
- -
- type: MULTIPLIER
- parameters:
- - '0.001'
- -
- type: DISCARD_UNCHANGED_HEARTBEAT
- parameters:
- - 10m
- jmx_endpoint: 'service:jmx:rmi:///jndi/rmi://{HOST.CONN}:{HOST.PORT}/jmxrmi'
- tags:
- -
- tag: component
- value: garbage-collector
- -
- uuid: d55858afe5d14098a75918a4719a4d00
- name: 'GarbageCollector: ParNew number of collections per second'
- type: JMX
- key: 'jmx["java.lang:type=GarbageCollector,name=ParNew","CollectionCount"]'
- history: 7d
- value_type: FLOAT
- description: 'Displays the total number of collections that have occurred per second.'
- preprocessing:
- -
- type: CHANGE_PER_SECOND
- parameters:
- - ''
- jmx_endpoint: 'service:jmx:rmi:///jndi/rmi://{HOST.CONN}:{HOST.PORT}/jmxrmi'
- tags:
- -
- tag: component
- value: garbage-collector
- -
- uuid: 00f5d02eddbe4bac8816c11da6336600
- name: 'GarbageCollector: ParNew accumulated time spent in collection'
- type: JMX
- key: 'jmx["java.lang:type=GarbageCollector,name=ParNew","CollectionTime"]'
- history: 7d
- value_type: FLOAT
- units: s
- description: 'Displays the approximate accumulated collection elapsed time, in seconds.'
- preprocessing:
- -
- type: MULTIPLIER
- parameters:
- - '0.001'
- -
- type: DISCARD_UNCHANGED_HEARTBEAT
- parameters:
- - 10m
- jmx_endpoint: 'service:jmx:rmi:///jndi/rmi://{HOST.CONN}:{HOST.PORT}/jmxrmi'
- tags:
- -
- tag: component
- value: garbage-collector
- -
- uuid: 65f874c8707d44f3ac35e6a48868c3e7
- name: 'GarbageCollector: PS MarkSweep number of collections per second'
- type: JMX
- key: 'jmx["java.lang:type=GarbageCollector,name=PS MarkSweep","CollectionCount"]'
- history: 7d
- value_type: FLOAT
- description: 'Displays the total number of collections that have occurred per second.'
- preprocessing:
- -
- type: CHANGE_PER_SECOND
- parameters:
- - ''
- jmx_endpoint: 'service:jmx:rmi:///jndi/rmi://{HOST.CONN}:{HOST.PORT}/jmxrmi'
- tags:
- -
- tag: component
- value: garbage-collector
- -
- uuid: cd4c77af696b4312b2cf050e954bc5c4
- name: 'GarbageCollector: PS MarkSweep accumulated time spent in collection'
- type: JMX
- key: 'jmx["java.lang:type=GarbageCollector,name=PS MarkSweep","CollectionTime"]'
- history: 7d
- value_type: FLOAT
- units: s
- description: 'Displays the approximate accumulated collection elapsed time, in seconds.'
- preprocessing:
- -
- type: MULTIPLIER
- parameters:
- - '0.001'
- -
- type: DISCARD_UNCHANGED_HEARTBEAT
- parameters:
- - 10m
- jmx_endpoint: 'service:jmx:rmi:///jndi/rmi://{HOST.CONN}:{HOST.PORT}/jmxrmi'
- tags:
- -
- tag: component
- value: garbage-collector
- -
- uuid: 161555b8c92346e0a4ea51349d99b7af
- name: 'GarbageCollector: PS Scavenge number of collections per second'
- type: JMX
- key: 'jmx["java.lang:type=GarbageCollector,name=PS Scavenge","CollectionCount"]'
- history: 7d
- value_type: FLOAT
- description: 'Displays the total number of collections that have occurred per second.'
- preprocessing:
- -
- type: CHANGE_PER_SECOND
- parameters:
- - ''
- jmx_endpoint: 'service:jmx:rmi:///jndi/rmi://{HOST.CONN}:{HOST.PORT}/jmxrmi'
- tags:
- -
- tag: component
- value: garbage-collector
- -
- uuid: fd1b0b7149bb41b3a2ba674ae83799d2
- name: 'GarbageCollector: PS Scavenge accumulated time spent in collection'
- type: JMX
- key: 'jmx["java.lang:type=GarbageCollector,name=PS Scavenge","CollectionTime"]'
- history: 7d
- value_type: FLOAT
- units: s
- description: 'Displays the approximate accumulated collection elapsed time, in seconds.'
- preprocessing:
- -
- type: MULTIPLIER
- parameters:
- - '0.001'
- -
- type: DISCARD_UNCHANGED_HEARTBEAT
- parameters:
- - 10m
- jmx_endpoint: 'service:jmx:rmi:///jndi/rmi://{HOST.CONN}:{HOST.PORT}/jmxrmi'
- tags:
- -
- tag: component
- value: garbage-collector
- -
uuid: d98a8d00639742f4b62a29e0c7394d61
name: 'Memory: Heap memory committed'
type: JMX
key: 'jmx["java.lang:type=Memory","HeapMemoryUsage.committed"]'
history: 7d
units: B
+ username: '{$JMX.USER}'
+ password: '{$JMX.PASSWORD}'
description: 'Current heap memory allocated. This amount of memory is guaranteed for the Java virtual machine to use.'
jmx_endpoint: 'service:jmx:rmi:///jndi/rmi://{HOST.CONN}:{HOST.PORT}/jmxrmi'
tags:
@@ -384,7 +150,10 @@ zabbix_export:
type: JMX
key: 'jmx["java.lang:type=Memory","HeapMemoryUsage.max"]'
history: 7d
+ value_type: FLOAT
units: B
+ username: '{$JMX.USER}'
+ password: '{$JMX.PASSWORD}'
description: 'Maximum amount of heap that can be used for memory management. This amount of memory is not guaranteed to be available if it is greater than the amount of committed memory. The Java virtual machine may fail to allocate memory even if the amount of used memory does not exceed this maximum size.'
preprocessing:
-
@@ -403,6 +172,8 @@ zabbix_export:
key: 'jmx["java.lang:type=Memory","HeapMemoryUsage.used"]'
history: 7d
units: B
+ username: '{$JMX.USER}'
+ password: '{$JMX.PASSWORD}'
description: 'Current memory usage outside the heap.'
preprocessing:
-
@@ -421,6 +192,8 @@ zabbix_export:
key: 'jmx["java.lang:type=Memory","NonHeapMemoryUsage.committed"]'
history: 7d
units: B
+ username: '{$JMX.USER}'
+ password: '{$JMX.PASSWORD}'
description: 'Current memory allocated outside the heap. This amount of memory is guaranteed for the Java virtual machine to use.'
preprocessing:
-
@@ -438,7 +211,10 @@ zabbix_export:
type: JMX
key: 'jmx["java.lang:type=Memory","NonHeapMemoryUsage.max"]'
history: 7d
+ value_type: FLOAT
units: B
+ username: '{$JMX.USER}'
+ password: '{$JMX.PASSWORD}'
description: 'Maximum amount of non-heap memory that can be used for memory management. This amount of memory is not guaranteed to be available if it is greater than the amount of committed memory. The Java virtual machine may fail to allocate memory even if the amount of used memory does not exceed this maximum size.'
preprocessing:
-
@@ -457,6 +233,8 @@ zabbix_export:
key: 'jmx["java.lang:type=Memory","NonHeapMemoryUsage.used"]'
history: 7d
units: B
+ username: '{$JMX.USER}'
+ password: '{$JMX.PASSWORD}'
description: 'Current memory usage outside the heap'
preprocessing:
-
@@ -474,6 +252,8 @@ zabbix_export:
type: JMX
key: 'jmx["java.lang:type=Memory","ObjectPendingFinalizationCount"]'
history: 7d
+ username: '{$JMX.USER}'
+ password: '{$JMX.PASSWORD}'
description: 'The approximate number of objects for which finalization is pending.'
preprocessing:
-
@@ -486,319 +266,13 @@ zabbix_export:
tag: component
value: memory
-
- uuid: 5b5b9458cc284cbe90a4732a656c5745
- name: 'MemoryPool: CMS Old Gen committed'
- type: JMX
- key: 'jmx["java.lang:type=MemoryPool,name=CMS Old Gen","Usage.committed"]'
- history: 7d
- units: B
- description: 'Current memory allocated'
- preprocessing:
- -
- type: DISCARD_UNCHANGED_HEARTBEAT
- parameters:
- - 10m
- jmx_endpoint: 'service:jmx:rmi:///jndi/rmi://{HOST.CONN}:{HOST.PORT}/jmxrmi'
- tags:
- -
- tag: component
- value: memory-pool
- -
- uuid: 60ee3f05569f4b99809090d8b5e06f44
- name: 'MemoryPool: CMS Old Gen maximum size'
- type: JMX
- key: 'jmx["java.lang:type=MemoryPool,name=CMS Old Gen","Usage.max"]'
- history: 7d
- units: B
- description: 'Maximum amount of memory that can be used for memory management. This amount of memory is not guaranteed to be available if it is greater than the amount of committed memory. The Java virtual machine may fail to allocate memory even if the amount of used memory does not exceed this maximum size.'
- jmx_endpoint: 'service:jmx:rmi:///jndi/rmi://{HOST.CONN}:{HOST.PORT}/jmxrmi'
- tags:
- -
- tag: component
- value: memory-pool
- -
- uuid: 31fbaf48b1634d9b8c3cdbb8155f0347
- name: 'MemoryPool: CMS Old Gen used'
- type: JMX
- key: 'jmx["java.lang:type=MemoryPool,name=CMS Old Gen","Usage.used"]'
- history: 7d
- units: B
- description: 'Current memory usage'
- jmx_endpoint: 'service:jmx:rmi:///jndi/rmi://{HOST.CONN}:{HOST.PORT}/jmxrmi'
- tags:
- -
- tag: component
- value: memory-pool
- -
- uuid: 02e3dc52db244bda9fbcb7e926fbb7fa
- name: 'MemoryPool: CMS Perm Gen committed'
- type: JMX
- key: 'jmx["java.lang:type=MemoryPool,name=CMS Perm Gen","Usage.committed"]'
- history: 7d
- units: B
- description: 'Current memory allocated'
- preprocessing:
- -
- type: DISCARD_UNCHANGED_HEARTBEAT
- parameters:
- - 10m
- jmx_endpoint: 'service:jmx:rmi:///jndi/rmi://{HOST.CONN}:{HOST.PORT}/jmxrmi'
- tags:
- -
- tag: component
- value: memory-pool
- -
- uuid: cb595bbf821f44e8b00aee3217070be5
- name: 'MemoryPool: CMS Perm Gen maximum size'
- type: JMX
- key: 'jmx["java.lang:type=MemoryPool,name=CMS Perm Gen","Usage.max"]'
- history: 7d
- units: B
- description: 'Maximum amount of memory that can be used for memory management. This amount of memory is not guaranteed to be available if it is greater than the amount of committed memory. The Java virtual machine may fail to allocate memory even if the amount of used memory does not exceed this maximum size.'
- jmx_endpoint: 'service:jmx:rmi:///jndi/rmi://{HOST.CONN}:{HOST.PORT}/jmxrmi'
- tags:
- -
- tag: component
- value: memory-pool
- -
- uuid: ff3ca233f45b473e8952632d515dbdc1
- name: 'MemoryPool: CMS Perm Gen used'
- type: JMX
- key: 'jmx["java.lang:type=MemoryPool,name=CMS Perm Gen","Usage.used"]'
- history: 7d
- units: B
- description: 'Current memory usage'
- jmx_endpoint: 'service:jmx:rmi:///jndi/rmi://{HOST.CONN}:{HOST.PORT}/jmxrmi'
- tags:
- -
- tag: component
- value: memory-pool
- -
- uuid: 9012e9453bb7442fb87aca747c148ed7
- name: 'MemoryPool: Code Cache committed'
- type: JMX
- key: 'jmx["java.lang:type=MemoryPool,name=Code Cache","Usage.committed"]'
- history: 7d
- units: B
- description: 'Current memory allocated'
- preprocessing:
- -
- type: DISCARD_UNCHANGED_HEARTBEAT
- parameters:
- - 10m
- jmx_endpoint: 'service:jmx:rmi:///jndi/rmi://{HOST.CONN}:{HOST.PORT}/jmxrmi'
- tags:
- -
- tag: component
- value: memory-pool
- -
- uuid: a6282cd5464747ec955597d933192f18
- name: 'MemoryPool: CodeCache maximum size'
- type: JMX
- key: 'jmx["java.lang:type=MemoryPool,name=Code Cache","Usage.max"]'
- history: 7d
- units: B
- description: 'Maximum amount of memory that can be used for memory management. This amount of memory is not guaranteed to be available if it is greater than the amount of committed memory. The Java virtual machine may fail to allocate memory even if the amount of used memory does not exceed this maximum size.'
- jmx_endpoint: 'service:jmx:rmi:///jndi/rmi://{HOST.CONN}:{HOST.PORT}/jmxrmi'
- tags:
- -
- tag: component
- value: memory-pool
- -
- uuid: a004c3a23c2d476ca12c0b6bf4d64ebd
- name: 'MemoryPool: Code Cache used'
- type: JMX
- key: 'jmx["java.lang:type=MemoryPool,name=Code Cache","Usage.used"]'
- history: 7d
- units: B
- description: 'Current memory usage'
- jmx_endpoint: 'service:jmx:rmi:///jndi/rmi://{HOST.CONN}:{HOST.PORT}/jmxrmi'
- tags:
- -
- tag: component
- value: memory-pool
- -
- uuid: 119045200b08450b87e35c5580d24162
- name: 'MemoryPool: Perm Gen committed'
- type: JMX
- key: 'jmx["java.lang:type=MemoryPool,name=Perm Gen","Usage.committed"]'
- history: 7d
- units: B
- description: 'Current memory allocated'
- preprocessing:
- -
- type: DISCARD_UNCHANGED_HEARTBEAT
- parameters:
- - 10m
- jmx_endpoint: 'service:jmx:rmi:///jndi/rmi://{HOST.CONN}:{HOST.PORT}/jmxrmi'
- tags:
- -
- tag: component
- value: memory-pool
- -
- uuid: 8ca9e2beaa6d48fbb87fc78967c2d544
- name: 'MemoryPool: Perm Gen maximum size'
- type: JMX
- key: 'jmx["java.lang:type=MemoryPool,name=Perm Gen","Usage.max"]'
- history: 7d
- units: B
- description: 'Maximum amount of memory that can be used for memory management. This amount of memory is not guaranteed to be available if it is greater than the amount of committed memory. The Java virtual machine may fail to allocate memory even if the amount of used memory does not exceed this maximum size.'
- jmx_endpoint: 'service:jmx:rmi:///jndi/rmi://{HOST.CONN}:{HOST.PORT}/jmxrmi'
- tags:
- -
- tag: component
- value: memory-pool
- -
- uuid: e17f81cd11b34eb6ae26e46a157cb84b
- name: 'MemoryPool: Perm Gen used'
- type: JMX
- key: 'jmx["java.lang:type=MemoryPool,name=Perm Gen","Usage.used"]'
- history: 7d
- units: B
- description: 'Current memory usage'
- jmx_endpoint: 'service:jmx:rmi:///jndi/rmi://{HOST.CONN}:{HOST.PORT}/jmxrmi'
- tags:
- -
- tag: component
- value: memory-pool
- -
- uuid: 26edef50a85745a488b92ab22094edcd
- name: 'MemoryPool: PS Old Gen'
- type: JMX
- key: 'jmx["java.lang:type=MemoryPool,name=PS Old Gen","Usage.committed"]'
- history: 7d
- units: B
- description: 'Current memory allocated'
- preprocessing:
- -
- type: DISCARD_UNCHANGED_HEARTBEAT
- parameters:
- - 10m
- jmx_endpoint: 'service:jmx:rmi:///jndi/rmi://{HOST.CONN}:{HOST.PORT}/jmxrmi'
- tags:
- -
- tag: component
- value: memory-pool
- -
- uuid: a708c5a695d6441e984d8d24c58f9971
- name: 'MemoryPool: PS Old Gen maximum size'
- type: JMX
- key: 'jmx["java.lang:type=MemoryPool,name=PS Old Gen","Usage.max"]'
- history: 7d
- units: B
- description: 'Maximum amount of memory that can be used for memory management. This amount of memory is not guaranteed to be available if it is greater than the amount of committed memory. The Java virtual machine may fail to allocate memory even if the amount of used memory does not exceed this maximum size.'
- jmx_endpoint: 'service:jmx:rmi:///jndi/rmi://{HOST.CONN}:{HOST.PORT}/jmxrmi'
- tags:
- -
- tag: component
- value: memory-pool
- -
- uuid: e4eb87b021aa49fb88e6b97e33dd2392
- name: 'MemoryPool: PS Old Gen used'
- type: JMX
- key: 'jmx["java.lang:type=MemoryPool,name=PS Old Gen","Usage.used"]'
- history: 7d
- units: B
- description: 'Current memory usage'
- jmx_endpoint: 'service:jmx:rmi:///jndi/rmi://{HOST.CONN}:{HOST.PORT}/jmxrmi'
- tags:
- -
- tag: component
- value: memory-pool
- -
- uuid: 97022584d6314efaaabb216fd28ed3a0
- name: 'MemoryPool: PS Perm Gen committed'
- type: JMX
- key: 'jmx["java.lang:type=MemoryPool,name=PS Perm Gen","Usage.committed"]'
- history: 7d
- units: B
- description: 'Current memory allocated'
- preprocessing:
- -
- type: DISCARD_UNCHANGED_HEARTBEAT
- parameters:
- - 10m
- jmx_endpoint: 'service:jmx:rmi:///jndi/rmi://{HOST.CONN}:{HOST.PORT}/jmxrmi'
- tags:
- -
- tag: component
- value: memory-pool
- -
- uuid: d6f6c199bd7f4eb6a24a75933a53aa3b
- name: 'MemoryPool: PS Perm Gen maximum size'
- type: JMX
- key: 'jmx["java.lang:type=MemoryPool,name=PS Perm Gen","Usage.max"]'
- history: 7d
- units: B
- description: 'Maximum amount of memory that can be used for memory management. This amount of memory is not guaranteed to be available if it is greater than the amount of committed memory. The Java virtual machine may fail to allocate memory even if the amount of used memory does not exceed this maximum size.'
- jmx_endpoint: 'service:jmx:rmi:///jndi/rmi://{HOST.CONN}:{HOST.PORT}/jmxrmi'
- tags:
- -
- tag: component
- value: memory-pool
- -
- uuid: 598378a9571943e2925951f381616ea3
- name: 'MemoryPool: PS Perm Gen used'
- type: JMX
- key: 'jmx["java.lang:type=MemoryPool,name=PS Perm Gen","Usage.used"]'
- history: 7d
- units: B
- description: 'Current memory usage'
- jmx_endpoint: 'service:jmx:rmi:///jndi/rmi://{HOST.CONN}:{HOST.PORT}/jmxrmi'
- tags:
- -
- tag: component
- value: memory-pool
- -
- uuid: 088933bc2f5d46008ae26f95e1a07ace
- name: 'MemoryPool: Tenured Gen committed'
- type: JMX
- key: 'jmx["java.lang:type=MemoryPool,name=Tenured Gen","Usage.committed"]'
- history: 7d
- units: B
- description: 'Current memory allocated'
- preprocessing:
- -
- type: DISCARD_UNCHANGED_HEARTBEAT
- parameters:
- - 10m
- jmx_endpoint: 'service:jmx:rmi:///jndi/rmi://{HOST.CONN}:{HOST.PORT}/jmxrmi'
- tags:
- -
- tag: component
- value: memory-pool
- -
- uuid: 0eddc89e4c6640dea5f958e75b779225
- name: 'MemoryPool: Tenured Gen maximum size'
- type: JMX
- key: 'jmx["java.lang:type=MemoryPool,name=Tenured Gen","Usage.max"]'
- history: 7d
- units: B
- description: 'Maximum amount of memory that can be used for memory management. This amount of memory is not guaranteed to be available if it is greater than the amount of committed memory. The Java virtual machine may fail to allocate memory even if the amount of used memory does not exceed this maximum size.'
- jmx_endpoint: 'service:jmx:rmi:///jndi/rmi://{HOST.CONN}:{HOST.PORT}/jmxrmi'
- tags:
- -
- tag: component
- value: memory-pool
- -
- uuid: 08cc0edf464c41dc9e19cbcf14c23012
- name: 'MemoryPool: Tenured Gen used'
- type: JMX
- key: 'jmx["java.lang:type=MemoryPool,name=Tenured Gen","Usage.used"]'
- history: 7d
- units: B
- description: 'Current memory usage'
- jmx_endpoint: 'service:jmx:rmi:///jndi/rmi://{HOST.CONN}:{HOST.PORT}/jmxrmi'
- tags:
- -
- tag: component
- value: memory-pool
- -
uuid: 4c847c1239654be7b4f4d03fbb45ea4f
name: 'OperatingSystem: File descriptors maximum count'
type: JMX
key: 'jmx["java.lang:type=OperatingSystem","MaxFileDescriptorCount"]'
history: 7d
+ username: '{$JMX.USER}'
+ password: '{$JMX.PASSWORD}'
description: 'This is the number of file descriptors we can have opened in the same process, as determined by the operating system. You can never have more file descriptors than this number.'
preprocessing:
-
@@ -816,6 +290,8 @@ zabbix_export:
type: JMX
key: 'jmx["java.lang:type=OperatingSystem","OpenFileDescriptorCount"]'
history: 7d
+ username: '{$JMX.USER}'
+ password: '{$JMX.PASSWORD}'
description: 'This is the number of opened file descriptors at the moment, if this reaches the MaxFileDescriptorCount, the application will throw an IOException: Too many open files. This could mean you''re are opening file descriptors and never closing them.'
jmx_endpoint: 'service:jmx:rmi:///jndi/rmi://{HOST.CONN}:{HOST.PORT}/jmxrmi'
tags:
@@ -830,6 +306,8 @@ zabbix_export:
history: 7d
value_type: FLOAT
units: '%'
+ username: '{$JMX.USER}'
+ password: '{$JMX.PASSWORD}'
description: 'ProcessCpuLoad represents the CPU load in this process.'
preprocessing:
-
@@ -857,6 +335,8 @@ zabbix_export:
type: JMX
key: 'jmx["java.lang:type=Runtime","Uptime"]'
history: 7d
+ username: '{$JMX.USER}'
+ password: '{$JMX.PASSWORD}'
preprocessing:
-
type: MULTIPLIER
@@ -887,6 +367,8 @@ zabbix_export:
history: 7d
trends: '0'
value_type: CHAR
+ username: '{$JMX.USER}'
+ password: '{$JMX.PASSWORD}'
preprocessing:
-
type: DISCARD_UNCHANGED_HEARTBEAT
@@ -917,6 +399,8 @@ zabbix_export:
history: 7d
trends: '0'
value_type: CHAR
+ username: '{$JMX.USER}'
+ password: '{$JMX.PASSWORD}'
preprocessing:
-
type: DISCARD_UNCHANGED_HEARTBEAT
@@ -933,6 +417,8 @@ zabbix_export:
type: JMX
key: 'jmx["java.lang:type=Threading","DaemonThreadCount"]'
history: 7d
+ username: '{$JMX.USER}'
+ password: '{$JMX.PASSWORD}'
description: 'Number of daemon threads running.'
preprocessing:
-
@@ -950,6 +436,8 @@ zabbix_export:
type: JMX
key: 'jmx["java.lang:type=Threading","PeakThreadCount"]'
history: 7d
+ username: '{$JMX.USER}'
+ password: '{$JMX.PASSWORD}'
description: 'Maximum number of threads being executed at the same time since the JVM was started or the peak was reset.'
jmx_endpoint: 'service:jmx:rmi:///jndi/rmi://{HOST.CONN}:{HOST.PORT}/jmxrmi'
tags:
@@ -962,6 +450,8 @@ zabbix_export:
type: JMX
key: 'jmx["java.lang:type=Threading","ThreadCount"]'
history: 7d
+ username: '{$JMX.USER}'
+ password: '{$JMX.PASSWORD}'
description: 'The number of threads running at the current moment.'
jmx_endpoint: 'service:jmx:rmi:///jndi/rmi://{HOST.CONN}:{HOST.PORT}/jmxrmi'
tags:
@@ -974,12 +464,201 @@ zabbix_export:
type: JMX
key: 'jmx["java.lang:type=Threading","TotalStartedThreadCount"]'
history: 7d
+ username: '{$JMX.USER}'
+ password: '{$JMX.PASSWORD}'
description: 'The number of threads started since the JVM was launched.'
jmx_endpoint: 'service:jmx:rmi:///jndi/rmi://{HOST.CONN}:{HOST.PORT}/jmxrmi'
tags:
-
tag: component
value: threading
+ discovery_rules:
+ -
+ uuid: 7e0c60c6b1b34b5c99fa446076f35c28
+ name: 'Garbage collector discovery'
+ type: JMX
+ key: 'jmx.discovery["beans","java.lang:name=*,type=GarbageCollector"]'
+ delay: 4h
+ username: '{$JMX.USER}'
+ password: '{$JMX.PASSWORD}'
+ description: 'Garbage collectors metrics discovery.'
+ item_prototypes:
+ -
+ uuid: 61ad48ae9013481184d33222c7660bef
+ name: 'GarbageCollector: {#JMXNAME} number of collections per second'
+ type: JMX
+ key: 'jmx["java.lang:name={#JMXNAME},type=GarbageCollector","CollectionCount"]'
+ history: 7d
+ value_type: FLOAT
+ username: '{$JMX.USER}'
+ password: '{$JMX.PASSWORD}'
+ description: 'Displays the total number of collections that have occurred per second.'
+ preprocessing:
+ -
+ type: CHANGE_PER_SECOND
+ parameters:
+ - ''
+ jmx_endpoint: 'service:jmx:rmi:///jndi/rmi://{HOST.CONN}:{HOST.PORT}/jmxrmi'
+ tags:
+ -
+ tag: collection
+ value: '{#JMXNAME}'
+ -
+ tag: component
+ value: garbage-collector
+ -
+ uuid: 8e3db2efbe714f918ece15216fae628b
+ name: 'GarbageCollector: {#JMXNAME} accumulated time spent in collection'
+ type: JMX
+ key: 'jmx["java.lang:name={#JMXNAME},type=GarbageCollector","CollectionTime"]'
+ history: 7d
+ value_type: FLOAT
+ units: s
+ username: '{$JMX.USER}'
+ password: '{$JMX.PASSWORD}'
+ description: 'Displays the approximate accumulated collection elapsed time, in seconds.'
+ preprocessing:
+ -
+ type: MULTIPLIER
+ parameters:
+ - '0.001'
+ -
+ type: DISCARD_UNCHANGED_HEARTBEAT
+ parameters:
+ - 10m
+ jmx_endpoint: 'service:jmx:rmi:///jndi/rmi://{HOST.CONN}:{HOST.PORT}/jmxrmi'
+ tags:
+ -
+ tag: collection
+ value: '{#JMXNAME}'
+ -
+ tag: component
+ value: garbage-collector
+ graph_prototypes:
+ -
+ uuid: 4794916f3ad84955a5406f9c6aea2792
+ name: 'GarbageCollector: Garbage Collector {#JMXNAME} collections per second'
+ graph_items:
+ -
+ color: 1A7C11
+ item:
+ host: 'Generic Java JMX'
+ key: 'jmx["java.lang:name={#JMXNAME},type=GarbageCollector","CollectionCount"]'
+ jmx_endpoint: 'service:jmx:rmi:///jndi/rmi://{HOST.CONN}:{HOST.PORT}/jmxrmi'
+ -
+ uuid: b5dfe8bb0a754289a716092ad305ceed
+ name: 'Memory pool discovery'
+ type: JMX
+ key: 'jmx.discovery["beans","java.lang:name=*,type=MemoryPool"]'
+ delay: 4h
+ username: '{$JMX.USER}'
+ password: '{$JMX.PASSWORD}'
+ filter:
+ conditions:
+ -
+ macro: '{#JMXNAME}'
+ value: '{$JMX.MEM.POOL.NAME.MATCHES}'
+ formulaid: A
+ description: 'Memory pools metrics discovery.'
+ item_prototypes:
+ -
+ uuid: 8b3da0f9b0b64b58b25ffed71a679ed0
+ name: 'Memory pool: {#JMXNAME} committed'
+ type: JMX
+ key: 'jmx["java.lang:name={#JMXNAME},type=MemoryPool","Usage.committed"]'
+ history: 7d
+ units: B
+ username: '{$JMX.USER}'
+ password: '{$JMX.PASSWORD}'
+ description: 'Current memory allocated.'
+ preprocessing:
+ -
+ type: DISCARD_UNCHANGED_HEARTBEAT
+ parameters:
+ - 10m
+ jmx_endpoint: 'service:jmx:rmi:///jndi/rmi://{HOST.CONN}:{HOST.PORT}/jmxrmi'
+ tags:
+ -
+ tag: component
+ value: memory
+ -
+ tag: pool
+ value: '{#JMXNAME}'
+ -
+ uuid: f8504be0098b41a6b789c67f88f1c861
+ name: 'Memory pool: {#JMXNAME} maximum size'
+ type: JMX
+ key: 'jmx["java.lang:name={#JMXNAME},type=MemoryPool","Usage.max"]'
+ history: 7d
+ value_type: FLOAT
+ units: B
+ username: '{$JMX.USER}'
+ password: '{$JMX.PASSWORD}'
+ description: 'Maximum amount of memory that can be used for memory management. This amount of memory is not guaranteed to be available if it is greater than the amount of committed memory. The Java virtual machine may fail to allocate memory even if the amount of used memory does not exceed this maximum size.'
+ preprocessing:
+ -
+ type: DISCARD_UNCHANGED_HEARTBEAT
+ parameters:
+ - 10m
+ jmx_endpoint: 'service:jmx:rmi:///jndi/rmi://{HOST.CONN}:{HOST.PORT}/jmxrmi'
+ tags:
+ -
+ tag: component
+ value: memory
+ -
+ tag: pool
+ value: '{#JMXNAME}'
+ -
+ uuid: 74f11991286a474b838898036ebb82e5
+ name: 'Memory pool: {#JMXNAME} used'
+ type: JMX
+ key: 'jmx["java.lang:name={#JMXNAME},type=MemoryPool","Usage.used"]'
+ history: 7d
+ units: B
+ username: '{$JMX.USER}'
+ password: '{$JMX.PASSWORD}'
+ description: 'Current memory usage.'
+ jmx_endpoint: 'service:jmx:rmi:///jndi/rmi://{HOST.CONN}:{HOST.PORT}/jmxrmi'
+ tags:
+ -
+ tag: component
+ value: memory
+ -
+ tag: pool
+ value: '{#JMXNAME}'
+ trigger_prototypes:
+ -
+ uuid: 60a9825fc01f4cc9bd79d306bb19e8e0
+ expression: 'min(/Generic Java JMX/jmx["java.lang:name={#JMXNAME},type=MemoryPool","Usage.used"],{$JMX.MP.USAGE.TIME:"{#JMXNAME}"})>(last(/Generic Java JMX/jmx["java.lang:name={#JMXNAME},type=MemoryPool","Usage.max"])*{$JMX.MP.USAGE.MAX:"{#JMXNAME}"}/100) and last(/Generic Java JMX/jmx["java.lang:name={#JMXNAME},type=MemoryPool","Usage.max"])>0'
+ name: 'Memory pool: {#JMXNAME} memory usage more than {$JMX.MP.USAGE.MAX:"{#JMXNAME}"}% for {$JMX.MP.USAGE.TIME:"{#JMXNAME}"}'
+ priority: WARNING
+ tags:
+ -
+ tag: scope
+ value: capacity
+ graph_prototypes:
+ -
+ uuid: 70552d982dfa4455ac8c5c5c847f6248
+ name: 'Memory pool: Memory pool {#JMXNAME}'
+ graph_items:
+ -
+ color: 1A7C11
+ item:
+ host: 'Generic Java JMX'
+ key: 'jmx["java.lang:name={#JMXNAME},type=MemoryPool","Usage.max"]'
+ -
+ sortorder: '1'
+ color: 2774A4
+ item:
+ host: 'Generic Java JMX'
+ key: 'jmx["java.lang:name={#JMXNAME},type=MemoryPool","Usage.committed"]'
+ -
+ sortorder: '2'
+ color: F63100
+ item:
+ host: 'Generic Java JMX'
+ key: 'jmx["java.lang:name={#JMXNAME},type=MemoryPool","Usage.used"]'
+ jmx_endpoint: 'service:jmx:rmi:///jndi/rmi://{HOST.CONN}:{HOST.PORT}/jmxrmi'
tags:
-
tag: class
@@ -1013,6 +692,10 @@ zabbix_export:
value: 10m
description: 'The time during which the Heap memory utilization may exceed the threshold.'
-
+ macro: '{$JMX.MEM.POOL.NAME.MATCHES}'
+ value: 'Old Gen|G1|Perm Gen|Code Cache|Tenured Gen'
+ description: 'This macro used in memory pool discovery as a filter.'
+ -
macro: '{$JMX.MP.USAGE.MAX}'
value: '85'
description: 'A threshold in percent for memory pools utilization trigger. Use a context to change the threshold for a specific pool.'
@@ -1028,37 +711,16 @@ zabbix_export:
macro: '{$JMX.NONHEAP.MEM.USAGE.TIME}'
value: 10m
description: 'The time during which the Non-heap memory utilization may exceed the threshold.'
- triggers:
- -
- uuid: fa84ae88918c4a21953a93052ebf7380
- expression: 'last(/Generic Java JMX/jmx["java.lang:type=GarbageCollector,name=ConcurrentMarkSweep","CollectionCount"])>last(/Generic Java JMX/jmx["java.lang:type=GarbageCollector,name=ParNew","CollectionCount"])'
- name: 'GarbageCollector: Concurrent Mark Sweep in fire fighting mode'
- priority: AVERAGE
- tags:
-
- tag: scope
- value: performance
- -
- uuid: 32f2c8687d634240b430bbbd7881e0d8
- expression: 'last(/Generic Java JMX/jmx["java.lang:type=GarbageCollector,name=MarkSweepCompact","CollectionCount"])>last(/Generic Java JMX/jmx["java.lang:type=GarbageCollector,name=Copy","CollectionCount"])'
- name: 'GarbageCollector: Mark Sweep Compact in fire fighting mode'
- priority: AVERAGE
- tags:
- -
- tag: scope
- value: performance
- -
- uuid: 3dd80e3ba2b843e1b26212239c23ca24
- expression: 'last(/Generic Java JMX/jmx["java.lang:type=GarbageCollector,name=PS MarkSweep","CollectionCount"])>last(/Generic Java JMX/jmx["java.lang:type=GarbageCollector,name=PS Scavenge","CollectionCount"])'
- name: 'GarbageCollector: PS Mark Sweep in fire fighting mode'
- priority: AVERAGE
- tags:
+ macro: '{$JMX.PASSWORD}'
+ description: 'JMX password.'
-
- tag: scope
- value: performance
+ macro: '{$JMX.USER}'
+ description: 'JMX username.'
+ triggers:
-
uuid: 69fda060b5004d12b6af0ba5f73cec6d
- expression: 'min(/Generic Java JMX/jmx["java.lang:type=Memory","HeapMemoryUsage.used"],{$JMX.HEAP.MEM.USAGE.TIME})>(last(/Generic Java JMX/jmx["java.lang:type=Memory","HeapMemoryUsage.max"])*{$JMX.HEAP.MEM.USAGE.MAX}/100)'
+ expression: 'min(/Generic Java JMX/jmx["java.lang:type=Memory","HeapMemoryUsage.used"],{$JMX.HEAP.MEM.USAGE.TIME})>(last(/Generic Java JMX/jmx["java.lang:type=Memory","HeapMemoryUsage.max"])*{$JMX.HEAP.MEM.USAGE.MAX}/100) and last(/Generic Java JMX/jmx["java.lang:type=Memory","HeapMemoryUsage.max"])>0'
name: 'Memory: Heap memory usage more than {$JMX.HEAP.USAGE.MAX}% for {$JMX.HEAP.MEM.USAGE.TIME}'
priority: WARNING
tags:
@@ -1067,7 +729,7 @@ zabbix_export:
value: capacity
-
uuid: 2b4dfda1100d4feeaa66218e57786f38
- expression: 'min(/Generic Java JMX/jmx["java.lang:type=Memory","NonHeapMemoryUsage.used"],{$JMX.NONHEAP.MEM.USAGE.TIME})>(last(/Generic Java JMX/jmx["java.lang:type=Memory","NonHeapMemoryUsage.max"])*{$JMX.NONHEAP.MEM.USAGE.MAX}/100)'
+ expression: 'min(/Generic Java JMX/jmx["java.lang:type=Memory","NonHeapMemoryUsage.used"],{$JMX.NONHEAP.MEM.USAGE.TIME})>(last(/Generic Java JMX/jmx["java.lang:type=Memory","NonHeapMemoryUsage.max"])*{$JMX.NONHEAP.MEM.USAGE.MAX}/100) and last(/Generic Java JMX/jmx["java.lang:type=Memory","NonHeapMemoryUsage.max"])>0'
name: 'Memory: Non-Heap memory usage more than {$JMX.NONHEAP.MEM.USAGE.MAX}% for {$JMX.NONHEAP.MEM.USAGE.TIME}'
priority: WARNING
tags:
@@ -1075,69 +737,6 @@ zabbix_export:
tag: scope
value: capacity
-
- uuid: e8efca02403d44de916b6266e06dd230
- expression: 'min(/Generic Java JMX/jmx["java.lang:type=MemoryPool,name=CMS Old Gen","Usage.used"],{$JMX.MP.USAGE.TIME:"CMS Old Gen"})>(last(/Generic Java JMX/jmx["java.lang:type=MemoryPool,name=CMS Old Gen","Usage.max"])*{$JMX.MP.USAGE.MAX:"CMS Old Gen"}/100)'
- name: 'MemoryPool: CMS Old Gen memory usage more than {$JMX.MP.USAGE.MAX:"CMS Old Gen"}% for {$JMX.MP.USAGE.TIME:"CMS Old Gen"}'
- priority: WARNING
- tags:
- -
- tag: scope
- value: capacity
- -
- uuid: 1c2d038eaa8546ee81e5498ee1b67433
- expression: 'min(/Generic Java JMX/jmx["java.lang:type=MemoryPool,name=CMS Perm Gen","Usage.used"],{$JMX.MP.USAGE.TIME:"CMS Perm Gen"})>(last(/Generic Java JMX/jmx["java.lang:type=MemoryPool,name=CMS Perm Gen","Usage.max"])*{$JMX.MP.USAGE.MAX:"CMS Perm Gen"}/100)'
- name: 'MemoryPool: CMS Perm Gen memory usage more than {$JMX.MP.USAGE.MAX:"CMS Perm Gen"}% for {$JMX.MP.USAGE.TIME:"CMS Perm Gen"}'
- priority: WARNING
- tags:
- -
- tag: scope
- value: capacity
- -
- uuid: 2624989d3a3340c1b8bcb3ba8e2c2a4a
- expression: 'min(/Generic Java JMX/jmx["java.lang:type=MemoryPool,name=Code Cache","Usage.used"],{$JMX.MP.USAGE.TIME:"Code Cache"})>(last(/Generic Java JMX/jmx["java.lang:type=MemoryPool,name=Code Cache","Usage.max"])*{$JMX.MP.USAGE.MAX:"Code Cache"}/100)'
- name: 'MemoryPool: Code Cache memory usage more than {$JMX.MP.USAGE.MAX:"Code Cache"}% for {$JMX.MP.USAGE.TIME:"Code Cache"}'
- priority: WARNING
- tags:
- -
- tag: scope
- value: capacity
- -
- uuid: 385f7b11df2c42d19a52502bd63c861f
- expression: 'min(/Generic Java JMX/jmx["java.lang:type=MemoryPool,name=Perm Gen","Usage.used"],{$JMX.MP.USAGE.TIME:"Perm Gen"})>(last(/Generic Java JMX/jmx["java.lang:type=MemoryPool,name=Perm Gen","Usage.max"])*{$JMX.MP.USAGE.MAX:"Perm Gen"}/100)'
- name: 'MemoryPool: Perm Gen memory usage more than {$JMX.MP.USAGE.MAX:"Perm Gen"}% for {$JMX.MP.USAGE.TIME:"Perm Gen"}'
- priority: WARNING
- tags:
- -
- tag: scope
- value: capacity
- -
- uuid: 00f060e8925946c3a1d9b0cdfae10f59
- expression: 'min(/Generic Java JMX/jmx["java.lang:type=MemoryPool,name=PS Old Gen","Usage.used"],{$JMX.MP.USAGE.TIME:"PS Old Gen"})>(last(/Generic Java JMX/jmx["java.lang:type=MemoryPool,name=PS Old Gen","Usage.max"])*{$JMX.MP.USAGE.MAX:"PS Old Gen"}/100)'
- name: 'MemoryPool: PS Old Gen memory usage more than {$JMX.MP.USAGE.MAX:"PS Old Gen"}% for {$JMX.MP.USAGE.TIME:"PS Old Gen"}'
- priority: WARNING
- tags:
- -
- tag: scope
- value: capacity
- -
- uuid: 2e10427bbac64a7a9d44344b6c862952
- expression: 'min(/Generic Java JMX/jmx["java.lang:type=MemoryPool,name=PS Perm Gen","Usage.used"],{$JMX.MP.USAGE.TIME:"PS Perm Gen"})>(last(/Generic Java JMX/jmx["java.lang:type=MemoryPool,name=PS Perm Gen","Usage.max"])*{$JMX.MP.USAGE.MAX:"PS Perm Gen"}/100)'
- name: 'MemoryPool: PS Perm Gen memory usage more than {$JMX.MP.USAGE.MAX:"PS Perm Gen"}% for {$JMX.MP.USAGE.TIME:"PS Perm Gen"}'
- priority: WARNING
- tags:
- -
- tag: scope
- value: capacity
- -
- uuid: ed73f2cee57c4f7d8c581190bd9a70a6
- expression: 'min(/Generic Java JMX/jmx["java.lang:type=MemoryPool,name=Tenured Gen","Usage.used"],{$JMX.MP.USAGE.TIME:"Tenured Gen"})>(last(/Generic Java JMX/jmx["java.lang:type=MemoryPool,name=Tenured Gen","Usage.max"])*{$JMX.MP.USAGE.MAX:"Tenured Gen"}/100)'
- name: 'MemoryPool: Tenured Gen memory usage more than {$JMX.MP.USAGE.MAX:"Tenured Gen"}% for {$JMX.MP.USAGE.TIME:"Tenured Gen"}'
- priority: WARNING
- tags:
- -
- tag: scope
- value: capacity
- -
uuid: 726a3b8a6209451b9a6cca63a3195a0c
expression: 'min(/Generic Java JMX/jmx["java.lang:type=OperatingSystem","OpenFileDescriptorCount"],{$JMX.FILE.DESCRIPTORS.TIME})>(last(/Generic Java JMX/jmx["java.lang:type=OperatingSystem","MaxFileDescriptorCount"])*{$JMX.FILE.DESCRIPTORS.MAX}/100)'
name: 'OperatingSystem: Opened file descriptor count more than {$JMX.FILE.DESCRIPTORS.MAX}% of maximum'
@@ -1169,192 +768,6 @@ zabbix_export:
host: 'Generic Java JMX'
key: 'jmx["java.lang:type=ClassLoading","LoadedClassCount"]'
-
- uuid: 9fdf00862d4b4a24bcc17eb0f2fb3f16
- name: 'GarbageCollector: Garbage Collector collections per second'
- graph_items:
- -
- color: 1A7C11
- item:
- host: 'Generic Java JMX'
- key: 'jmx["java.lang:type=GarbageCollector,name=ConcurrentMarkSweep","CollectionCount"]'
- -
- sortorder: '1'
- color: 2774A4
- item:
- host: 'Generic Java JMX'
- key: 'jmx["java.lang:type=GarbageCollector,name=Copy","CollectionCount"]'
- -
- sortorder: '2'
- color: F63100
- item:
- host: 'Generic Java JMX'
- key: 'jmx["java.lang:type=GarbageCollector,name=ParNew","CollectionCount"]'
- -
- sortorder: '3'
- color: A54F10
- item:
- host: 'Generic Java JMX'
- key: 'jmx["java.lang:type=GarbageCollector,name=MarkSweepCompact","CollectionCount"]'
- -
- sortorder: '4'
- color: FC6EA3
- item:
- host: 'Generic Java JMX'
- key: 'jmx["java.lang:type=GarbageCollector,name=PS MarkSweep","CollectionCount"]'
- -
- sortorder: '5'
- color: 6C59DC
- item:
- host: 'Generic Java JMX'
- key: 'jmx["java.lang:type=GarbageCollector,name=PS Scavenge","CollectionCount"]'
- -
- uuid: 959dfaec1af14f928146487873cba637
- name: 'MemoryPool: Memory Pool CMS Old Gen'
- graph_items:
- -
- color: 1A7C11
- item:
- host: 'Generic Java JMX'
- key: 'jmx["java.lang:type=MemoryPool,name=CMS Old Gen","Usage.max"]'
- -
- sortorder: '1'
- color: 2774A4
- item:
- host: 'Generic Java JMX'
- key: 'jmx["java.lang:type=MemoryPool,name=CMS Old Gen","Usage.committed"]'
- -
- sortorder: '2'
- color: F63100
- item:
- host: 'Generic Java JMX'
- key: 'jmx["java.lang:type=MemoryPool,name=CMS Old Gen","Usage.used"]'
- -
- uuid: ca71ee8bd5004f6aa55063456094acfe
- name: 'MemoryPool: Memory Pool CMS Perm Gen'
- graph_items:
- -
- color: 1A7C11
- item:
- host: 'Generic Java JMX'
- key: 'jmx["java.lang:type=MemoryPool,name=CMS Perm Gen","Usage.max"]'
- -
- sortorder: '1'
- color: 2774A4
- item:
- host: 'Generic Java JMX'
- key: 'jmx["java.lang:type=MemoryPool,name=CMS Perm Gen","Usage.committed"]'
- -
- sortorder: '2'
- color: F63100
- item:
- host: 'Generic Java JMX'
- key: 'jmx["java.lang:type=MemoryPool,name=CMS Perm Gen","Usage.used"]'
- -
- uuid: 32363c586f1a4cd1be2e87bc0c2cde99
- name: 'MemoryPool: Memory Pool Code Cache'
- graph_items:
- -
- color: 1A7C11
- item:
- host: 'Generic Java JMX'
- key: 'jmx["java.lang:type=MemoryPool,name=Code Cache","Usage.max"]'
- -
- sortorder: '1'
- color: 2774A4
- item:
- host: 'Generic Java JMX'
- key: 'jmx["java.lang:type=MemoryPool,name=Code Cache","Usage.committed"]'
- -
- sortorder: '2'
- color: F63100
- item:
- host: 'Generic Java JMX'
- key: 'jmx["java.lang:type=MemoryPool,name=Code Cache","Usage.used"]'
- -
- uuid: 0506ebace4454f9199e5c9ac60fffb28
- name: 'MemoryPool: Memory Pool Perm Gen'
- graph_items:
- -
- color: 1A7C11
- item:
- host: 'Generic Java JMX'
- key: 'jmx["java.lang:type=MemoryPool,name=Perm Gen","Usage.max"]'
- -
- sortorder: '1'
- color: 2774A4
- item:
- host: 'Generic Java JMX'
- key: 'jmx["java.lang:type=MemoryPool,name=Perm Gen","Usage.committed"]'
- -
- sortorder: '2'
- color: F63100
- item:
- host: 'Generic Java JMX'
- key: 'jmx["java.lang:type=MemoryPool,name=Perm Gen","Usage.used"]'
- -
- uuid: dd44791c7d3b4051ab47be938f9f57bc
- name: 'MemoryPool: Memory Pool PS Old Gen'
- graph_items:
- -
- color: 1A7C11
- item:
- host: 'Generic Java JMX'
- key: 'jmx["java.lang:type=MemoryPool,name=PS Old Gen","Usage.max"]'
- -
- sortorder: '1'
- color: 2774A4
- item:
- host: 'Generic Java JMX'
- key: 'jmx["java.lang:type=MemoryPool,name=PS Old Gen","Usage.committed"]'
- -
- sortorder: '2'
- color: F63100
- item:
- host: 'Generic Java JMX'
- key: 'jmx["java.lang:type=MemoryPool,name=PS Old Gen","Usage.used"]'
- -
- uuid: 3576b8bb968d4ee8820b332a0f1fd3bd
- name: 'MemoryPool: Memory Pool PS Perm Gen'
- graph_items:
- -
- color: 1A7C11
- item:
- host: 'Generic Java JMX'
- key: 'jmx["java.lang:type=MemoryPool,name=PS Perm Gen","Usage.max"]'
- -
- sortorder: '1'
- color: 2774A4
- item:
- host: 'Generic Java JMX'
- key: 'jmx["java.lang:type=MemoryPool,name=PS Perm Gen","Usage.committed"]'
- -
- sortorder: '2'
- color: F63100
- item:
- host: 'Generic Java JMX'
- key: 'jmx["java.lang:type=MemoryPool,name=PS Perm Gen","Usage.used"]'
- -
- uuid: 0ea8ef33ad55455d8a6e45ac3a52c064
- name: 'MemoryPool: Memory Pool Tenured Gen'
- graph_items:
- -
- color: 1A7C11
- item:
- host: 'Generic Java JMX'
- key: 'jmx["java.lang:type=MemoryPool,name=Tenured Gen","Usage.max"]'
- -
- sortorder: '1'
- color: 2774A4
- item:
- host: 'Generic Java JMX'
- key: 'jmx["java.lang:type=MemoryPool,name=Tenured Gen","Usage.committed"]'
- -
- sortorder: '2'
- color: F63100
- item:
- host: 'Generic Java JMX'
- key: 'jmx["java.lang:type=MemoryPool,name=Tenured Gen","Usage.used"]'
- -
uuid: 39c14cff77694bddb836b63609d9ae92
name: 'OperatingSystem: File Descriptors'
graph_items: