Bob McClure Jr wrote:
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,


Same problem here.

-=R

Reply via email to