Add check for minetest

This commit is contained in:
Ubergeek 2019-02-07 18:37:09 +00:00
parent 4f769e8f4c
commit 101313da0a
2 changed files with 13 additions and 0 deletions

12
checks/Minetest_Server Executable file
View File

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

View File

@ -1,3 +1,4 @@
sshd
BZFlag_Server
Memory
Minetest_Server