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-stunnel-sanity
diff --git
a/dsa-nagios-checks/checks/dsa-check-stunnel-sanity
b/dsa-nagios-checks/checks/dsa-check-stunnel-sanity
index
a759ce7
..
6a57cdb
100755
(executable)
--- a/
dsa-nagios-checks/checks/dsa-check-stunnel-sanity
+++ b/
dsa-nagios-checks/checks/dsa-check-stunnel-sanity
@@
-8,7
+8,7
@@
pid="$(cat /var/run/stunnel4/stunnel-ekeyd.pid)"
fds=$(ls -1 /proc/"$pid"/fd | wc -l)
if [ "$fds" -gt 100 ]; then
- echo "Crazy number of open FDs ($
n
)."
+ echo "Crazy number of open FDs ($
fds
)."
exit 2
else
echo "All seems fine."