nrpe check command broken for 18.11 stable charm

Bug #1821170 reported by José Pekkarinen
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Ceph OSD Charm
Fix Released
Undecided
Unassigned

Bug Description

The command generated in stable/18.11 for nrpe to check
the status of the ceph-osd services looks like this:

/bin/cat /var/lib/ceph/osd/ceph-*/whoami | \
    xargs -I@ status ceph-osd id=@ && \
    exit 0 || exit 2

Suggested patch fix is to change it for:

/bin/cat /var/lib/ceph/osd/ceph-*/whoami | \
    xargs -I% systemctl status ceph-osd@% && \
    exit 0 || exit 2

that does mitigate the unknown status of the
service in Nagios.

Thanks!

José.

Revision history for this message
Alex Kavanagh (ajkavanagh) wrote :

This has been overtaken by events. Please update to the 19.04 charm which has a more robust osd services check and nrpe integration.

See https://bugs.launchpad.net/charms/+source/ceph-osd/+bug/1810749
and https://review.opendev.org/#/c/629909/
for further details.

Changed in charm-ceph-osd:
status: New → Fix Released
milestone: none → 19.04
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Change abandoned on charm-ceph-osd (stable/18.11)

Change abandoned by José Pekkarinen (<email address hidden>) on branch: stable/18.11
Review: https://review.opendev.org/645123

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

Other bug subscribers

Remote bug watches

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