Re-doing the work from earlier

This commit is contained in:
Ubergeek
2019-02-07 00:32:58 +00:00
parent afe9b34945
commit ddbe0ba4ee
10 changed files with 42 additions and 10 deletions

12
checks/BZFlag_Server Executable file
View File

@@ -0,0 +1,12 @@
#!/bin/bash
export SITE=$1
ssh $SITE "bash -s" < ./plugins/check_proc bzfs > /dev/null
if [ $? -ne "0" ]
then
echo -e $SITE"\tDOWN"
exit 1
else
echo -e $SITE"\tGOOD"
exit 0
fi