* (#4) Add monitoring for Ceph Monitor (process and port).

This commit is contained in:
gardouille 2015-04-13 14:09:56 +02:00
parent bbb7ab215a
commit 1747f3c2eb
2 changed files with 10 additions and 1 deletions

View File

@ -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).
---------------------------------------

View File

@ -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" '')