Correct process test for ceph-mon.
This commit is contained in:
parent
c4c5955af0
commit
ef30a57b17
@ -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
Block a user