diff --git a/monit-ceph-create-start b/monit-ceph-create-start new file mode 100755 index 0000000..b9831ca --- /dev/null +++ b/monit-ceph-create-start @@ -0,0 +1,24 @@ +#!/bin/sh +# Nico Schottelius, 2018-02-22 +# Copyright ungleich glarus ag + +if [ $# -ne 1 ]; then + echo "$0: to monitor" + echo "f.i. osd.17 or mon.server4" + exit 1 +fi + +to_monitor=$1 + + +cat > "/etc/monit/conf-enabled/$to_monitor" <