Thread View: news.software.nntp
9 messages
9 total messages
Started by zeffer
Mon, 09 May 2011 18:28
submitting to top1000
Author: zeffer
Date: Mon, 09 May 2011 18:28
Date: Mon, 09 May 2011 18:28
35 lines
1879 bytes
1879 bytes
I have seen this howto http://news.datemas.de/top1000howto.html but I think it may be a little out of date I have installed inn2 on debian with apt-get Here is what I have so far enabled in newsfeeds newsfeeds as root user inpaths!:*:Tc,WP:/usr/lib/news/bin/ninpaths -p -d /var/log/news/path/ inpaths.%d inn2 as root user enabled /etc/cron.d/inn2 : 45 2 * * * news ctlinnd -s -t 60 flush inpaths! 45 3 * * * news sendinpaths #script to update added toas root user /usr/lib/news/bin/sendinpaths defaddr="pathsurvey@top1000.org top1000@anthologeek.net admins@usenet.com" thanks for any feedback
Re: submitting to top1000
Author: D. Stussy
Date: Mon, 09 May 2011 20:30
Date: Mon, 09 May 2011 20:30
20 lines
1867 bytes
1867 bytes
"zeffer" <xmartin108@gmail.com> wrote in message news:e34583e6-1b0f-4aca-a64a-5f4565aad0c7@k17g2000vbn.googlegroups.com... > I have seen this howto http://news.datemas.de/top1000howto.html but I > think it may be a little out of date.... Not really. Basically still correct. > enabled /etc/cron.d/inn2 : > 45 2 * * * news ctlinnd -s -t 60 flush inpaths! > 45 3 * * * news sendinpaths #script to update I always use full pathnames to cron jobs. One never knows what the default for $PATH is from one environment to another. > defaddr="pathsurvey@top1000.org top1000@anthologeek.net > admins@usenet.com" I only use the first two.
Re: submitting to top1000
Author: zeffer
Date: Tue, 10 May 2011 05:06
Date: Tue, 10 May 2011 05:06
24 lines
1851 bytes
1851 bytes
thanks for your post Today on checking my mail I saw a mail sent to To: pathsurvey@top1000.org, top1000@anthologeek.net,and myself but it was a very large mail 2133k in size it listed all the groups and postings I have two questions do i just need to place the path to sendinpaths? what about inpaths also? this is in /var/log/news/news > enabled /etc/cron.d/inn2 : > 45 2 * * * news ctlinnd -s -t 60 flush inpaths! > 45 3 * * * news sendinpaths #script to update martin
Re: submitting to top1000
Author: yamo'
Date: Tue, 10 May 2011 08:12
Date: Tue, 10 May 2011 08:12
26 lines
2267 bytes
2267 bytes
Hi, zeffer a tapoté, le 10/05/2011 07:06: > Today on checking my mail I saw a mail sent to > > To: pathsurvey@top1000.org, top1000@anthologeek.net,and myself > > but it was a very large mail 2133k in size it listed all the groups > and postings Does it looked like that : ZCZC begin inhosts 3.1.1 usenet.pasdenom.info 2 601235 8.1 1414 newsgate.cistron.nl ... emea.uu.net H 1406 Z newshub.netvisao.pt U ZCZC end inpaths usenet.pasdenom.info -- Stéphane <http://pasdenom.info/fortune/> Les forêts précèdent les peuples, les déserts les suivent. -+- François René de Chateaubriand -+-
Re: submitting to top1000
Author: zeffer
Date: Tue, 10 May 2011 10:46
Date: Tue, 10 May 2011 10:46
7 lines
1541 bytes
1541 bytes
yes starts with short newsgroup name then a list with a longer version ZCZC begin inhosts 3.1.1 and ZCZC end inpaths
Re: submitting to top1000
Author: Miquel van Smoorenburg
Date: Wed, 11 May 2011 21:02
Date: Wed, 11 May 2011 21:02
10 lines
1552 bytes
1552 bytes
In article <e34583e6-1b0f-4aca-a64a-5f4565aad0c7@k17g2000vbn.googlegroups.com>, zeffer <xmartin108@gmail.com> wrote: >I have seen this howto http://news.datemas.de/top1000howto.html but I >think it may be a little out of date Try this: http://newsfeed.xs4all.nl/setup-inpaths-inn2.html Mike.
Re: submitting to top1000
Author: Julien ÉLIE
Date: Wed, 11 May 2011 21:53
Date: Wed, 11 May 2011 21:53
27 lines
2153 bytes
2153 bytes
Hi Miquel,
> http://newsfeed.xs4all.nl/setup-inpaths-inn2.html
Thanks for the pointer.
"Start inpaths logging with ctlinnd reload newsfeeds or by restarting innd."
-> An argument is missing to the ctlinnd command: the reason of the
reload. It can be an empty string.
USAGE="Usage: xs-inpaths [-n] mailto [mailto..]"
-> The name of the script is not right.
In the sendinpaths script shipped with INN, the report is supposed to be
sent every month (30 days is hard-coded). Maybe we should make it
configurable; this way, people could give the number of days for the
report as an argument to the script when they put it into their crontab.
http://www.eyrie.org/~eagle/software/inn/docs/ninpaths.html
http://www.eyrie.org/~eagle/software/inn/docs/sendinpaths.html
--
Julien ÉLIE
« The most effective way to remember your wife's birthday is to forget
it once… » (Nash)
Re: submitting to top1000
Author: Miquel van Smoorenburg
Date: Wed, 11 May 2011 22:01
Date: Wed, 11 May 2011 22:01
23 lines
2070 bytes
2070 bytes
In article <930eq6Fij5U1@mid.individual.net>, Julien à LIE <iulius@nom-de-mon-site.com.invalid> wrote: >Hi Miquel, > >> http://newsfeed.xs4all.nl/setup-inpaths-inn2.html > >Thanks for the pointer. > >"Start inpaths logging with ctlinnd reload newsfeeds or by restarting innd." >-> An argument is missing to the ctlinnd command: the reason of the >reload. It can be an empty string. > Ah, yes. I just put that page up today, to help a new peer with configuring the inpaths stuff. I just did a quick writeup, thanks for the bugreport :) >USAGE="Usage: xs-inpaths [-n] mailto [mailto..]" >-> The name of the script is not right. It is/was an internal script (as you can see from the xs- prefix) that went through a few iterations .. fixed. Mike.
Re: submitting to top1000
Author: Julien ÉLIE
Date: Mon, 18 Jul 2011 21:51
Date: Mon, 18 Jul 2011 21:51
84 lines
4648 bytes
4648 bytes
Hi all,
> In the sendinpaths script shipped with INN, the report is supposed to be
> sent every month (30 days is hard-coded). Maybe we should make it
> configurable; this way, people could give the number of days for the
> report as an argument to the script when they put it into their crontab.
I have just taken the time to do that.
I read in <http://top1000.org/>:
It only relies on the few servers that send their stats on a
daily/weekly basis.
Just set up a cron job to compute the stats every month, or even
every day/week. Sending stats every day is an interesting option,
because full feeds today mean big path logfiles, parsing and clearing
them daily is often valuable. It also helps computing pertinent daily
stats.
OK, then it is time to switch to a daily generation!
I suggest the following changes for INN 2.5.3.
Excerpt from an updated documentation:
ninpaths
--------
Enter into your news user crontab these two lines:
6 6 * * * <pathbin>/ctlinnd flush inpaths!
10 6 * * * <pathbin>/sendinpaths
(the actual time doesn’t matter). This will force ninpaths to
generate a dump file once a day. Then, a few minutes later,
sendinpaths collects the dumps, makes a report, sends the
collected statistics, and deletes the old dumps.
Note that you can manually generate a report without mailing it,
and without deleting processed dump files, with "sendinpaths -n".
sendinpaths
-----------
sendinpaths [-n] [-k keep-days] [-r report-days]
[address [address ...]]
-k keep-days
After having processed dump files, sendinpaths removes those
that are older than keep-days days. The
default is 0, that is to say to remove all dump files.
Setting keep-days to another value can be useful for
debugging purpose because it permits to keep a few
dump files.
-r report-days
Process dump files generated during the last report-days
days. The default is 30, that is to say to
process all the dump files that have been generated during
the last 30 days (if, of course, they have
not been deleted yet by a previous run of sendinpaths
according to the value set by the -k flag).
This way, the new script is totally transparent during an update from
previous versions of INN. An existing monthly crontab will go on
working the same way (because of the -r flag defaulting to 30 days).
Old dumps will be purged, though. But already treated.
This new script will also fix weird things that affected the previous
sendinpaths script, like a loss of stats for 1 or 2 days when the month
is 30 or 31 days, and a day sent twice when the month is 28 days
(because of a previous -k defaulting to 14 days).
--
Julien ÉLIE
« Les horizontales se rencontrent dans tous les milieux, les
parallèles jamais. » (Alphonse Allais)
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