Add monit to ceph-mgr

This commit is contained in:
Nico Schottelius 2018-03-08 14:46:14 +01:00
parent e681eedf66
commit 23a812bd5f

View file

@ -19,4 +19,9 @@ ceph auth get-or-create mgr.$name \
osd 'allow *' \
mds 'allow *' > "$MGR_PATH/keyring"
/etc/init.d/ceph start mgr.$name
# Starting with monit, if available
if [ -e /etc/monit ]; then
/opt/ungleich-tools/monit-ceph-create-start mgr.${name}
else
/etc/init.d/ceph start mgr.${name}
fi