projects
/
mirror
/
dsa-nagios.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
e232e1d
)
minor tweaks
author
Martin Zobel-Helas
<zobel@debian.org>
Sat, 24 Jul 2010 13:20:24 +0000
(15:20 +0200)
committer
Martin Zobel-Helas
<zobel@debian.org>
Sat, 24 Jul 2010 13:20:24 +0000
(15:20 +0200)
dsa-nagios-checks/checks/dsa-check-file
patch
|
blob
|
history
diff --git
a/dsa-nagios-checks/checks/dsa-check-file
b/dsa-nagios-checks/checks/dsa-check-file
index
01e5c01
..
e53d3e6
100755
(executable)
--- 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