🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Thread View: news.software.nntp
19 messages
19 total messages Started by NPG Wed, 29 Oct 2008 20:09
Innreport question
#79608
Author: NPG
Date: Wed, 29 Oct 2008 20:09
2 lines
1052 bytes
How do I get innreport to build the graphs on incomming feeds?
Mine is currently not doing that.
Re: Innreport question
#79600
Author: Alexander Bartolich
Date: Wed, 29 Oct 2008 20:27
10 lines
1491 bytes
NPG schrieb:
> How do I get innreport to build the graphs on incomming feeds?
> Mine is currently not doing that.

Do you get any graphs?
Do you get the "Incoming Feeds" table?
What version of INN on what platform do you use?

-- 
usingwhitespaceisracism
Re: Innreport question
#79602
Author: D. Stussy
Date: Wed, 29 Oct 2008 20:37
8 lines
1417 bytes
"NPG" <nathan@cmpublishers.com> wrote in message
news:geacdi$6sp$1@cs2.cmpublishers.com...
> How do I get innreport to build the graphs on incomming feeds?
> Mine is currently not doing that.

You may be missing the graphics library.  Install it.

Re: Innreport question
#79603
Author: Ray Banana
Date: Wed, 29 Oct 2008 20:41
20 lines
1996 bytes
Thus spake "D. Stussy" <spam@bde-arc.ampr.org>
 
>> How do I get innreport to build the graphs on incomming feeds?
>> Mine is currently not doing that.
> You may be missing the graphics library.  Install it.

or graphical out may be disabled in innreport.conf:

section default {
    [...]
    html                true;
    graph               true;               # need 'html'
    [...]

};


-- 
Time flies like an arrow, fruit flies like a Banana.
http://news.motzarella.org
Re: Innreport question
#79605
Author: NPG
Date: Thu, 30 Oct 2008 14:57
28 lines
1967 bytes
* Alexander Bartolich wrote:
> NPG schrieb:
>> How do I get innreport to build the graphs on incomming feeds?
>> Mine is currently not doing that.
> 
> Do you get any graphs?
> Do you get the "Incoming Feeds" table?
> What version of INN on what platform do you use?
> 
Ok, sorry about that, I forgot to give you guys enough info.

1. Yes I get the graphs on the index page, but the incomming feeds graph
is always 0.

2. No I don't get the incoming feed stuff in the daily reports.
3. I'm running INN 2.4.3 on Linux.

I have these entries in innreport.conf

    html            true;
    graph           true;

My guess is that INN isn't generating the data for innreport to use.
Maybe my question should have been.
How do I get INN to generate the data that innreport needs to build the
graphs on incomming feeds?

Thanks in Advance
Re: Innreport question
#79606
Author: Alexander Bartolich
Date: Thu, 30 Oct 2008 15:04
24 lines
2063 bytes
NPG schrieb:
> [...]
> 2. No I don't get the incoming feed stuff in the daily reports.
> 3. I'm running INN 2.4.3 on Linux.
> [...]
> My guess is that INN isn't generating the data for innreport to use.
> Maybe my question should have been.
> How do I get INN to generate the data that innreport needs to build the
> graphs on incomming feeds?

Option "nntpactsync" configures the logging frequence (and thus was
renamed to "incominglogfrequency" in 2.5). But AFAIK there is no
way to completely switch this logging off. What is the output of

  grep -c 'checkpoint seconds' /var/log/news/news.notice

?

Perhaps you have problems with log file rotation. For example
the default syslog shipped with Ubuntu 8.04 does not work together
with INN's news.daily script.

-- 
usingwhitespaceisracism
Re: Innreport question
#79607
Author: NPG
Date: Thu, 30 Oct 2008 16:17
26 lines
2061 bytes
* Alexander Bartolich wrote:
> NPG schrieb:
>> [...]
>> 2. No I don't get the incoming feed stuff in the daily reports.
>> 3. I'm running INN 2.4.3 on Linux.
>> [...]
>> My guess is that INN isn't generating the data for innreport to use.
>> Maybe my question should have been.
>> How do I get INN to generate the data that innreport needs to build the
>> graphs on incomming feeds?
> 
> Option "nntpactsync" configures the logging frequence (and thus was
> renamed to "incominglogfrequency" in 2.5). But AFAIK there is no
> way to completely switch this logging off. What is the output of
Is set to 200
> 
>   grep -c 'checkpoint seconds' /var/log/news/news.notice
250
> 
> ?
> 
> Perhaps you have problems with log file rotation. For example
> the default syslog shipped with Ubuntu 8.04 does not work together
> with INN's news.daily script.
> 
Maybe, I'll take a look.
Re: Innreport question
#79609
Author: Alexander Bartolich
Date: Thu, 30 Oct 2008 18:46
26 lines
2268 bytes
NPG schrieb:
> * Alexander Bartolich wrote:
>> [...]
>> Option "nntpactsync" configures the logging frequence (and thus was
>> renamed to "incominglogfrequency" in 2.5). But AFAIK there is no
>> way to completely switch this logging off. What is the output of
> Is set to 200

That's the default, good.

>>   grep -c 'checkpoint seconds' /var/log/news/news.notice
> 250

So there is definitely something logged. However, that grep catches
the output of both innd and innfeed. A more selective pattern is

   grep 'innd: .* checkpoint seconds' /var/log/news/news.notice

A sample line on my system looks like this:

   Oct 30 03:23:49 schnuerpel innd: feeder.motzarella.org:74 checkpoint seconds 22043 accepted 1329 refused 32013 rejected 471 duplicate 448 accepted size 3331629 duplicate size 994040

The number after "accepted size" is crucial. 

-- 
usingwhitespaceisracism
Re: Innreport question
#79610
Author: NPG
Date: Thu, 30 Oct 2008 22:57
32 lines
2443 bytes
* Alexander Bartolich wrote:
> NPG schrieb:
>> * Alexander Bartolich wrote:
>>> [...]
>>> Option "nntpactsync" configures the logging frequence (and thus was
>>> renamed to "incominglogfrequency" in 2.5). But AFAIK there is no
>>> way to completely switch this logging off. What is the output of
>> Is set to 200
> 
> That's the default, good.
> 
>>>   grep -c 'checkpoint seconds' /var/log/news/news.notice
>> 250
> 
> So there is definitely something logged. However, that grep catches
> the output of both innd and innfeed. A more selective pattern is
> 
>    grep 'innd: .* checkpoint seconds' /var/log/news/news.notice
That didn't give me anything so I tried.
grep "innd" /var/log/news/news.notice|grep -c 'checkpoint seconds'
Which gave me 0
I think that is the problem.
I obviously have something set wrong, but am not sure what.

Enlighten me Jedi newsmasters.
> 
> A sample line on my system looks like this:
> 
>    Oct 30 03:23:49 schnuerpel innd: feeder.motzarella.org:74 checkpoint seconds 22043 accepted 1329 refused 32013 rejected 471 duplicate 448 accepted size 3331629 duplicate size 994040
> 
> The number after "accepted size" is crucial. 
> 
Re: Innreport question
#79612
Author: D. Stussy
Date: Thu, 30 Oct 2008 23:01
16 lines
1821 bytes
"NPG" <nathan@cmpublishers.com> wrote in message
news:gedal9$5tn$1@cs2.cmpublishers.com...
> ...
> >    grep 'innd: .* checkpoint seconds' /var/log/news/news.notice
> That didn't give me anything so I tried.
> grep "innd" /var/log/news/news.notice|grep -c 'checkpoint seconds'
> Which gave me 0
> I think that is the problem.
> I obviously have something set wrong, but am not sure what.

~news/etc/innreport.conf:    logpath  "....."

Is your syslog writing its logfiles to the same directory as the logpath
directive for the "news.*" category?

Re: Innreport question
#79611
Author: D. Stussy
Date: Fri, 31 Oct 2008 00:28
32 lines
2471 bytes
"NPG" <nathan@cmpublishers.com> wrote in message
news:gedhdd$jdc$1@cs2.cmpublishers.com...
> * D. Stussy wrote:
> > ~news/etc/innreport.conf:    logpath  "....."
> /var/log/news
> >
> > Is your syslog writing its logfiles to the same directory as the logpath
> > directive for the "news.*" category?
> >
> >
> grep "news" /etc/syslog.conf
> *.info;mail.none;;news.none;authpriv.none -/var/log/messages
> news.=debug;news.=info;news.=notice -/var/log/news/news.notice
> news.=crit -/var/log/news/news.crit
> news.=err -/var/log/news/news.err
> # Save mail and news errors of level err and higher in a
> uucp,news.crit -/var/log/spooler
> news.*  /dev/tty9

OK - looks the same, but make certain it's not "/var/lib/news/log" or some
other similar combination.  Perhaps remove the equals signs as there may be
other priorities that don't get into the files (and go only to tty9).

> Logrotate is also scheduled to rotate the news log weekly
> grep "news" *
> ...
> I'm thinking that I should disable that.

"news.daily" also wants to rotate logs.  Therefore, you're probably rotating
them out of sight before they are read for innreport (and rotated again).

Re: Innreport question
#79613
Author: NPG
Date: Fri, 31 Oct 2008 00:53
37 lines
2489 bytes
* D. Stussy wrote:
> "NPG" <nathan@cmpublishers.com> wrote in message
> news:gedal9$5tn$1@cs2.cmpublishers.com...
>> ...
>>>    grep 'innd: .* checkpoint seconds' /var/log/news/news.notice
>> That didn't give me anything so I tried.
>> grep "innd" /var/log/news/news.notice|grep -c 'checkpoint seconds'
>> Which gave me 0
>> I think that is the problem.
>> I obviously have something set wrong, but am not sure what.
> 
> ~news/etc/innreport.conf:    logpath  "....."
/var/log/news
> 
> Is your syslog writing its logfiles to the same directory as the logpath
> directive for the "news.*" category?
> 
> 
grep "news" /etc/syslog.conf
*.info;mail.none;;news.none;authpriv.none	-/var/log/messages
news.=debug;news.=info;news.=notice	-/var/log/news/news.notice
news.=crit				-/var/log/news/news.crit
news.=err				-/var/log/news/news.err
# Save mail and news errors of level err and higher in a
uucp,news.crit				-/var/log/spooler
news.*  /dev/tty9

Logrotate is also scheduled to rotate the news log weekly
grep "news" *

>From the /etc/logrotate.d dir

syslog:/var/log/news/news.err {
syslog:/var/log/news/news.notice {
syslog:/var/log/news/news.crit {

I'm thinking that I should disable that.
Re: Innreport question
#79614
Author: D. Stussy
Date: Fri, 31 Oct 2008 01:29
12 lines
1800 bytes
"NPG" <nathan@cmpublishers.com> wrote in message
news:gedldv$rmc$1@cs2.cmpublishers.com...
> > "news.daily" also wants to rotate logs.  Therefore, you're probably
rotating
> > them out of sight before they are read for innreport (and rotated
again).
> In that case I will disable that.

I hope that means disabling logrotate for the news.* logs.  Let "news.daily"
rotate those.

Re: Innreport question
#79615
Author: NPG
Date: Fri, 31 Oct 2008 02:01
43 lines
2875 bytes
* D. Stussy wrote:
> "NPG" <nathan@cmpublishers.com> wrote in message
> news:gedhdd$jdc$1@cs2.cmpublishers.com...
>> * D. Stussy wrote:
>>> ~news/etc/innreport.conf:    logpath  "....."
>> /var/log/news
>>> Is your syslog writing its logfiles to the same directory as the logpath
>>> directive for the "news.*" category?
>>>
>>>
>> grep "news" /etc/syslog.conf
>> *.info;mail.none;;news.none;authpriv.none -/var/log/messages
>> news.=debug;news.=info;news.=notice -/var/log/news/news.notice
>> news.=crit -/var/log/news/news.crit
>> news.=err -/var/log/news/news.err
>> # Save mail and news errors of level err and higher in a
>> uucp,news.crit -/var/log/spooler
>> news.*  /dev/tty9
> 
> OK - looks the same, but make certain it's not "/var/lib/news/log" or some
> other similar combination.  Perhaps remove the equals signs as there may be
> other priorities that don't get into the files (and go only to tty9).
Changed it to
news.*;news.!=crit;news.!=err               -/var/log/news/news.notice

Apparently INN is dumping those messages at a different priority
I just ran
grep -c 'checkpoint seconds' /var/log/syslog
and got
4624

syslog gets *.*
> 
>> Logrotate is also scheduled to rotate the news log weekly
>> grep "news" *
>> ...
>> I'm thinking that I should disable that.
> 
> "news.daily" also wants to rotate logs.  Therefore, you're probably rotating
> them out of sight before they are read for innreport (and rotated again).
In that case I will disable that.
> 
> 
Re: Innreport question
#79617
Author: Julien ÉLIE
Date: Fri, 31 Oct 2008 07:03
12 lines
1965 bytes
> I hope that means disabling logrotate for the news.* logs.  Let "news.daily"
> rotate those.


Yep.  And "logcycles" in inn.conf states how many old logs should be kept.
The default value is 3 and can be increased.

-- 
Julien ÉLIE

« I don't worry about terrorism.  I was married for two years. » (Sam Kinison) 
Re: Innreport question
#79616
Author: Bozweb
Date: Fri, 31 Oct 2008 15:25
30 lines
1751 bytes
On Wed, 29 Oct 2008 15:09:34 -0500, NPG <nathan@cmpublishers.com>
wrote:

>How do I get innreport to build the graphs on incomming feeds?
>Mine is currently not doing that.

My solution:

Make a file in usr/local/news/bin.
ie rapport.
write this:
#!/bin/sh
cd /usr/local/news/bin/
./innreport -f innreport.conf /usr/local/news/log/news.notice
/usr/local/news/log/news
save it
Then chmod +x rapport

nano /etc/crontab.
Write: 59 2    * * *   root             /usr/local/news/bin/rapport

Be sure you have News/stats/pics in your www directory. Or similar.
You can chance that in innreport.conf

result is on my site http://www.bozweb.net/News/stats/




Re: Innreport question
#79620
Author: Julien ÉLIE
Date: Fri, 31 Oct 2008 18:30
16 lines
1713 bytes
Hi Bozweb,

> ./innreport -f innreport.conf /usr/local/news/log/news.notice
> /usr/local/news/log/news

    scanlogs norotate

does that for you:

    http://www.eyrie.org/~eagle/software/inn/docs/scanlogs.html

-- 
Julien ÉLIE

« I think it's a new feature.  Don't tell anyone it was an accident. » (Larry Wall) 
Re: Innreport question
#79621
Author: Bozweb
Date: Fri, 31 Oct 2008 20:30
16 lines
1447 bytes
On Fri, 31 Oct 2008 19:30:14 +0100, Julien ÉLIE
<iulius@nom-de-mon-site.com.invalid> wrote:

>Hi Bozweb,
>
>> ./innreport -f innreport.conf /usr/local/news/log/news.notice
>> /usr/local/news/log/news
>
>    scanlogs norotate
>
>does that for you:
>
>    http://www.eyrie.org/~eagle/software/inn/docs/scanlogs.html

Hm, i never use that.Because i never read a manual, except the one
from my video recorder.
Re: Innreport question
#79629
Author: NPG
Date: Sat, 01 Nov 2008 13:08
6 lines
1224 bytes
* NPG wrote:
> How do I get innreport to build the graphs on incomming feeds?
> Mine is currently not doing that.

Got it working now.
Thanks folks.
Thread Navigation

This is a paginated view of messages in the thread with full content displayed inline.

Messages are displayed in chronological order, with the original post highlighted in green.

Use pagination controls to navigate through all messages in large threads.

Back to All Threads