* (#4) Add monitoring for Ceph Monitor (process and port).
This commit is contained in:
parent
bbb7ab215a
commit
1747f3c2eb
|
@ -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).
|
||||
|
||||
---------------------------------------
|
||||
|
||||
|
|
|
@ -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" '')
|
||||
|
|
Loading…
Reference in New Issue