Branch: refs/heads/2.1.0
Home:
https://github.com/tribe29/checkmk
Commit: b75dcd007456b97b89dde720d25adc46f55b27b6
https://github.com/tribe29/checkmk/commit/b75dcd007456b97b89dde720d25adc46f…
Author: Manuel Holtgrewe <manuel.holtgrewe(a)bih-charite.de>
Date: 2022-08-22 (Mon, 22 Aug 2022)
Changed paths:
A .werks/14672
M checks/ceph_status
M
tests/unit/checks/generictests/datasets/ceph_status_mgrs_missing_epoch_regression.py
Log Message:
-----------
FIX 14672 Fixing epoch service discovery
Ceph 16.2.6 does not provide the `{"mgrmap": {"epoch": ...}}` value
any more. See below for excerpt of `ceph -s -f json-pretty`.
```json
{
"mgrmap": {
"available": true,
"num_standbys": 1,
"modules": [
"cephadm",
"dashboard",
"iostat",
"nfs",
"prometheus",
"restful"
],
"services": {
"dashboard": "https://172.16.32.11:8443/",
"prometheus": "http://172.16.32.11:9283/"
}
}
}
```
closes: #418
Change-Id: I81795d977c9627f70d7ebc6657cbbcef71c60f78