* (#4) Add monitoring for Ceph OSD (process and few ports).
This commit is contained in:
parent
3b7c342120
commit
e22a7a8e75
@ -10,6 +10,7 @@
|
||||
* (#2) Add Puppet tests.
|
||||
* (#3) Correct ((LINE++)) -> BASH with LINE=$((LINE+1)) -> SH
|
||||
* (#4) Add monitoring for Ceph Monitor (process and port).
|
||||
* (#4) Add monitoring for Ceph OSD (process and few ports).
|
||||
|
||||
---------------------------------------
|
||||
|
||||
|
@ -119,6 +119,14 @@ if (grep "mon_initial_members.*$(hostname)" /etc/ceph/*.conf > /dev/null); then
|
||||
fi
|
||||
### FI Ceph Monitor
|
||||
|
||||
### IF Ceph OSD
|
||||
if (ceph osd tree | grep "host $(hostname)" > /dev/null 2> /dev/null); then
|
||||
MSG=$(process_info "ceph-osd" '')
|
||||
MSG=$(service_info "6800 6801 6802" "${MSG}")
|
||||
printf '%b' "\n${MSG}"
|
||||
fi
|
||||
### FI Ceph OSD
|
||||
|
||||
### IF PUPPETMASTER
|
||||
if [ $(which puppetmaster) ]; then
|
||||
MSG=$(process_info "puppetmaster" '')
|
||||
|
Loading…
Reference in New Issue
Block a user