charm-ceph-mon/unit_tests
Edin Sarajlic b8af44aefa Add nagios check for expected number of OSDs
This check does not require manually setting the number of expected
OSDs.

Initially, the charm sets the count (per-host) to that of what's
present in the OSD tree. The count will be updated (on a per-host
basis) when the number of OSDs grows, but not when it shrinks. There
is a charm action to reset the expected count using information from
the OSD tree.

Closes-Bug: #1952985
Change-Id: Ia6a060bf151908c1d4159e6bdffa7bfe1f0a7988
2022-10-05 13:02:54 +00:00
..
__init__.py First rewrite of ceph-mon with operator framework 2022-08-19 19:00:56 -03:00
ceph_crit.json Update ceph nagios plugin 2017-11-07 13:34:27 +13:00
ceph_crit_luminous.json Update Nagios check for Luminous 2018-05-01 10:29:37 +12:00
ceph_degraded_luminous.json Don't return Critical when ceph is in warning state. 2018-11-21 16:49:14 +01:00
ceph_error.json Don't return Critical when ceph is in warning state. 2018-11-21 16:49:14 +01:00
ceph_ls_node.json Create NRPE check to verify ceph daemons versions 2022-07-19 12:18:06 +02:00
ceph_many_warnings_luminous.json Don't return Critical when ceph is in warning state. 2018-11-21 16:49:14 +01:00
ceph_nodeepscrub.json Don't return Critical when ceph is in warning state. 2018-11-21 16:49:14 +01:00
ceph_nodeepscrub_luminous.json Don't return Critical when ceph is in warning state. 2018-11-21 16:49:14 +01:00
ceph_noout.json Change noout to be a CRITICAL alert instead of WARNING. 2021-09-07 14:34:33 -06:00
ceph_noout_luminous.json Change noout to be a CRITICAL alert instead of WARNING. 2021-09-07 14:34:33 -06:00
ceph_ok.json Update ceph nagios plugin 2017-11-07 13:34:27 +13:00
ceph_ok_luminous.json Update Nagios check for Luminous 2018-05-01 10:29:37 +12:00
ceph_params.json Update ceph nagios plugin 2017-11-07 13:34:27 +13:00
ceph_versions_alligned.json Create NRPE check to verify ceph daemons versions 2022-07-19 12:18:06 +02:00
ceph_versions_diverged.json Create NRPE check to verify ceph daemons versions 2022-07-19 12:18:06 +02:00
ceph_warn.json Creates nrpe check for number of OSDs 2019-05-03 10:02:31 +02:00
helpers.py Fix: make ceph_metrics test more robust 2022-09-29 15:14:41 +02:00
test_action_change_osd_weight.py Rewrite the 'change-osd-weight' to use the op framework 2022-09-08 12:28:17 -03:00
test_action_delete_user.py Add get-or-create-user and delete-user actions for ceph auth 2022-06-09 07:11:08 -05:00
test_action_get_or_create_user.py Add get-or-create-user and delete-user actions for ceph auth 2022-06-09 07:11:08 -05:00
test_action_list_crush_rules.py Add list-crush-rules action 2022-03-29 17:02:12 +02:00
test_action_list_inconsistent.py Use unittest.mock instead of mock 2021-12-16 09:37:23 +00:00
test_action_list_pools.py Use unittest.mock instead of mock 2021-12-16 09:37:23 +00:00
test_action_pg_repair.py Added safe-pg-repair action 2022-06-23 18:18:35 +08:00
test_action_purge_osd.py Use unittest.mock instead of mock 2021-12-16 09:37:23 +00:00
test_actions_mon.py Create NRPE check to verify ceph daemons versions 2022-07-19 12:18:06 +02:00
test_ceph_actions.py Rewrite actions/copy_pool into the oeprator framework 2022-09-08 16:41:33 +00:00
test_ceph_hooks.py Disable insecure global-id reclamation 2022-08-16 16:56:37 -04:00
test_ceph_metrics.py Fix: make ceph_metrics test more robust 2022-09-29 15:14:41 +02:00
test_ceph_networking.py Add support for user-provided ceph config 2016-07-03 16:17:23 +01:00
test_ceph_ops.py Add profile-name parameter in create-pool action 2022-02-11 16:35:30 +01:00
test_ceph_utils.py Add support for prometheus-k8s 2022-09-06 10:14:37 +02:00
test_check_ceph_osd_count.py Add nagios check for expected number of OSDs 2022-10-05 13:02:54 +00:00
test_check_ceph_status.py Create NRPE check to verify ceph daemons versions 2022-07-19 12:18:06 +02:00
test_status.py Display information if missing OSD relation 2022-01-13 14:44:56 +10:30
test_upgrade.py Use unittest.mock instead of mock 2021-12-16 09:37:23 +00:00
test_utils.py Rewrite the 'change-osd-weight' to use the op framework 2022-09-08 12:28:17 -03:00