-
Problem report
-
Resolution: Unresolved
-
Trivial
-
None
-
6.0.41, 7.0.20
-
None
Steps to reproduce
This applies to at least the zabbix6.0 and zabbix 7.0 version of rabbitmq_agent template.
Both templates, `RabbitMQ node by Zabbix agent`, & `RabbitMQ cluster by Zabbix agent` have item prototypes for `Item prototypes for Health Check 3.8.10+ discovery`.
Those templates have pre-processing steps that match a regex of the following form
HTTP\/1\.1\b\s(\d+), returning the first match block to get status code.
This is too restrictive, in our case we have a rabbit setup behind haproxy, returning HTTP/2 + status codes.
I suggest these regexs should be
HTTP\/\d+(.\d+)?\b\s(\d+), returning the second block
There is one of these in the cluster template, and 5 in the node template that need fixing.
The cluster item prototype.
- RabbitMQ: Healthcheck: alarms in effect in the cluster{#SINGLETON}
The node template item prototypes.
- RabbitMQ: Healthcheck: expiration date on the certificates{#SINGLETON}
- RabbitMQ: Healthcheck: local alarms in effect on this node{#SINGLETON}
- RabbitMQ: Healthcheck: classic mirrored queues without synchronized mirrors online{#SINGLETON}
- RabbitMQ: Healthcheck: queues with minimum online quorum{#SINGLETON}
- RabbitMQ: Healthcheck: virtual hosts on this node{#SINGLETON}