Article View: news.software.nntp
Article #49010Re: Generating Weekly/Monthly INN reports
From: Anonymous Coward
Date: Mon, 06 Nov 2000 23:52
Date: Mon, 06 Nov 2000 23:52
33 lines
2634 bytes
2634 bytes
On 6 Nov 2000, Nicholas Gareth John OBrien wrote: > I'm looking to generate HTML statistics reports on INN on a weekly > and/or monthly basis. Now I know innreport can do this on a daily > basis - the sort of statistics it can generate are what I am looking > for. However I was looking for similar software which do this by week > and or by month. > > Now my first thought is to to modify innreport to do this, but in case Why modify innreport? You should be able to get it to do what you want by the way you invoke it. (Caution: untested, do not try this at home, seek parental guidance, it's only fun until someone loses an eye) scanlogs calls innreport as something like /news/bin/innreport -f /news/etc/innreport.conf /news/log/OLD/news.old /news/log/OLD/news.notice.old so to get further days included, all you need to do would be to pass all the days to innreport... innreport -f innreport.conf news.old news.notice.old news.notice.1 news.notice.2 news.notice.3 ... OF course, by default, these old numbered files are gzipped, so you'd have to make copies or uncompress them in advance. Yes, it would take a bit of time longer than a single logfile. And this gives you exactly the same info that you get in daily innreport summaries, over the period of several days. If this is a bit much, you could hack innreport to store a copy of all the hashes it builds up each day so you could reread them weekly/monthly rather than rescanning a week's or month's worth of logs...
Technical Details
Message-ID:
<meowbot-AutoPost-67893-59346-100000@netscum.dQ>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!supernews.google.com!sn-xit-02!supernews.com!isdnet!grolier!newsfeed00.sul.t-online.de!t-online.de!news.tele.dk!Free-PR0N.NetScum.DK.POSTED!vax.chrillesen.dk!barryReferences:
<8u6pj4$bsi$1@susscsc1.reading.ac.uk>Show Full Headers
Complete Article Headers
Message-ID: <meowbot-AutoPost-67893-59346-100000@netscum.dQ> Subject: Re: Generating Weekly/Monthly INN reports Date: Tue, 7 Nov 2000 00:52:50 +0100 From: Anonymous Coward <anonymous@Censorous.NewsBastards.Org> References: <8u6pj4$bsi$1@susscsc1.reading.ac.uk> 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!supernews.google.com!sn-xit-02!supernews.com!isdnet!grolier!newsfeed00.sul.t-online.de!t-online.de!news.tele.dk!Free-PR0N.NetScum.DK.POSTED!vax.chrillesen.dk!barry Newsgroups: news.software.nntp Organization: Binging Beerbellied Barry Bouwsma's Beerserver Lines: 32 NNTP-Posting-Host: 3167c9bec77aad169c717ee8739c7963.netscum.dk Mime-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII X-Trace: freebeer.netscum.dk 973554771 5eaf7bab66b5b99551797eacdad4a1f5 X-Complaints-To: Department of Beer <bitbucket@news.inet.tele.dk> X-Sender: barry@vax.chrillesen.dk In-Reply-To: <8u6pj4$bsi$1@susscsc1.reading.ac.uk>