Correct process test for ceph-mon.
This commit is contained in:
parent
3ea5a7bc41
commit
9e424b1cff
|
@ -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
|
||||
|
|
Loading…
Reference in New Issue