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:
85fab8a
)
[project @ peter@palfrader.org-20080522111929-5az25xoycwmdtc58]
author
Peter Palfrader
<peter@palfrader.org>
Thu, 22 May 2008 11:19:29 +0000
(11:19 +0000)
committer
Peter Palfrader
<peter@palfrader.org>
Thu, 22 May 2008 11:19:29 +0000
(11:19 +0000)
Do not use set -e when we run "offline" nagios checks
use --timeout=600 in the apt check to give it a bit more time than just 20 seconds which is too little on slow or loaded machines
dsa-nagios-nrpe-config/debian/cron.daily
patch
|
blob
|
history
diff --git
a/dsa-nagios-nrpe-config/debian/cron.daily
b/dsa-nagios-nrpe-config/debian/cron.daily
index
a0bbbec
..
cdb700f
100644
(file)
--- a/
dsa-nagios-nrpe-config/debian/cron.daily
+++ b/
dsa-nagios-nrpe-config/debian/cron.daily
@@
-22,10
+22,9
@@
exit 1
fi
- set -e
tmp=`tempfile`
trap "rm -f '$tmp'" exit
- /usr/share/dsa/apt-status-check --noupdate > "$tmp"
+ /usr/share/dsa/apt-status-check --noupdate
--timeout=600
> "$tmp"
result="$?"
case "$result" in
0)