| 1 | # IBM MQ health alerts |
| 2 | |
| 3 | # Queue manager availability |
| 4 | template: mq_queue_manager_down |
| 5 | on: mq.qmgr.status |
| 6 | class: Availability |
| 7 | type: Message Queue |
| 8 | component: IBM MQ |
| 9 | calc: $status |
| 10 | units: status |
| 11 | every: 30s |
| 12 | crit: $this < 1 |
| 13 | summary: IBM MQ queue manager status |
| 14 | info: Queue manager status value is ${value} (0=down, 1=running) |
| 15 | to: sysadmin |
| 16 | |
| 17 | # Log utilization |
| 18 | template: mq_log_utilization |
| 19 | on: mq.qmgr.log_utilization |
| 20 | class: Utilization |
| 21 | type: Message Queue |
| 22 | component: IBM MQ |
| 23 | lookup: average -5m unaligned of used |
| 24 | units: % |
| 25 | every: 1m |
| 26 | warn: $this > 80 |
| 27 | crit: $this > 90 |
| 28 | delay: down 30m multiplier 1.5 max 2h |
| 29 | summary: IBM MQ queue manager log utilization |
| 30 | info: Queue manager log utilization is ${value}% |
| 31 | to: dba |
| 32 | |
| 33 | # Queue depth percentage |
| 34 | template: mq_queue_depth_percentage |
| 35 | on: mq.queue.depth_percentage |
| 36 | class: Utilization |
| 37 | type: Message Queue |
| 38 | component: IBM MQ |
| 39 | lookup: max -5m unaligned of percentage |
| 40 | units: % |
| 41 | every: 1m |
| 42 | warn: $this > 80 |
| 43 | crit: $this > 90 |
| 44 | delay: down 15m multiplier 1.5 max 2h |
| 45 | summary: IBM MQ queue ${label:queue} depth percentage |
| 46 | info: Queue ${label:queue} is at ${value}% of its configured depth |
| 47 | to: sysadmin |