Add Ceph-mon monitoring.
This commit is contained in:
parent
018e89c35b
commit
a8fefd4702
|
@ -108,6 +108,17 @@ if [ $(which zfs) ]; then
|
||||||
fi
|
fi
|
||||||
### FI ZFS
|
### FI ZFS
|
||||||
|
|
||||||
|
### IF Ceph Monitor
|
||||||
|
## ceph-mon is installed with the 'ceph' package
|
||||||
|
# so we can't just check if `ceph-mon` is available on a system
|
||||||
|
if (grep "mon_initial_members.*$(hostname)" /etc/ceph/*.conf > /dev/null); 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