🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Thread View: news.software.nntp
4 messages
4 total messages Started by John Andersson Sat, 17 Apr 1999 00:00
Scanlogs statistics not working properly in INN2.2
#36717
Author: John Andersson
Date: Sat, 17 Apr 1999 00:00
20 lines
1679 bytes
I have some problem with the statistics that scanlogs generate (from the
news.daily script) with INN2.2 and using innfeed.

The Offered/Accepted fields for Incoming feed are just 0 in the
generated index.html file, although the Volume field works and shows
about 24GB per day. There is no problem in the report for a specific day
(news-notice...html), there are the number of articles, art/sec, size,
... fields all working.

When examining the innreport.conf file, there seems to be some problem
with the %innd_offered and %innd_accepted variables. The only change to
the innreport.conf that I have made is enabled html and changed some
html fields.

Have I missed to turn on logging for Incoming feeds or something like
that? I can't find any such entry and I have not changed any logging
options from their default values, so any hint would be appreciated.


Re: Scanlogs statistics not working properly in INN2.2
#36706
Author: Fabien Tassin
Date: Sat, 17 Apr 1999 00:00
17 lines
1494 bytes
On Sat, 17 Apr 1999 12:59:43 +0200, Anders Arpteg <aa@news.bugsoft.hik.se> wrote:
> Thanks Fabien, my log/news file existed and was not empty, but the
> log/news.notice file was empty. I had not added (uncommented) the entries in
> the /etc/syslog.conf file for news.notice and the other two.
> 
> I executed "scanlogs norotate" now after news.notice is not empty, but
> Offered/Approved is actually still 0, but maybe I will have to wait for a while
> (maybe until a log rotate) before it starts to report correct offered/approved
> statistics.

are you sure that your log files are at the right place ??
(i.e. `innconfval pathlog`)

-- 
Fabien Tassin -+- fta@oleane.net

Re: Scanlogs statistics not working properly in INN2.2
#36710
Author: Fabien Tassin
Date: Sat, 17 Apr 1999 00:00
31 lines
2079 bytes
On Sat, 17 Apr 1999 08:19:42 +0200, John Andersson <default@the.net> wrote:
> I have some problem with the statistics that scanlogs generate (from the
> news.daily script) with INN2.2 and using innfeed.
> 
> The Offered/Accepted fields for Incoming feed are just 0 in the
> generated index.html file, although the Volume field works and shows
> about 24GB per day. There is no problem in the report for a specific day
> (news-notice...html), there are the number of articles, art/sec, size,
> ... fields all working.
> 
> When examining the innreport.conf file, there seems to be some problem
> with the %innd_offered and %innd_accepted variables. The only change to
> the innreport.conf that I have made is enabled html and changed some
> html fields.
> 
> Have I missed to turn on logging for Incoming feeds or something like
> that? I can't find any such entry and I have not changed any logging
> options from their default values, so any hint would be appreciated.

It looks like a problem with your log files, not with scanlogs/innreport.
 
Just check that both $NEWSLOG/news.notice and $NEWSLOG/news exist and 
are not empty. innreport process what scanlogs asks him to do so.

IMO, your /etc/syslog.conf and your inn.conf use not the same path for
news log files.

-- 
Fabien Tassin -+- fta@oleane.net

Re: Scanlogs statistics not working properly in INN2.2
#36712
Author: Anders Arpteg
Date: Sat, 17 Apr 1999 00:00
48 lines
3009 bytes
Thanks Fabien, my log/news file existed and was not empty, but the
log/news.notice file was empty. I had not added (uncommented) the entries in
the /etc/syslog.conf file for news.notice and the other two.

I executed "scanlogs norotate" now after news.notice is not empty, but
Offered/Approved is actually still 0, but maybe I will have to wait for a while
(maybe until a log rotate) before it starts to report correct offered/approved
statistics.

I find it strange that I havn't found (or it isn't impossible that I missed it
;-) any documentation in the installation documentation about editing the
/etc/syslog.conf file, I did though find that it was mentioned in the
newslog(5) man page.

Fabien Tassin wrote:

> On Sat, 17 Apr 1999 08:19:42 +0200, John Andersson <default@the.net> wrote:
> > I have some problem with the statistics that scanlogs generate (from the
> > news.daily script) with INN2.2 and using innfeed.
> >
> > The Offered/Accepted fields for Incoming feed are just 0 in the
> > generated index.html file, although the Volume field works and shows
> > about 24GB per day. There is no problem in the report for a specific day
> > (news-notice...html), there are the number of articles, art/sec, size,
> > ... fields all working.
> >
> > When examining the innreport.conf file, there seems to be some problem
> > with the %innd_offered and %innd_accepted variables. The only change to
> > the innreport.conf that I have made is enabled html and changed some
> > html fields.
> >
> > Have I missed to turn on logging for Incoming feeds or something like
> > that? I can't find any such entry and I have not changed any logging
> > options from their default values, so any hint would be appreciated.
>
> It looks like a problem with your log files, not with scanlogs/innreport.
>
> Just check that both $NEWSLOG/news.notice and $NEWSLOG/news exist and
> are not empty. innreport process what scanlogs asks him to do so.
>
> IMO, your /etc/syslog.conf and your inn.conf use not the same path for
> news log files.
>
> --
> Fabien Tassin -+- fta@oleane.net


Thread Navigation

This is a paginated view of messages in the thread with full content displayed inline.

Messages are displayed in chronological order, with the original post highlighted in green.

Use pagination controls to navigate through all messages in large threads.

Back to All Threads