Red Hat Bugzilla – Bug 128795
scripts/services/sendmail misses max load average
Last modified: 2007-11-30 17:10:46 EST
From Bugzilla Helper:
User-Agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.2.1)
Description of problem:
LogWatch reports don't give the correct value for "Max. Load Avg
reached" in the sendmail section of the report, due to an error in
/etc/log.d/scripts/services/sendmail, where an incorrect variable is used.
Version-Release number of selected component (if applicable):
Steps to Reproduce:
1. Allow load average to get high enough for sendmail to log that.
2. Let logwatch run via cron the next day.
3. Read report, see incorrect "Max. Load Avg reached" value (likely 0).
Actual Results: Value reported is incorrect, and likely always 0.
Expected Results: The maximum value from the sendmail log entries
should be reported.
Patch to follow...
Created attachment 102290 [details]
patch to fix incorrect variable reference in scripts/services/sendmail
This fix is included in logwatch 5.2.2. Thanks!