* (#4) Add monitoring for Ceph Monitor (process and port).
This commit is contained in:
parent
bbb7ab215a
commit
1747f3c2eb
|
@ -8,7 +8,8 @@
|
||||||
##### Changes
|
##### Changes
|
||||||
* Tiny updates in README.md.
|
* Tiny updates in README.md.
|
||||||
* (#2) Add Puppet tests.
|
* (#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
|
||||||
### FI ZFS
|
### 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 PUPPETMASTER
|
||||||
if [ $(which puppetmaster) ]; then
|
if [ $(which puppetmaster) ]; then
|
||||||
MSG=$(process_info "puppetmaster" '')
|
MSG=$(process_info "puppetmaster" '')
|
||||||
|
|
Loading…
Reference in New Issue