retire da-backup checks
[mirror/dsa-nagios.git] / dsa-nagios-checks / checks / dsa-check-file
index 61cd6cf..4013fa8 100755 (executable)
@@ -25,6 +25,7 @@
 
 FILE=''
 EXIT=0
+LEVEL=''
 
 usage(){
        ret=$1
@@ -64,8 +65,8 @@ if [ -z "$FILE" ]; then
 fi
 
 if [ ! -f "$FILE" ]; then
-       printf "%s: file %s is missing\n" $LEVEL $FILE
+       printf "file %s is missing\n" $FILE
        exit $EXIT
 fi
 
-printf "OK: file %s does exist %s\n" $FILE
+printf "file %s does exist %s\n" $FILE