zabbix_export: version: '6.0' date: '2021-11-21T21:31:50Z' groups: - uuid: a571c0d144b14fd4a87a9d9b2aa9fcd6 name: Templates/Applications templates: - uuid: b414ef4ae6384efcb429604a0fb788e6 template: 'App ActiveMQ JMX' name: 'App ActiveMQ JMX' description: | ## Overview You can configure like the image; ![](http://prntscr.com/hk7sbu) ## Author Armagan Yaman groups: - name: Templates/Applications items: - uuid: 801b32db153b4ff1940883b26c295899 name: 'mem Heap Memory committed' type: JMX key: 'jmx["java.lang:type=Memory",HeapMemoryUsage.committed]' history: 1w units: B jmx_endpoint: 'service:jmx:rmi:///jndi/rmi://{HOST.CONN}:{HOST.PORT}/jmxrmi' tags: - tag: Application value: Memory - uuid: bdd4fc590c5e4c0a93d13674be9da1ae name: 'mem Heap Memory max' type: JMX key: 'jmx["java.lang:type=Memory",HeapMemoryUsage.max]' delay: 1h history: 1w units: B jmx_endpoint: 'service:jmx:rmi:///jndi/rmi://{HOST.CONN}:{HOST.PORT}/jmxrmi' tags: - tag: Application value: Memory - uuid: a37521bf3ff54c549746ae31a31903c7 name: 'mem Heap Memory used' type: JMX key: 'jmx["java.lang:type=Memory",HeapMemoryUsage.used]' history: 1w units: B jmx_endpoint: 'service:jmx:rmi:///jndi/rmi://{HOST.CONN}:{HOST.PORT}/jmxrmi' tags: - tag: Application value: Memory - uuid: 71db7255312545beb5a54dfed4c62f64 name: 'mem Non-Heap Memory committed' type: JMX key: 'jmx["java.lang:type=Memory",NonHeapMemoryUsage.committed]' history: 1w units: B jmx_endpoint: 'service:jmx:rmi:///jndi/rmi://{HOST.CONN}:{HOST.PORT}/jmxrmi' tags: - tag: Application value: Memory - uuid: 7b3ca59e319e4df2a390f5dd3b712271 name: 'mem Non-Heap Memory max' type: JMX key: 'jmx["java.lang:type=Memory",NonHeapMemoryUsage.max]' delay: 1h history: 1w units: B jmx_endpoint: 'service:jmx:rmi:///jndi/rmi://{HOST.CONN}:{HOST.PORT}/jmxrmi' tags: - tag: Application value: Memory - uuid: cefab6ce1719418895daa1953d1705eb name: 'mem Non-Heap Memory used' type: JMX key: 'jmx["java.lang:type=Memory",NonHeapMemoryUsage.used]' history: 1w units: B jmx_endpoint: 'service:jmx:rmi:///jndi/rmi://{HOST.CONN}:{HOST.PORT}/jmxrmi' tags: - tag: Application value: Memory - uuid: 255dbf7a5b9a4a02a6fb69160b731f90 name: 'mem Object Pending Finalization Count' type: JMX key: 'jmx["java.lang:type=Memory",ObjectPendingFinalizationCount]' history: 1w jmx_endpoint: 'service:jmx:rmi:///jndi/rmi://{HOST.CONN}:{HOST.PORT}/jmxrmi' tags: - tag: Application value: Memory - uuid: 1606d4b316454d1883447a466bc68354 name: 'os Max File Descriptor Count' type: JMX key: 'jmx["java.lang:type=OperatingSystem",MaxFileDescriptorCount]' delay: 1h history: 1w jmx_endpoint: 'service:jmx:rmi:///jndi/rmi://{HOST.CONN}:{HOST.PORT}/jmxrmi' tags: - tag: Application value: 'Operating System' - uuid: 5d5573b7764a4bcfa98aeb0938fca9bd name: 'os Open File Descriptor Count' type: JMX key: 'jmx["java.lang:type=OperatingSystem",OpenFileDescriptorCount]' history: 1w jmx_endpoint: 'service:jmx:rmi:///jndi/rmi://{HOST.CONN}:{HOST.PORT}/jmxrmi' tags: - tag: Application value: 'Operating System' - uuid: 5e5c4739abef459ca6389892fd57c7b1 name: 'os Process CPU Load' type: JMX key: 'jmx["java.lang:type=OperatingSystem",ProcessCpuLoad]' history: 1w value_type: FLOAT units: '%' preprocessing: - type: MULTIPLIER parameters: - '100' jmx_endpoint: 'service:jmx:rmi:///jndi/rmi://{HOST.CONN}:{HOST.PORT}/jmxrmi' tags: - tag: Application value: 'Operating System' triggers: - uuid: ef52b163f4c94f2cbea25af7ea33850b expression: 'last(/App ActiveMQ JMX/jmx["java.lang:type=OperatingSystem",ProcessCpuLoad])>70' name: '70% os Process CPU Load on {HOST.NAME}' priority: AVERAGE - uuid: 9ccf8cb847f24cb2b1d1ed85707ae41f name: 'jvm Uptime' type: JMX key: 'jmx["java.lang:type=Runtime",Uptime]' history: 1w units: uptime preprocessing: - type: MULTIPLIER parameters: - '0.001' jmx_endpoint: 'service:jmx:rmi:///jndi/rmi://{HOST.CONN}:{HOST.PORT}/jmxrmi' tags: - tag: Application value: Runtime triggers: - uuid: 5837f990ef3941bda3fc83ecfa7ee799 expression: 'nodata(/App ActiveMQ JMX/jmx["java.lang:type=Runtime",Uptime],5m)=1' name: '{HOST.NAME} is not reachable' priority: AVERAGE - uuid: df8a49a026fe42a584d2ffbf0961005a name: 'jvm Name' type: JMX key: 'jmx["java.lang:type=Runtime",VmName]' delay: 1h history: 1w trends: '0' value_type: CHAR jmx_endpoint: 'service:jmx:rmi:///jndi/rmi://{HOST.CONN}:{HOST.PORT}/jmxrmi' tags: - tag: Application value: Runtime triggers: - uuid: 244318158d024575ae1b9b8bd2af7bf8 expression: 'find(/App ActiveMQ JMX/jmx["java.lang:type=Runtime",VmName],,"like","Server")<>1' name: '{HOST.NAME} runs suboptimal VM type' priority: INFO - uuid: 8032a978b64f4c1c957b76f25b3472df name: 'jvm Version' type: JMX key: 'jmx["java.lang:type=Runtime",VmVersion]' delay: 1h history: 1w trends: '0' value_type: CHAR jmx_endpoint: 'service:jmx:rmi:///jndi/rmi://{HOST.CONN}:{HOST.PORT}/jmxrmi' tags: - tag: Application value: Runtime - uuid: 89919b9459224373a8bcfb3f53413576 name: 'th Daemon Thread Count' type: JMX key: 'jmx["java.lang:type=Threading",DaemonThreadCount]' history: 1w jmx_endpoint: 'service:jmx:rmi:///jndi/rmi://{HOST.CONN}:{HOST.PORT}/jmxrmi' tags: - tag: Application value: Threads - uuid: 80d26f8cd2974b85a0a4db6dc3dada10 name: 'th Peak Thread Count' type: JMX key: 'jmx["java.lang:type=Threading",PeakThreadCount]' history: 1w jmx_endpoint: 'service:jmx:rmi:///jndi/rmi://{HOST.CONN}:{HOST.PORT}/jmxrmi' tags: - tag: Application value: Threads - uuid: c31e0c4ea87b4499b3307a2d2627e4fa name: 'th Thread Count' type: JMX key: 'jmx["java.lang:type=Threading",ThreadCount]' history: 1w jmx_endpoint: 'service:jmx:rmi:///jndi/rmi://{HOST.CONN}:{HOST.PORT}/jmxrmi' tags: - tag: Application value: Threads - uuid: 99ccc973a6a04da89f7487d147e725e1 name: 'th Total Started Thread Count' type: JMX key: 'jmx["java.lang:type=Threading",TotalStartedThreadCount]' history: 1w jmx_endpoint: 'service:jmx:rmi:///jndi/rmi://{HOST.CONN}:{HOST.PORT}/jmxrmi' tags: - tag: Application value: Threads - uuid: 9f92bbc24cb24a35b1bcbb11ef93aea1 name: 'MemoryLimit for {$BRKNAME}' type: JMX key: 'jmx["org.apache.activemq:type=Broker,brokerName={$BRKNAME}",MemoryLimit]' delay: '3600' units: byte username: '{$JMX_USERNAME}' password: '{$JMX_PASSWORD}' jmx_endpoint: 'service:jmx:rmi:///jndi/rmi://{HOST.CONN}:{HOST.PORT}/jmxrmi' tags: - tag: Application value: 'Active MQ' - tag: Application value: Broker - uuid: 1ed324efaa0a42f9961d4718ebed1592 name: 'MemoryPercentUsage for {$BRKNAME}' type: JMX key: 'jmx["org.apache.activemq:type=Broker,brokerName={$BRKNAME}",MemoryPercentUsage]' delay: '60' units: '%' username: '{$JMX_USERNAME}' password: '{$JMX_PASSWORD}' jmx_endpoint: 'service:jmx:rmi:///jndi/rmi://{HOST.CONN}:{HOST.PORT}/jmxrmi' tags: - tag: Application value: 'Active MQ' - tag: Application value: Broker triggers: - uuid: d0955a273ec84378b1d23eed22cb3594 expression: 'last(/App ActiveMQ JMX/jmx["org.apache.activemq:type=Broker,brokerName={$BRKNAME}",MemoryPercentUsage])>{$AMQ_BROKER_MEM_USAGE_THRESHOLD}' name: 'MemoryPercentUsage >{$AMQ_BROKER_MEM_USAGE_THRESHOLD}% for broker {$BRKNAME}' priority: HIGH - uuid: bc65f51b7eae40bfbd85efa6e411b4c9 name: 'StoreLimit for {$BRKNAME}' type: JMX key: 'jmx["org.apache.activemq:type=Broker,brokerName={$BRKNAME}",StoreLimit]' delay: '3600' units: byte username: '{$JMX_USERNAME}' password: '{$JMX_PASSWORD}' jmx_endpoint: 'service:jmx:rmi:///jndi/rmi://{HOST.CONN}:{HOST.PORT}/jmxrmi' tags: - tag: Application value: 'Active MQ' - tag: Application value: Broker - uuid: 0365e67960f54abba42ae3d8e8fa4903 name: 'StorePercentUsage for {$BRKNAME}' type: JMX key: 'jmx["org.apache.activemq:type=Broker,brokerName={$BRKNAME}",StorePercentUsage]' delay: '60' units: '%' username: '{$JMX_USERNAME}' password: '{$JMX_PASSWORD}' jmx_endpoint: 'service:jmx:rmi:///jndi/rmi://{HOST.CONN}:{HOST.PORT}/jmxrmi' tags: - tag: Application value: 'Active MQ' - tag: Application value: Broker triggers: - uuid: 199f5c7182ba475ea963471f21eb9770 expression: 'last(/App ActiveMQ JMX/jmx["org.apache.activemq:type=Broker,brokerName={$BRKNAME}",StorePercentUsage])>{$AMQ_BROKER_STORE_USAGE_THRESHOLD}' name: 'StorePercentUsage >{$AMQ_BROKER_STORE_USAGE_THRESHOLD}% for broker {$BRKNAME}' priority: HIGH - uuid: 1af58894081b41eeb334cf50f1231d42 name: 'TempLimit for {$BRKNAME}' type: JMX key: 'jmx["org.apache.activemq:type=Broker,brokerName={$BRKNAME}",TempLimit]' delay: '3600' units: byte username: '{$JMX_USERNAME}' password: '{$JMX_PASSWORD}' jmx_endpoint: 'service:jmx:rmi:///jndi/rmi://{HOST.CONN}:{HOST.PORT}/jmxrmi' tags: - tag: Application value: 'Active MQ' - tag: Application value: Broker - uuid: b8b3e2e869a84800a5834fbdb376d9cf name: 'TempPercentUsage for {$BRKNAME}' type: JMX key: 'jmx["org.apache.activemq:type=Broker,brokerName={$BRKNAME}",TempPercentUsage]' delay: '60' units: '%' username: '{$JMX_USERNAME}' password: '{$JMX_PASSWORD}' jmx_endpoint: 'service:jmx:rmi:///jndi/rmi://{HOST.CONN}:{HOST.PORT}/jmxrmi' tags: - tag: Application value: 'Active MQ' - tag: Application value: Broker triggers: - uuid: cc7c362405f84f229c3a350d6aad8757 expression: 'last(/App ActiveMQ JMX/jmx["org.apache.activemq:type=Broker,brokerName={$BRKNAME}",TempPercentUsage])>{$AMQ_BROKER_TMP_USAGE_THRESHOLD}' name: 'TempPercentUsage >{$AMQ_BROKER_TMP_USAGE_THRESHOLD}% for broker {$BRKNAME}' priority: HIGH - uuid: 1762d4b6aad44f0ca082bc959e71cf5c name: 'TotalConsumerCount for {$BRKNAME}' type: JMX key: 'jmx["org.apache.activemq:type=Broker,brokerName={$BRKNAME}",TotalConsumerCount]' delay: '60' username: '{$JMX_USERNAME}' password: '{$JMX_PASSWORD}' jmx_endpoint: 'service:jmx:rmi:///jndi/rmi://{HOST.CONN}:{HOST.PORT}/jmxrmi' tags: - tag: Application value: 'Active MQ' - tag: Application value: Broker - uuid: 95f15d2a4e78486faa74b45dd1616f11 name: 'TotalDequeueCount per minute for {$BRKNAME}' type: JMX key: 'jmx["org.apache.activemq:type=Broker,brokerName={$BRKNAME}",TotalDequeueCount]' delay: 30s value_type: FLOAT username: '{$JMX_USERNAME}' password: '{$JMX_PASSWORD}' jmx_endpoint: 'service:jmx:rmi:///jndi/rmi://{HOST.CONN}:{HOST.PORT}/jmxrmi' tags: - tag: Application value: 'Active MQ' - tag: Application value: Broker - uuid: f3891b1964464cad96480bc37fe82f3b name: 'TotalEnqueueCount per minute for {$BRKNAME}' type: JMX key: 'jmx["org.apache.activemq:type=Broker,brokerName={$BRKNAME}",TotalEnqueueCount]' delay: 30s username: '{$JMX_USERNAME}' password: '{$JMX_PASSWORD}' jmx_endpoint: 'service:jmx:rmi:///jndi/rmi://{HOST.CONN}:{HOST.PORT}/jmxrmi' tags: - tag: Application value: 'Active MQ' - tag: Application value: Broker - uuid: fff2297c0d7b4797aa6375ed82ecc9fa name: 'TotalMessageCount per minute for {$BRKNAME}' type: JMX key: 'jmx["org.apache.activemq:type=Broker,brokerName={$BRKNAME}",TotalMessageCount]' delay: 30s username: '{$JMX_USERNAME}' password: '{$JMX_PASSWORD}' jmx_endpoint: 'service:jmx:rmi:///jndi/rmi://{HOST.CONN}:{HOST.PORT}/jmxrmi' tags: - tag: Application value: 'Active MQ' - tag: Application value: Broker - uuid: 33a2d216085b45cea4d6a09f1a9362f0 name: 'Size of {$BRKNAME} Kaha DB' type: JMX key: 'jmx["org.apache.activemq:type=Broker,brokerName={$BRKNAME},service=PersistenceAdapter,instanceName=KahaDBPersistenceAdapter[/kahadb_Index_/kahadb]",Size]' delay: '60' units: byte username: '{$JMX_USERNAME}' password: '{$JMX_PASSWORD}' jmx_endpoint: 'service:jmx:rmi:///jndi/rmi://{HOST.CONN}:{HOST.PORT}/jmxrmi' tags: - tag: Application value: 'Active MQ' - uuid: 249d94cbdf364862a10eabdf30269445 name: 'AverageEnqueueTime for {$BRKNAME}' type: JMX key: 'jmx["org.apache.activemq:type=Destination,brokerName={$BRKNAME}",AverageEnqueueTime]' delay: '300' value_type: FLOAT username: '{$JMX_USERNAME}' password: '{$JMX_PASSWORD}' jmx_endpoint: 'service:jmx:rmi:///jndi/rmi://{HOST.CONN}:{HOST.PORT}/jmxrmi' tags: - tag: Application value: 'Active MQ' - tag: Application value: Destination - uuid: e0b5f6c302254b3cb7faa4eeec227091 name: 'ConsumerCount for {$BRKNAME}' type: JMX key: 'jmx["org.apache.activemq:type=Destination,brokerName={$BRKNAME}",ConsumerCount]' delay: '60' username: '{$JMX_USERNAME}' password: '{$JMX_PASSWORD}' jmx_endpoint: 'service:jmx:rmi:///jndi/rmi://{HOST.CONN}:{HOST.PORT}/jmxrmi' tags: - tag: Application value: 'Active MQ' - tag: Application value: Destination - uuid: cb180e2151944b18b81ea7fc174cea19 name: 'DequeueCount per minute for {$BRKNAME}' type: JMX key: 'jmx["org.apache.activemq:type=Destination,brokerName={$BRKNAME}",DequeueCount]' delay: 30s value_type: FLOAT username: '{$JMX_USERNAME}' password: '{$JMX_PASSWORD}' jmx_endpoint: 'service:jmx:rmi:///jndi/rmi://{HOST.CONN}:{HOST.PORT}/jmxrmi' tags: - tag: Application value: 'Active MQ' - tag: Application value: Destination - uuid: 4f1735ea8a2947d4b2af6d169492a583 name: 'EnqueueCount per minute for {$BRKNAME}' type: JMX key: 'jmx["org.apache.activemq:type=Destination,brokerName={$BRKNAME}",EnqueueCount]' delay: 30s value_type: FLOAT username: '{$JMX_USERNAME}' password: '{$JMX_PASSWORD}' jmx_endpoint: 'service:jmx:rmi:///jndi/rmi://{HOST.CONN}:{HOST.PORT}/jmxrmi' tags: - tag: Application value: 'Active MQ' - tag: Application value: Destination - uuid: 7a2d37ef6cd248ff9d91921bf04004f2 name: 'ExpiredCount per minute for {$BRKNAME}' type: JMX key: 'jmx["org.apache.activemq:type=Destination,brokerName={$BRKNAME}",ExpiredCount]' delay: 30s value_type: FLOAT username: '{$JMX_USERNAME}' password: '{$JMX_PASSWORD}' jmx_endpoint: 'service:jmx:rmi:///jndi/rmi://{HOST.CONN}:{HOST.PORT}/jmxrmi' tags: - tag: Application value: 'Active MQ' - tag: Application value: Destination - uuid: 4537e05e97214f9a993fc267615e8c5f name: 'ProducerCount for {$BRKNAME}' type: JMX key: 'jmx["org.apache.activemq:type=Destination,brokerName={$BRKNAME}",ProducerCount]' delay: '60' username: '{$JMX_USERNAME}' password: '{$JMX_PASSWORD}' jmx_endpoint: 'service:jmx:rmi:///jndi/rmi://{HOST.CONN}:{HOST.PORT}/jmxrmi' tags: - tag: Application value: 'Active MQ' - tag: Application value: Destination - uuid: 313512e9e2b643e9a505894e223601a3 name: 'QueueSize for {$BRKNAME}' type: JMX key: 'jmx["org.apache.activemq:type=Destination,brokerName={$BRKNAME}",QueueSize]' delay: '60' username: '{$JMX_USERNAME}' password: '{$JMX_PASSWORD}' jmx_endpoint: 'service:jmx:rmi:///jndi/rmi://{HOST.CONN}:{HOST.PORT}/jmxrmi' tags: - tag: Application value: 'Active MQ' - tag: Application value: Destination macros: - macro: '{$AMQ_BROKER_MEM_USAGE_THRESHOLD}' value: '85' - macro: '{$AMQ_BROKER_STORE_USAGE_THRESHOLD}' value: '85' - macro: '{$AMQ_BROKER_TMP_USAGE_THRESHOLD}' value: '85' - macro: '{$BRKNAME}' value: none triggers: - uuid: 935374a112fd4a8dbdcf8ac9a2219acb expression: 'last(/App ActiveMQ JMX/jmx["java.lang:type=Memory",HeapMemoryUsage.used])>(last(/App ActiveMQ JMX/jmx["java.lang:type=Memory",HeapMemoryUsage.max])*0.7)' name: '70% mem Heap Memory used on {HOST.NAME}' priority: AVERAGE - uuid: d6c69322b98843e3878e28823ed78aea expression: 'last(/App ActiveMQ JMX/jmx["java.lang:type=Memory",NonHeapMemoryUsage.used])>(last(/App ActiveMQ JMX/jmx["java.lang:type=Memory",NonHeapMemoryUsage.max])*0.7)' name: '70% mem Non-Heap Memory used on {HOST.NAME}' priority: AVERAGE - uuid: 8af9231b53be4229ae56286d5f6aa2cd expression: 'last(/App ActiveMQ JMX/jmx["java.lang:type=OperatingSystem",OpenFileDescriptorCount])>(last(/App ActiveMQ JMX/jmx["java.lang:type=OperatingSystem",MaxFileDescriptorCount])*0.7)' name: '70% os Opened File Descriptor Count used on {HOST.NAME}' priority: AVERAGE - uuid: e2195966530e40b58b5f24f8a7e7bec2 expression: 'last(/App ActiveMQ JMX/jmx["java.lang:type=Memory",HeapMemoryUsage.committed])=last(/App ActiveMQ JMX/jmx["java.lang:type=Memory",HeapMemoryUsage.max])' name: 'mem Heap Memory fully committed on {HOST.NAME}' priority: WARNING - uuid: aa530fdb50144524a96eb003420b7514 expression: 'last(/App ActiveMQ JMX/jmx["java.lang:type=Memory",NonHeapMemoryUsage.committed])=last(/App ActiveMQ JMX/jmx["java.lang:type=Memory",NonHeapMemoryUsage.max])' name: 'mem Non-Heap Memory fully committed on {HOST.NAME}' priority: WARNING graphs: - uuid: 96584fb9f2404c46ad33da142f89ab75 name: 'File Descriptors' graph_items: - color: C80000 item: host: 'App ActiveMQ JMX' key: 'jmx["java.lang:type=OperatingSystem",MaxFileDescriptorCount]' - sortorder: '1' color: 00C800 item: host: 'App ActiveMQ JMX' key: 'jmx["java.lang:type=OperatingSystem",OpenFileDescriptorCount]' - uuid: 364f6a3612aa4a758950e704d56a9406 name: Threads graph_items: - color: C80000 item: host: 'App ActiveMQ JMX' key: 'jmx["java.lang:type=Threading",PeakThreadCount]' - sortorder: '1' color: 00C800 item: host: 'App ActiveMQ JMX' key: 'jmx["java.lang:type=Threading",DaemonThreadCount]' - sortorder: '2' color: 0000C8 item: host: 'App ActiveMQ JMX' key: 'jmx["java.lang:type=Threading",ThreadCount]'