charm-rabbitmq-server/unit_tests
Olivier Dufour-Cuvillier c9efea67c8 Allow NRPE to collect stats in CIS hardened env
It removes the necessity to run the cron task as root user
and ensure the content created in /var/lib/rabbitmq belongs
to rabbitmq user and group solely.

Then giving access for nrpe user is done by adding its user
to rabbitmq group.
Also implemented in the upgrade-charm hook for ongoing
deployments

Closes-Bug: #1879524
Change-Id: I19e3d675ace7c669451ca40a20d21cef1aec6a95
2023-04-13 00:36:40 +00:00
..
__init__.py Fix: nrpe queue check should check for freshness 2020-11-06 09:36:49 +01:00
test_actions.py Coordination module for rabbit restarts 2022-02-17 11:06:00 +00:00
test_check_rabbitmq_queues.py Handle non-uniform queue stats output 2022-04-13 21:53:33 +00:00
test_nrpe_checks.py Move cron max file age calculation to rabbit_utils 2021-08-19 15:12:17 +02:00
test_rabbit_utils.py Allow NRPE to collect stats in CIS hardened env 2023-04-13 00:36:40 +00:00
test_rabbitmq_context.py Enforce a maximum of 1024 async threads. 2023-04-11 16:55:44 -04:00
test_rabbitmq_server_relations.py Allow NRPE to collect stats in CIS hardened env 2023-04-13 00:36:40 +00:00
test_ssl_utils.py Use unittest.mock instead of mock 2021-12-15 11:54:45 +00:00
test_utils.py Use unittest.mock instead of mock 2021-12-15 11:54:45 +00:00