Deutsch   English   Français   Italiano  
<t027n6$2vncv$1@news.trigofacile.com>

View for Bookmarking (what is this?)
Look up another Usenet article

Path: ...!feeds.phibee-telecom.net!2.eu.feeder.erje.net!feeder.erje.net!fdn.fr!usenet-fr.net!news.trigofacile.com!.POSTED.176.143-2-105.abo.bbox.fr!not-for-mail
From: =?UTF-8?Q?Julien_=c3=89LIE?= <iulius@nom-de-mon-site.com.invalid>
Newsgroups: fr.comp.usenet.serveurs
Subject: Re: [DOC] Liste de se... [nombre de connexions]
Date: Sun, 6 Mar 2022 12:59:34 +0100
Organization: Groupes francophones par TrigoFACILE
Message-ID: <t027n6$2vncv$1@news.trigofacile.com>
References: <liste_serveurs.txt-faq-1641279303$29138@rasp.local>
 <621562ea$0$3453$426a74cc@news.free.fr>
 <621e139b$0$21068$426a74cc@news.free.fr> <svl9he$7ms$1@ns507557.dodin.fr.nf>
 <svnbfi$5hf$1@rasp.pasdenom.info> <svnhq7$r7c$1@ns507557.dodin.fr.nf>
 <svnim4$n64$1@rasp.pasdenom.info> <svnk2i$s9e$1@ns507557.dodin.fr.nf>
 <svnlsf$3v4$1@rasp.pasdenom.info> <svno35$tv3$1@ns507557.dodin.fr.nf>
 <svnrcl$f7t$1@rasp.pasdenom.info>
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8; format=flowed
Content-Transfer-Encoding: 8bit
Injection-Date: Sun, 6 Mar 2022 11:59:34 -0000 (UTC)
Injection-Info: news.trigofacile.com; posting-account="julien"; posting-host="176.143-2-105.abo.bbox.fr:176.143.2.105";
	logging-data="3136927"; mail-complaints-to="abuse@trigofacile.com"
User-Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.15; rv:91.0)
 Gecko/20100101 Thunderbird/91.6.1
Cancel-Lock: sha1:HNFqHRXlha5ix1mS1UotOaM22js= sha256:zNYmtfBeCPrRtESj7WudzxJhJcSRFXSlVxodbyEL+bU=
	sha1:Uu8gfeNXtQHJ3o9GRZkg5MMLk34= sha256:LTxrWEI3S0aTnu1+RTzWAEc5dqa7C1i/PGaP3LPY5/w=
In-Reply-To: <svnrcl$f7t$1@rasp.pasdenom.info>
Bytes: 4901
Lines: 86

Bonjour Stéphane,

> NNRP client timeouts [Top 20]
> Newsgroup request counts (by category):
> Newsgroup request counts (by newsgroup) [Top 100]:
> 
> Par contre, je n'ai pas vu dans la doc comment filtrer les résultats
> (par exemple cacher les auth users, ou transformer les top20 en top100,
> ...).

:-)

   https://www.eyrie.org/~eagle/software/inn/docs/innreport.conf.html

"Other sections are present in the configuration file to parameter the 
display, how and what to report, but should not be changed (unless you 
precisely know what you are doing)."


C'est complexe à détailler, et ça peut tout casser en modifiant la 
configuration d'innreport sans savoir ce que l'on fait... C'est du 
pseudo-code Perl.
Dans INN 2.7.0, il est prévu que innreport.conf dans <pathetc> ne 
contienne plus que sa première section de paramétrage global (ses 60 
premières lignes environ), et c'est ce que j'ai pris soin de détailler 
intégralement dans la doc.
Le reste, à savoir près de 2600 lignes de code barbare, sera dans un 
nouveau fichier séparé, innreport-display.conf, et installé dans 
<pathlib>. Avec possibilité d'avoir un innreport-display.conf.local dans 
<pathetc> pour les administrateurs qui souhaitent modifier ce fichier.


Pour répondre à tes questions, il faut changer "top 20;" en "top 100;" 
dans la section correspondante. Et utiliser "html false;" pour ne pas 
qu'une section apparaisse dans tes rapports HTML. Si tu ne la veux pas 
non plus dans ton rapport texte, tu peux aussi ajouter "text false;".


section nnrpd_auth {
         title   "NNRP auth users:";
         data    "%nnrpd_auth";
         top     20;
         sort    "$nnrpd_auth{$b} <=> $nnrpd_auth{$a}";
         column {
                 name          "User";
                 format        "%-71.71s";
                 value         "$key";
                 format_total  "TOTAL: %-64.64s";
                 total         "$num";
         };
         column {
                 name          "Conn";
                 format_name   "%7s";
                 format        "%7d";
                 value         "$nnrpd_auth{$key}";
                 total         "total(%nnrpd_auth)";
         };
};



"html

This is a mandatory option with no default value.  It serves two 
purposes: generating HTML reports besides the plain text report printed 
to standard output, and configuring in the sections other than default 
in the configuration file whether a section of the report should be 
present in the HTML output.

If set to true, and the -nohtml flag not given when calling innreport, 
HTML reports will be generated.  These reports will not contain sections 
individually having html set to false in the configuration file (by 
default, everything is present in the HTML reports)."



> Ici, j'ai eu la mauvaise idée de mettre en user l'adresse mail et il
> faudrait que je modifie dans le filtre nnrp ce champs trop intéressant
> pour les spammeurs...

J'espère avoir répondu à ton besoin !

-- 
Julien ÉLIE

« Un voyage de mille lieues commence toujours par un premier pas. » (Lao
   Zi)