Comment 3 for bug 1756864

Revision history for this message
Xav Paice (xavpaice) wrote :

If I run ceph tell mon.* injectargs \
      "--mon_health_preluminous_compat_warning=false"

The check now reports:

check_ceph_status raised unknown exception '<class 'KeyError'>'
============================================================
Traceback (most recent call last):
File "/usr/local/lib/nagios/plugins/check_ceph_status.py", line 183, in main
msg = check_ceph_status(args)
File "/usr/local/lib/nagios/plugins/check_ceph_status.py", line 113, in check_ceph_status
if status_data['health']['overall_status'] != 'HEALTH_OK':
KeyError: 'overall_status'
============================================================

The overall_status key has gone from the 'ceph status' output.