projects
/
mirror
/
dsa-nagios.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
piu-slave-bm-a to buster
[mirror/dsa-nagios.git]
/
dsa-nagios-checks
/
checks
/
dsa-check-filesystems
diff --git
a/dsa-nagios-checks/checks/dsa-check-filesystems
b/dsa-nagios-checks/checks/dsa-check-filesystems
index
4b74785
..
6bc1b6e
100755
(executable)
--- a/
dsa-nagios-checks/checks/dsa-check-filesystems
+++ b/
dsa-nagios-checks/checks/dsa-check-filesystems
@@
-30,7
+30,7
@@
mountpoints.keys.each do |m|
end
rescue Exception => e
end
- if temp
+ if temp
&& (temp.length > 0)
output << temp
end
end
@@
-39,4
+39,5
@@
if output.length > 0
puts output.join("\n")
exit 1
end
+puts "OK: All filesystems ok."
exit 0