++ ceph emergency script

This commit is contained in:
Nico Schottelius 2022-02-01 15:37:23 +01:00
parent dc1f42ab02
commit 048697a812

View file

@ -0,0 +1,4 @@
#!/bin/sh
# 2022-02-01
for osd in /etc/monit/conf.d/osd.*; do cmd=$(cat $osd | grep "start pro" | sed -e 's/.* = "//' -e 's/".*//'); echo $cmd; ( $cmd & ); done