check_ceph_osd_services.py returns multiple lines

Bug #1868361 reported by Xav Paice
16
This bug affects 3 people
Affects Status Importance Assigned to Milestone
Ceph OSD Charm
Triaged
Medium
Unassigned

Bug Description

https://nagios-plugins.org/doc/guidelines.html requires we only output one line of text, but the nagios plugin we use reports multiple, which results in alerts like " OK: ceph-osd@30.service is running" but CRITICAL - the actual output of the plugin is:

# /usr/local/lib/nagios/plugins/check_ceph_osd_services.py
OK: ceph-osd@30.service is running
OK: ceph-osd@3.service is running
OK: ceph-osd@46.service is running
OK: ceph-osd@49.service is running
Failed: check command raised: CRITICAL: ceph-osd@51.service is not running
OK: ceph-osd@52.service is running

Revision history for this message
James Page (james-page) wrote :

Marking as Triaged - issue clearly defined and no changes in this area in the last 12 months that might have resolved this problem.

Changed in charm-ceph-osd:
status: New → Triaged
importance: Undecided → Medium
Revision history for this message
James Page (james-page) wrote :

Would this infer that we need a check per OSD? rather than one general check that looks as all OSD's?

I guess the single line could collate status generally rather than the current multi-line output approach

To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Duplicates of this bug

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.