master
conf 65 lines 1.91 KB
Raw
1 # WebSphere MicroProfile health alerts
2
3 # JVM heap utilization
4 template: websphere_mp_heap_utilization
5 on: websphere_mp.jvm_heap_utilization
6 class: Utilization
7 type: Application Server
8 component: WebSphere MP
9 lookup: average -5m unaligned of utilization
10 units: %
11 every: 30s
12 warn: $this > 80
13 crit: $this > 90
14 delay: down 15m multiplier 1.5 max 1h
15 summary: WebSphere MP JVM heap utilization
16 info: MicroProfile heap utilization is ${value}%
17 to: webmaster
18
19 # JVM CPU usage
20 template: websphere_mp_cpu_usage
21 on: websphere_mp.cpu_usage
22 class: Utilization
23 type: Application Server
24 component: WebSphere MP
25 lookup: average -5m unaligned of utilization
26 units: %
27 every: 30s
28 warn: $this > 80
29 crit: $this > 90
30 delay: down 15m multiplier 1.5 max 1h
31 summary: WebSphere MP CPU utilization
32 info: MicroProfile-reported CPU utilization is ${value}%
33 to: webmaster
34
35 # Thread pool saturation
36 template: websphere_mp_threadpool_utilization
37 on: websphere_mp.threadpool_usage
38 class: Utilization
39 type: Application Server
40 component: WebSphere MP
41 calc: ($active + $idle > 0) ? ($active * 100 / ($active + $idle)) : 0
42 units: %
43 every: 30s
44 warn: $this > 85
45 crit: $this > 95
46 delay: down 15m multiplier 1.5 max 1h
47 summary: WebSphere MP thread pool utilization
48 info: MicroProfile thread pool active threads are ${value}% of capacity
49 to: webmaster
50
51 # REST endpoint response time
52 template: websphere_mp_rest_response_time
53 on: websphere_mp.rest_response_time
54 class: Latency
55 type: Web Server
56 component: WebSphere MP
57 lookup: average -5m unaligned of average
58 units: ms
59 every: 30s
60 warn: $this > 1000
61 crit: $this > 5000
62 delay: down 15m multiplier 1.5 max 1h
63 summary: WebSphere MP REST ${label:method} ${label:endpoint} response time
64 info: Average response time for ${label:method} ${label:endpoint} is ${value}ms
65 to: webmaster