Correct process test for ceph-mon.

This commit is contained in:
Jeremy Gardais 2015-09-01 16:03:15 +02:00
parent 3ea5a7bc41
commit 9e424b1cff
1 changed files with 1 additions and 1 deletions

View File

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