Correct process test for ceph-mon.

This commit is contained in:
gardouille 2015-09-01 16:03:40 +02:00
parent c4c5955af0
commit ef30a57b17

View File

@ -130,7 +130,7 @@ if [ $(command -v ceph) ]; then
# 3: test OSD
CEPH_OSD_OK=$(ceph osd tree | grep -i -- "host $(hostname)" 2> /dev/null)
if [ "${CEPH_OSD_OK}" ]; then
MSG=$(process_info "ceph-osd" "${MSG}")
MSG=$(process_info "ceph-osd" '')
MSG=$(service_info "6800 6801 6802" "${MSG}")
printf '%b' "\n${MSG}"
fi