diff --git a/CHANGELOG.md b/CHANGELOG.md index 9989005..72f3642 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -8,7 +8,8 @@ ##### Changes * Tiny updates in README.md. * (#2) Add Puppet tests. -* Correct ((LINE++)) -> BASH with LINE=$((LINE+1)) -> SH +* (#3) Correct ((LINE++)) -> BASH with LINE=$((LINE+1)) -> SH +* (#4) Add monitoring for Ceph Monitor (process and port). --------------------------------------- diff --git a/templates/motd_service_info.erb b/templates/motd_service_info.erb index b319112..929cd9d 100755 --- a/templates/motd_service_info.erb +++ b/templates/motd_service_info.erb @@ -108,6 +108,14 @@ if [ $(which zfs) ]; then fi ### FI ZFS +### IF Ceph Monitor +if [ $(which ceph-mon) ]; then + MSG=$(process_info "ceph-mon" '') + MSG=$(service_info "6789" "${MSG}") + printf '%b' "\n${MSG}" +fi +### FI Ceph Monitor + ### IF PUPPETMASTER if [ $(which puppetmaster) ]; then MSG=$(process_info "puppetmaster" '')