NRPE: overall_status shouldn't be used for status monitoring with Luminous
Bug #1756864 reported by
Nobuto Murata
This bug affects 3 people
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Ceph Monitor Charm |
Fix Released
|
Undecided
|
Xav Paice |
Bug Description
The format has been changed in Luminous. "overall_status" shouldn't be used for monitoring any longer.
[files/
if status_
# ceph --version
ceph version 12.2.1 (3e7492b9ada8bd
# ceph health detail -f json-pretty
{
"checks": {},
"status": "HEALTH_OK",
"overall_
"detail": [
"'ceph health' JSON format has changed in luminous. If you see this your monitoring system is scraping the wrong fields. Disable this with 'mon health preluminous compat warning = false'"
]
}
tags: | added: canonical-bootstack |
Changed in charm-ceph-mon: | |
assignee: | nobody → Xav Paice (xavpaice) |
status: | New → In Progress |
Changed in charm-ceph-mon: | |
milestone: | none → 18.05 |
Changed in charm-ceph-mon: | |
status: | Fix Committed → Fix Released |
To post a comment you must log in.
Just for the reference, the json output after applying 'mon health preluminous compat warning = false'. Looks like we could just use "status" instead of "overall_status".
# ceph health detail --format json-pretty
{
"checks": {},
"status": "HEALTH_OK"
}