Skip to content
Snippets Groups Projects
Commit 020ca17c authored by Maximilian Horzela's avatar Maximilian Horzela
Browse files

Update healthcheck_local_condor.sh to check for checkfile instead of user-directories

parent 83a412d8
Branches
No related tags found
No related merge requests found
......@@ -20,14 +20,14 @@ mesg="NODE_IS_HEALTHY = True"
# check storage server:
#for fs in 8/dmueller 9/cheidecker b/amsdata; do
for fs in 9/cheidecker; do
if [ ! -d "/storage/$fs" ] ; then
for fs in 8/ 9/; do
if [ ! -e "/storage/$fs/checkfile" ] ; then
mesg="NODE_IS_HEALTHY = \"storage ${fs%/*} is not mounted\""
fi
done
# check ceph storage:
if [ ! -d "/ceph/mschnepf" ] ; then
if [ ! -e "/ceph/checkfile" ] ; then
mesg="NODE_IS_HEALTHY = \"ceph is not mounted\""
fi
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment