turanalmammadov opened a new pull request, #4041:
URL: https://github.com/apache/hertzbeat/pull/4041
## What does this PR do?
Adds a new `node_alarms` metric set to the RabbitMQ monitoring definition,
which polls the `/api/nodes` endpoint to surface critical node-level alarm
states.
### Changes
- **`app-rabbitmq.yml`**: Added `node_alarms` metric set (priority 4)
querying `/api/nodes`, exposing:
- `name` – RabbitMQ node name
- `disk_free_alarm` – whether disk-free alarm is triggered
- `mem_alarm` – whether memory alarm is triggered
- `running` – whether the node is running
- `type` – node type (`disc` or `ram`)
- **`home/docs/help/rabbitmq.md`**: Added `node_alarms` metric table
(English)
- **`home/i18n/zh-cn/.../rabbitmq.md`**: Added `node_alarms` metric table
(Chinese)
### Why is this needed?
RabbitMQ triggers memory and disk alarms that block message publishing.
Monitoring these alarms in HertzBeat lets operators detect and respond to
resource pressure before it causes service outages.
Made with [Cursor](https://cursor.com)
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]