sa-stats.pl as distributed with SA v3.1.7 blows out a ton of

WARNING: ignoring future date in syslog line: Dec 31 20:26:56 bubba 
spamd[7149]: prefork: child states: II 

and the like, and ends up reporting zeros for results.  Another
machine with the same sa-stats.pl (and an earlier version as well)
works just fine.  Both machines are running Fedora Core 4 with Perl
v5.8.6, but the one difference I found is in Parse::Syslog.  The
machine that works has v1.03.  The one that blows up has v1.09.

I can't tell if it's Parse::Syslog that is broken, or sa-stats.pl is
failing to take advantage of a new feature of Parse::Syslog.

On both machines, sa-stats.pl is called from a script in
/etc/cron.daily/sa-stats thusly:

#!/bin/sh
# Set a 24-year period.
start=`date -d yesterday`
# to today
end=`date`
/usr/local/sbin/sa-stats -s "$start" -e "$end"

Has anyone else experienced or fixed this?

Cheers,
-- 
Bob McClure, Jr.             Bobcat Open Systems, Inc.
[EMAIL PROTECTED]             http://www.bobcatos.com
Whatever you have learned or received or heard from me, or seen in me
-- put it into practice. And the God of peace will be with you.
Philippians 4:9 (NIV)

Reply via email to