charm-rabbitmq-server/files
Tianqi 9376aeb8e6 Handle non-uniform queue stats output
RabbitMQ sesrver sometimes creates non-uniform outputs that nrpe
can't parse. Instead of breaking the check, this commit outputs
the error messages and continue the check.

This problem is most likely caused by queue state being
"down" [1]. However, because the current charm doesn't show such
information and the bug is hard to manually reproduce, this
commit adds the state attribute when creating queue_state file
for future debugging.

[1] https://www.rabbitmq.com/rabbitmqctl.8.html#state_2

Closes-Bug: #1850948
Change-Id: Iaa493c8270f344cde8ad7c89bd2bb548f0ad71bd
2022-04-13 21:53:33 +00:00
..
add_to_cluster Standardize auxiliary file location across os-charms 2019-09-12 15:50:58 -05:00
check_rabbitmq.py Noop Flake8 update 2020-06-02 10:32:26 -07:00
check_rabbitmq_cluster.py Noop Flake8 update 2020-06-02 10:32:26 -07:00
check_rabbitmq_queues.py Handle non-uniform queue stats output 2022-04-13 21:53:33 +00:00
collect_rabbitmq_stats.sh Handle non-uniform queue stats output 2022-04-13 21:53:33 +00:00
grafana-dashboard.json Rabbitmq metrics and splitbrain detection 2022-01-17 18:32:38 +11:00
prom_rule_rmq_splitbrain.yaml Rabbitmq metrics and splitbrain detection 2022-01-17 18:32:38 +11:00
remove_from_cluster Standardize auxiliary file location across os-charms 2019-09-12 15:50:58 -05:00