🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: news.software.nntp
Article #89438

Re: Need help giving information on our peering service

#89438
From: The Doctor
Date: Fri, 24 Jun 2022 04:13
59 lines
3460 bytes
In article <t936gn$2fha$1@spool1.usenet.blueworldhosting.com>,
Jesse Rehmer  <jesse.rehmer@blueworldhosting.com> wrote:
>On Jun 22, 2022 at 5:18:51 PM CDT, "The Doctor" <The Doctor> wrote:
>
>> I have tried generating a stats report in the past,
>> but it hung.  No reason given.
>
>How are you attempting to generate the report? If "htmlstatus" is set to true
>in <pathetc>/inn.conf, the status will be written to
><pathhttp>/inn_status.html at the interval defined by the "status" value in
><pathetc>/inn.conf.
>
>If you wish to generate daily statistics in HTML on incoming/outgoing feeds,
>article rates, etc. you should set "html" to true in <pathetc>/innreport.conf.
> This will generate HTML reports when news.daily runs and place them in
><pathhttp>. It will generate or update the index.html page within <pathhttp>,
>as seen here:
>http://usenet.blueworldhosting.com/feedstats.
>
>To accomplish this on FreeBSD (I believe you're a fellow FreeBSD user):
>
>- Set "htmlstatus" to true in <pathetc>/inn.conf.
>- Set <pathhttp> to /usr/local/www/apache24/data/feedstats.
>- Set "html" to true in <pathetc>/innreport.conf.

Done

>- pkg install apache24
>- Add apache24_enable="yes" to /etc/rc.conf to set Apache to start at boot.
>- "service apache24 start" to start Apache.
>- Create /usr/local/www/apache24/data/feedstats and make sure the "news" user
>can write to the directory.
>- Create /usr/local/www/apache24/data/index.html with the content you wish to
>display.

Using nginx-devel instead of apache.

>- Run "<pathbin>/scanlogs norotate" to scan logs and generate a report, or
>wait for the next news.daily cron job to execute.
>- Success.
>
>What you see when you visit http://usenet.blueworldhostig.com is
>/usr/local/www/apache24/data/index.html. On that page I have a link to the
>/feedstats URI, which maps back to /usr/local/www/apache24/data/feedstats on
>the filesystem (which is my <pathhttp> value from <pathetc>/inn.conf). 
>Hopefully that helps, unless I misunderstood what you are trying too generate.
>

Stop on got it correct.

>Cheers,
>Jesse


-- 
Member - Liberal International This is doctor@@nl2k.ab.ca Ici doctor@@nl2k.ab.ca
Yahweh, Queen & country!Never Satan President Republic!Beware AntiChrist rising!
Look at Psalms 14 and 53 on Atheism https://www.empire.kred/ROOTNK?t=94a1f39b  
Saying good things is evil when they are lies. -unknown Beware https://mindspring.com
Technical Details
Message-ID: <t93dm2$1o4k$1@gallifrey.nk.ca>
Path: mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!illumos!news.pugleaf.net!.TX!archive.pugleaf.net!archive.newsdeef.eu!archive!apf2.newsdeef.eu!not-for-mail
References: <t8sn5l$243j$63@gallifrey.nk.ca> <t9027d$h6nf$1@news.trigofacile.com> <t904gb$1dur$35@gallifrey.nk.ca> <t936gn$2fha$1@spool1.usenet.blueworldhosting.com>

Show Full Headers
Complete Article Headers
Message-ID: <t93dm2$1o4k$1@gallifrey.nk.ca>
Subject: Re: Need help giving information on our peering service
Date: Fri, 24 Jun 2022 04:13:54 +0000
From: doctor@doctor.nl2k.ab.ca (The Doctor)
References: <t8sn5l$243j$63@gallifrey.nk.ca> <t9027d$h6nf$1@news.trigofacile.com> <t904gb$1dur$35@gallifrey.nk.ca> <t936gn$2fha$1@spool1.usenet.blueworldhosting.com>
Path: mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!illumos!news.pugleaf.net!.TX!archive.pugleaf.net!archive.newsdeef.eu!archive!apf2.newsdeef.eu!not-for-mail
Newsgroups: news.admin.peering,news.software.nntp
Organization: NetKnow News
Injection-Date: Fri, 24 Jun 2022 04:13:54 -0000 (UTC)
Injection-Info: gallifrey.nk.ca; posting-host="doctor.nl2k.ab.ca:204.209.81.1"; logging-data="57492"; mail-complaints-to="usenet@gallifrey.nk.ca"
X-Newsreader: trn 4.0-test77 (Sep 1, 2010)
Originator: doctor@doctor.nl2k.ab.ca (The Doctor)
Lines: 58