Article View: news.software.nntp
Article #21138Re: innreport - example output format?
From: Barry BOFHwsma
Date: Sun, 31 Aug 1997 00:00
Date: Sun, 31 Aug 1997 00:00
54 lines
3035 bytes
3035 bytes
On 31 Aug 1997, Mike Horwath wrote:
> : > web browser at http://news.visi.com/news/stats/ and away you go.
>
> : (to complete your reports, you can use the "news" log file too)
>
> Which news log file?
> I don't get your point. This report is taking news.notice and
> generating the information. Is there something else I should be
> looking into as well?
Ehhh, do like da man sez, and nobody will get hurt. The traditional
way of running innlog/innreport has been to make a summary of the file
specified in the syslog configuration something like:
news.notice -/var/log/news/news.notice
However, the newest innreport.pl also is able to summarize information
gleaned from the log file defined in config.data, traditionally with the
name of `news', although I believe previous releases may have called it
something different such as `log' or whatever:
## The server's log file.
#### =()<_PATH_LOGFILE @<_PATH_LOGFILE>@>()=
_PATH_LOGFILE /usr/local/etc/logs/news
This is defined in innshellvars (and related files) as:
## =()<LOG=@<_PATH_LOGFILE>@>()=
LOG=/usr/local/etc/logs/news
So, your scanlogs can be modified to look like (in the case of
scanlogs.pl, also available from Fabien's ftp.eerie.fr site), after you
fudge things a bit to keep the old logs around for processing:
system ("$NEWSLIB/innreport.pl -d /www-data/News/cesspool -p \
/www-data/News/cesspool/pics -s \".\" $OLD_SYSLOG $OLD_LOG");
The additional information you're missing can be seen from an old
non-current innreport.pl in somewhat buggy form at, f'rinstance,
http://www.radio.cz/News/bastard/news-notice.1997.07.16-13.50.12.html#inn_flow
http://www.radio.cz/News/bastard/news-notice.1997.07.16-13.50.12.html#innxmit_unwanted
(note that here, non-streaming innxmit sending notices appear in the
unknown entries category, this summarizes rejected articles received)
Generally way cool, eh? If I ever get around to it, I should run the
logs from my present microserver through the most recent innreport and
make that publicly available, and see if that's enough to drive my server
into paging meltdown.
Barry Bouwsma
Technical Details
Message-ID:
<Pine.LNX.3.96.970831090942.1929B-100000@marley.vszbr.cz>Path:
mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!illumos!news.pugleaf.net!.TX!archive.pugleaf.net!archive.newsdeef.eu!mbox2nntp-news.software.nntp.mbox.zip!not-for-mailReferences:
<5ta9iq$8pu@usenet.pa.dec.com> <5trfke$rmn$1@newsserv.zdv.uni-tuebingen.de> <5trr3t$r6i$1@anais.eerie.fr> <5ttk4l$lv7$3@darla.visi.com> <5tvagt$qj8$2@anais.eerie.fr> <5uap8f$qic$3@darla.visi.com>Show Full Headers
Complete Article Headers
Message-ID: <Pine.LNX.3.96.970831090942.1929B-100000@marley.vszbr.cz> Subject: Re: innreport - example output format? Date: Sun, 31 Aug 1997 00:00:00 +0000 From: Barry BOFHwsma <barry@bofh-cabal.vszbr.cz> References: <5ta9iq$8pu@usenet.pa.dec.com> <5trfke$rmn$1@newsserv.zdv.uni-tuebingen.de> <5trr3t$r6i$1@anais.eerie.fr> <5ttk4l$lv7$3@darla.visi.com> <5tvagt$qj8$2@anais.eerie.fr> <5uap8f$qic$3@darla.visi.com> Path: mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!illumos!news.pugleaf.net!.TX!archive.pugleaf.net!archive.newsdeef.eu!mbox2nntp-news.software.nntp.mbox.zip!not-for-mail X-Deja-AN: 269160303 Reply-To: ag786@yfn.ysu.edu X-Sender: barry@marley.vszbr.cz Organization: Mugsy and Pals Newsgroups: news.software.nntp