From 39fe69f3cd789482652d4fbeab510b7512cf7c0f Mon Sep 17 00:00:00 2001 From: Martin Zobel-Helas Date: Sat, 24 Jul 2010 15:20:24 +0200 Subject: [PATCH] minor tweaks --- dsa-nagios-checks/checks/dsa-check-file | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/dsa-nagios-checks/checks/dsa-check-file b/dsa-nagios-checks/checks/dsa-check-file index 01e5c01..e53d3e6 100755 --- a/dsa-nagios-checks/checks/dsa-check-file +++ b/dsa-nagios-checks/checks/dsa-check-file @@ -55,9 +55,9 @@ if [ -z "$FILE" ]; then fi if [ ! -f "$FILE" ]; then - printf "file %s is missing\n" $FILE + printf "CRITICAL: file %s is missing\n" $FILE exit 2 fi -printf "file %s OK: %s\n" $FILE +printf "OK: file %s does exist %s\n" $FILE -- 2.20.1