charm-rabbitmq-server/files
Peter Sabaini 943f4f63ab Fix: nrpe queue check should check for freshness
Make the rabbitmq queue check also check if its input data file was
recently updated. This input data is created via cronjob; if that gets
stuck we might not actually be getting meaningful data.

The charm supports configuring the check interval via a full cron time
specification, so technically one could have that updated only once a
year even if this doesn't make much sense in a monitoring scenario.

Also fix a buglet in the nrpe update hook function: only deploy a
queue check if the cron job hasn't been deconfigured by setting it to
the empty string

Change-Id: I60141397f39e3b1b0274230db8d984934c98a08d
Closes-Bug: #1898523
2020-11-06 09:36:49 +01: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 Fix: nrpe queue check should check for freshness 2020-11-06 09:36:49 +01:00
collect_rabbitmq_stats.sh Standardize auxiliary file location across os-charms 2019-09-12 15:50:58 -05:00
remove_from_cluster Standardize auxiliary file location across os-charms 2019-09-12 15:50:58 -05:00