Hi,
I have a problem with monthly reports of squid using sarg
sarg-reports monthly
It does not work at all, and I dont know where to look for answers -
fe in log there is nothing concerning this issue.
Daily and weekly reports works perfect - with no problems.
I need some detective investigation or advices.
My logrotate /etc/logrotate.d/squid:
/var/log/squid/*.log {
monthly
compress
delaycompress
rotate 2
missingok
nocreate
sharedscripts
#added
prerotate
test ! -x /usr/sbin/sarg-maint || /usr/sbin/sarg-maint
endscript
postrotate
test ! -e /var/run/squid.pid || /usr/sbin/squid -k rotate
endscript
}
Bartosz.