diff options
author | Thomas Guyot-Sionnest <dermoth@users.sourceforge.net> | 2007-02-01 05:33:07 +0000 |
---|---|---|
committer | Thomas Guyot-Sionnest <dermoth@users.sourceforge.net> | 2007-02-01 05:33:07 +0000 |
commit | 026db39bb756814318ce5f23f2a08b075e8b8a86 (patch) | |
tree | 12bf535e2c74a6a928fd32541ad35ce54e2b7acd /plugins-scripts | |
parent | a48b7fd824730cd2766e9a6ebeb05245c43f116d (diff) | |
download | monitoring-plugins-026db39bb756814318ce5f23f2a08b075e8b8a86.tar.gz |
Fix bug #1593073 Check_Log problem with log rotation
git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@1602 f882894a-f735-0410-b71e-b25c423dba1c
Diffstat (limited to 'plugins-scripts')
-rwxr-xr-x | plugins-scripts/check_log.sh | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/plugins-scripts/check_log.sh b/plugins-scripts/check_log.sh index 38375dd1..20c55f4e 100755 --- a/plugins-scripts/check_log.sh +++ b/plugins-scripts/check_log.sh | |||
@@ -197,7 +197,7 @@ else | |||
197 | $CHMOD 600 $tempdiff | 197 | $CHMOD 600 $tempdiff |
198 | fi | 198 | fi |
199 | 199 | ||
200 | $DIFF $logfile $oldlog > $tempdiff | 200 | $DIFF $logfile $oldlog | $GREP -v "^>" > $tempdiff |
201 | 201 | ||
202 | # Count the number of matching log entries we have | 202 | # Count the number of matching log entries we have |
203 | count=`$GREP -c "$query" $tempdiff` | 203 | count=`$GREP -c "$query" $tempdiff` |