🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: news.software.nntp
Article #52236

Re: INN usage tracking

#52236
From: those who know me have no need o...
Date: Tue, 08 May 2001 11:20
28 lines
2228 bytes
<9d6951$mjn$1@isp-m-srv06.izb.net> divulged:

>We want to have detailed usage statistics about our INN
>news server, i.e. every read and post.  

posts are already logged.  to get every "read" you'll have to decide
what that means, and then hack nnrpd to emit something.  if you must
have the two together you can do that as part of your hack.

if you are going to summarize the information, and the exact details
aren't of any importance, then perhaps the stats already logged would
be sufficient?  nnrpd logs the number of articles retrieved (using
article, body, head or stat commands), the number of groups visited
(using group or listgroup commands), and the number of attempted and
rejected posts (and some other stuff).

e.g., the following was produced by nnrpd, with nnrpdoverstats true,
when it exited at the end of the (tcp) session ... 

month day time server nnrpd[pid]: client exit articles 509 groups 33
month day time server nnrpd[pid]: client posts received 1 rejected 0
month day time server nnrpd[pid]: client times user 0.840 system 0.930 elapsed 1783.705
month day time server nnrpd[pid]: client artstats get 509 time 1 size 1024436
month day time server nnrpd[pid]: client overstats count 33 hit 525 miss 0 time 30640 size 160487 read 160487 dbz 17116 seek 0 get 0 artcheck 480

-- 
okay, have a sig then
Technical Details
Message-ID: <9d8kpp0uok@enews3.newsguy.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!newsfeed.google.com!newsfeed.stanford.edu!canoe.uoregon.edu!logbridge.uoregon.edu!news.maxwell.syr.edu!pln-e!spln!dex!extra.newsguy.com!newsp.newsguy.com!enews3
References: <9d6951$mjn$1@isp-m-srv06.izb.net>

Show Full Headers
Complete Article Headers
Message-ID: <9d8kpp0uok@enews3.newsguy.com>
Subject: Re: INN usage tracking
Date: Tue, 08 May 2001 11:20:27 +0000
From: those who know me have no need of my name <not-a-real-address@usa.net>
References: <9d6951$mjn$1@isp-m-srv06.izb.net>
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!newsfeed.google.com!newsfeed.stanford.edu!canoe.uoregon.edu!logbridge.uoregon.edu!news.maxwell.syr.edu!pln-e!spln!dex!extra.newsguy.com!newsp.newsguy.com!enews3
Newsgroups: news.software.nntp
Organization: earthfriends
Lines: 27
NNTP-Posting-Host: p-630.newsdawg.com
Mime-Version: 1.0
Content-Type: text/plain; charset=US-ASCII
User-Agent: Gnus/5.090003 (Oort Gnus v0.03) XEmacs/21.1 (Cuyahoga Valley)