nrpe check command broken for 18.11 stable charm
Bug #1821170 reported by
José Pekkarinen
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/
xargs -I@ status ceph-osd id=@ && \
exit 0 || exit 2
Suggested patch fix is to change it for:
/bin/cat /var/lib/
xargs -I% systemctl status ceph-osd@% && \
exit 0 || exit 2
that does mitigate the unknown status of the
service in Nagios.
Thanks!
José.
To post a comment you must log in.
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 /review. opendev. org/#/c/ 629909/
and https:/
for further details.