🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: news.software.nntp
Article #69915

Re: INN user access statistics?

#69915
From: Bert Hyman
Date: Sun, 19 Sep 2004 23:20
32 lines
2349 bytes
In news:Teo3d.10380$g%5.127353@news2.e.nsc.no "Erlend Leganger"
<erlend.leganger@fail.no> wrote: 

> I have looked at bit at log/news.notice, which surely contains data
> about when users read messages, but there are many lines per access, and
> I cannot quite see how I can get the stats I want. Does anyone have the
> right tool for this job?

I don't know what version of INN you're running, but in the build
directory of INN 2.2.2, in the directory "obsolete", is a Perl script
called "innlog.pl" which munges news.notice. It may require some tweaking
to get it to do exactly what you want, but among lots of other things it
does give a list of each different system that connects to your machine,
and which newsgroups are being read. It doesn't tell you which systems are
reading which newsgroups however. It produces output like this: 

NNRP readership statistics
System         Conn Articles Groups Post  Rej Auth  Elapsed      CPU    Pct 
172.23.4.46      23       12      3    0    0    0  0:12:37  0:00:00     0% 
172.23.4.6        1       68     11    0    0    0  0:05:22  0:00:00     0% 
...

and

Newsgroup request counts (by newsgroup)
comp.databases.ms-sqlserver           1
comp.emulators.apple2                 1
comp.home.automation                  1
...

-- 
Bert Hyman	St. Paul, MN	bert@visi.com
Technical Details
Message-ID: <Xns9569BA95549BEVeebleFetzer@209.98.13.60>
Path: mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!illumos!news.pugleaf.net!.TX!archive.pugleaf.net!archive.newsdeef.eu!mbox2nntp-news.software.nntp.20140818.mbox.gz!number1.nntp.dca.giganews.com!internal1.nntp.dca.giganews.com!border2.nntp.dca.giganews.com!nntp.giganews.com!white.octanews.net!news-out.octanews.net!news-out.visi.com!petbe.visi.com!news-3.mpls.visi.com.POSTED!not-for-mail
References: <Teo3d.10380$g%5.127353@news2.e.nsc.no>

Show Full Headers
Complete Article Headers
Message-ID: <Xns9569BA95549BEVeebleFetzer@209.98.13.60>
Subject: Re: INN user access statistics?
Date: Sun, 19 Sep 2004 23:20:29 +0000
From: Bert Hyman <bert@visi.com>
References: <Teo3d.10380$g%5.127353@news2.e.nsc.no>
Path: mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!illumos!news.pugleaf.net!.TX!archive.pugleaf.net!archive.newsdeef.eu!mbox2nntp-news.software.nntp.20140818.mbox.gz!number1.nntp.dca.giganews.com!internal1.nntp.dca.giganews.com!border2.nntp.dca.giganews.com!nntp.giganews.com!white.octanews.net!news-out.octanews.net!news-out.visi.com!petbe.visi.com!news-3.mpls.visi.com.POSTED!not-for-mail
Newsgroups: news.software.nntp
Organization: VISI
User-Agent: Xnews/06.08.25
Lines: 32
NNTP-Posting-Date: 19 Sep 2004 18:20:29 CDT
NNTP-Posting-Host: a9379b53.newsreader.visi.com
X-Trace: DXC=X8@kMQ>3h5ORXO^SXm[?=Nm9<Q\>0:^S@hD3OXm`l_bH=6BJ<lKSREO9ZA\LAP0P\DhC5c]6aKDmJH7PIK2X7D6D
X-Complaints-To: abuse@visi.com