🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: news.software.nntp
Article #14942

Newsfeed metrics: log/news vs. log/news.notice

#14942
From: Gordy Thompson
Date: Tue, 11 Feb 1997 00:00
58 lines
3394 bytes
	Because our newsfeeds must traverse an NNTP relay on our
firewall, the "Articles received by server" stats produced by
innlog.pl are useless to us: The only "host" that opens NNTP
connections on newsgate is "gatekeeper", the firewall.

	So I cooked up a perl script to extract what I thought would
be the same information from log/news, which does contain the feeding
site's name for each article we're offered and an indication (+, - or
j) of its disposition. The script counts all appearances of each $site
and for each appearance, increments that site's total for articles
offered ((+) + (-) + (j)), and either accepted (+), refused (-) or
rejected (j)

	As a reality check, I ran them one right after the other -- my
script against log/news, innlog.pl against log/news.notice, both of
which were initialized within minutes of one another shortly after
midnight. And to my surprise, I got this:

# ./gttlog.pl < log/news
Host             Offered   Accepted    % Accepted    Refused  Rejected
aaa.bbb.ccc          655        547        83.51%        108
ddd.eee.fff        89599      66041        73.71%      23228       330
ggg.hhh.iii       123614      93302        75.48%      27340      2972
not-for-mail           2          2       100.00%
jjj.kkk.lll         4843       4768        98.45%         45        30
mmm.nnn.ooo        18848      15456        82.00%       3381        11
ppp.qqq.rrr         2369       1873        79.06%        486        10
Totals            239930     181989        75.85       54588      3353

# ./innlog.pl < log/news.notice
	[...]
Articles received by server
System            Connects  Offered   Took  Tk%  Refuse Reject Accpt

gatekeeper.nytimes.c  2318   389801 182726  99%  157310  49765   46%  
localhost                3        2      2   0%       0      0  100%

TOTALS                2321   389803 182728 100%  157310  49765   46%  

	Allowing for the few moments between executions, innlog's
"took" is roughly equal to gttlog's "accepted", but news.notice
appears to have recorded about 150K more refusals and rejections than
did log/news.

	Am I overlooking something obvious here?
	Is there perhaps a patch that will let syslog log connection
data by sitename rather than by hostname, so I can just use innlog.pl
and other mainstream reporting tools rather than grow my own?

==========================================================================
Gordon T. Thompson                                      gordy@nytimes.com
Manager, Internet Services                              212 556 1386
The New York Times                                      fax: 212 556 1636
       This letter has been modified as follows from its original
           version: It has been formatted to fit your screen.

Technical Details
Message-ID: <3300d236.10115866@newsgate>
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

Show Full Headers
Complete Article Headers
Message-ID: <3300d236.10115866@newsgate>
Subject: Newsfeed metrics: log/news vs. log/news.notice
Date: Tue, 11 Feb 1997 00:00:00 +0000
From: gordy@nytimes.com (Gordy Thompson)
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: 217959860
Distribution: inet
Content-type: text/plain; charset=us-ascii
Organization: The New York Times
Mime-version: 1.0
Newsgroups: news.software.nntp