From ef30a57b17f6efc2cd7ffbc7e8bb2630b3305921 Mon Sep 17 00:00:00 2001 From: Gardouille Date: Tue, 1 Sep 2015 16:03:40 +0200 Subject: [PATCH] Correct process test for ceph-mon. --- templates/motd_ceph_info.erb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/templates/motd_ceph_info.erb b/templates/motd_ceph_info.erb index ab9eda1..bda190a 100755 --- a/templates/motd_ceph_info.erb +++ b/templates/motd_ceph_info.erb @@ -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