AEM 6.4 | JMX MBean OPTIMAL Threshold value | Email Alert Notification
Hi all,
We are trying to do analysis on AEM System Monitoring Metrics and wanted to generate Alerts (like Email Notifications). Wanted to collate Optimal threshold value (WARN LEVEL and CRITICAL LEVEL) of each of these MBean Metrics. Meaning if the current value of MBean goes above OPTIMAL THRESHOLD value then email alert will be sent.
Refer this page : https://cqdump.wordpress.com/category/tipstricks/
And in OSGI here we get all System Stats
Wanted to know if there is any documentation of what should be the RECOMMENDED OPTIMAL .
values for each of these MBean. Below attribute list for your reference :
Thanks for helping.
| Repository Statistics MBean (RepositoryStats) | ||||
| SR. | Parameter Title | Parameter Name | THRESHOLD VALUE (WARN LEVEL) | THRESHOLD VALUE (CRITICAL LEVEL) |
| 1 | Average Session Read Duration (ns) | SessionReadAverage | ||
| 2 | Number of Session Writes | SessionWriteCount | ||
| 3 | Observation Queue Length | ObservationQueueMaxLength | ||
| 4 | Number of Session Reads | SessionReadCount | ||
| 5 | Session Write Duration (ns) | SessionWriteDuration | ||
| 6 | Average Event Processing Duration (ns) | ObservationEventAverage | ||
| 7 | Event Processing Duration (ns) | ObservationEventDuration | ||
| 8 | Number of Events | ObservationEventCount | ||
| 9 | Average Session Write Duration (ns) | SessionWriteAverage | ||
| 10 | Session Read Duration (ns) | SessionReadDuration | ||
| 11 | Number of Active Sessions | SessionCount | ||
| 12 | Query Duration (ms) | QueryDuration | ||
| 13 | Number of Session Logins | SessionLogin | ||
| 14 | Number of Queries | QueryCount | ||
| 15 | Average Query Duration (ms) | QueryAverage | ||
| Index Statistics MBean (IndexStats) | ||||
| SR. | Parameter Title | Parameter Name | THRESHOLD VALUE (WARN LEVEL) | THRESHOLD VALUE (CRITICAL LEVEL) |
| 1 | Number of Indexing Operations | ExecutionCount | ||
| 2 | Indexed Nodes Count | IndexedNodesCount | ||
| FileStore Statistics MBean (FileStoreStats) | ||||
| SR. | Parameter Title | Parameter Name | THRESHOLD VALUE (WARN LEVEL) | THRESHOLD VALUE (CRITICAL LEVEL) |
| 1 | Segment Writes | WriteStats | ||
| 2 | Journal Writes | JournalWriteStatsAsCompositeData | ||
| 3 | Repository Size (bytes) | RepositorySize | ||
| Granite System Statistics MBean (GraniteSystemStats) | ||||
| SR. | Parameter Title | Parameter Name | THRESHOLD VALUE (WARN LEVEL) | THRESHOLD VALUE (CRITICAL LEVEL) |
| 1 | Heap Committed (bytes) | HeapStatistics.HEAP_COMMITTED_AVERAGE | ||
| 2 | Heap Init (bytes) | HeapStatistics.HEAP_INIT_AVERAGE | ||
| 3 | Heap Max (bytes) | HeapStatistics.HEAP_MAX_AVERAGE | ||
| 4 | Heap Used (bytes) | HeapStatistics.HEAP_USED_AVERAGE | ||
| 5 | Non-Heap Committed (bytes) | NonHeapStatistics.NON_HEAP_COMMITTED_AVERAGE | ||
| 6 | Non-Heap Init (bytes) | NonHeapStatistics.NON_HEAP_INIT_AVERAGE | ||
| 7 | Non-Heap Max (bytes) | NonHeapStatistics.NON_HEAP_MAX_AVERAGE | ||
| 8 | Non-Heap Used (bytes) | NonHeapStatistics.NON_HEAP_USED_AVERAGE | ||
| 9 | Total Disk Space (bytes) | SystemStatistics.DISK_TOTAL_SPACE_AVERAGE | ||
| 10 | Usable Disk Space (bytes) | SystemStatistics.DISK_USABLE_SPACE_AVERAGE | ||
| SR. | Parameter Title | Parameter Name | THRESHOLD VALUE (WARN LEVEL) | THRESHOLD VALUE (CRITICAL LEVEL) |
| 1 | Free Physical Memory Size (bytes) | SystemStatistics.FREE_PHYSICAL_MEMORY_SIZE_AVERAGE | ||
| 2 | Open File Descriptor Count | SystemStatistics.OPEN_FILE_DESCRIPTOR_COUNT_AVERAGE | ||
| 3 | Process CPU Load | SystemStatistics.PROCESS_CPU_LOAD_PERCENTAGE_AVERAGE | ||
| 4 | Process CPU Time | SystemStatistics.PROCESS_CPU_TIME_AVERAGE | ||
| 5 | System CPU Load | SystemStatistics.SYSTEM_CPU_LOAD_PERCENTAGE_AVERAGE | ||
| 6 | Total Physical Memory Size (bytes) | SystemStatistics.TOTAL_PHYSICAL_MEMORY_SIZE_AVERAGE | ||
| 7 | Code Cache Committed (bytes) | MemoryPoolStatistics.CODE_CACHE_COMMITTED_AVERAGE | ||
| 8 | Code Cache Init (bytes) | MemoryPoolStatistics.CODE_CACHE_INIT_AVERAGE | ||
| 9 | Code Cache Max (bytes) | MemoryPoolStatistics.CODE_CACHE_MAX_AVERAGE | ||
| 10 | Code Cache Used (bytes) | MemoryPoolStatistics.CODE_CACHE_USED_AVERAGE | ||
| SR. | Parameter Title | Parameter Name | THRESHOLD VALUE (WARN LEVEL) | THRESHOLD VALUE (CRITICAL LEVEL) |
| 1 | Compressed Class Space Committed (bytes) | MemoryPoolStatistics.COMPRESSED_CLASS_SPACE_COMMITTED_AVERAGE | ||
| 2 | Compressed Class Space Init (bytes) | MemoryPoolStatistics.COMPRESSED_CLASS_SPACE_INIT_AVERAGE | ||
| 3 | Compressed Class Space Max (bytes) | MemoryPoolStatistics.COMPRESSED_CLASS_SPACE_MAX_AVERAGE | ||
| 4 | Compressed Class Space Used (bytes) | MemoryPoolStatistics.COMPRESSED_CLASS_SPACE_USED_AVERAGE | ||
| 5 | Metaspace Committed (bytes) | MemoryPoolStatistics.METASPACE_COMMITTED_AVERAGE | ||
| 6 | Metaspace Init (bytes) | MemoryPoolStatistics.METASPACE_INIT_AVERAGE | ||
| 7 | Metaspace Max (bytes) | MemoryPoolStatistics.METASPACE_MAX_AVERAGE | ||
| 8 | Metaspace Used (bytes) | MemoryPoolStatistics.METASPACE_USED_AVERAGE | ||
| 9 | PS Eden Space Committed (bytes) | MemoryPoolStatistics.PS_EDEN_SPACE_COMMITTED_AVERAGE | ||
| 10 | PS Eden Space Init (bytes) | MemoryPoolStatistics.PS_EDEN_SPACE_INIT_AVERAGE | ||
| SR. | Parameter Title | Parameter Name | THRESHOLD VALUE (WARN LEVEL) | THRESHOLD VALUE (CRITICAL LEVEL) |
| 1 | PS Eden Space Max (bytes) | MemoryPoolStatistics.PS_EDEN_SPACE_MAX_AVERAGE | ||
| 2 | PS Eden Space Used (bytes) | MemoryPoolStatistics.PS_EDEN_SPACE_USED_AVERAGE | ||
| 3 | PS Old Generation Committed (bytes) | MemoryPoolStatistics.PS_OLD_GEN_COMMITTED_AVERAGE | ||
| 4 | PS Old Generation Init (bytes) | MemoryPoolStatistics.PS_OLD_GEN_INIT_AVERAGE | ||
| 5 | PS Old Generation Max (bytes) | MemoryPoolStatistics.PS_OLD_GEN_MAX_AVERAGE | ||
| 6 | PS Old Generation Used (bytes) | MemoryPoolStatistics.PS_OLD_GEN_USED_AVERAGE | ||
| 7 | PS Survivor Space Committed (bytes) | MemoryPoolStatistics.PS_SURVIVOR_SPACE_COMMITTED_AVERAGE | ||
| 8 | PS Survivor Space Init (bytes) | MemoryPoolStatistics.PS_SURVIVOR_SPACE_INIT_AVERAGE | ||
| 9 | PS Survivor Space Max (bytes) | MemoryPoolStatistics.PS_SURVIVOR_SPACE_MAX_AVERAGE | ||
| 10 | PS Survivor Space Used (bytes) | MemoryPoolStatistics.PS_SURVIVOR_SPACE_USED_AVERAGE |