INNREPORT(8)
π¦ innreport (INNREPORT(8)) β Summarize INN log files π¦
okay so this is the whole manual page for innreport, and it's giving βPerl script that eats log files and makes pretty reportsβ energy. Let's get into it, bestie. π
β¨ NAME β¨
innreport β Summarize INN log files.
πΈ SYNOPSIS πΈ
innreport -f config-file [-config] [-help] [-v] [-[no]archive] [-[no]casesensitive] [-[no]graph] [-[no]html] [-[no]html-unknown] [-[no]notdaily] [-[no]unknown] [-cycle num-cycle] [-dir http-dir] [-index index-file] [-maxunrec num-lines] [-path pictures-dir] [-separator char] [-webpath pictures-path] log-file [log-file ...]
π DESCRIPTION π
innreport is a Perl script that summarizes INN log files, with optional HTML output and graphs. It is normally invoked by scanlogs(8), which includes the output of innreport in daily Usenet reports.
The supported programs are batcher, cnfsstat, controlchan, innd, innfeed, innxbatch, innxmit, nnrpd, nntplink (an external program), overchan, perl-nocem and rnews.
innreport also updates the count of newsgroups not locally carried by the news server, and for which articles have been received, in the unwanted.log log file. If that update should not be done, as it should occur only once a day while parsing daily logs, the -notdaily flag should be given to innreport.
If you want innreport to generate graphs in its HTML reports, you need the Perl graphic library GD.pm.
At least one non-empty log file to parse should be given at the end of the command line invoking innreport. No empty-log-file shenanigans, bestie. periodt. π
π OPTIONS π
Only one option is mandatory:
-fconfig-file β Full path to the configuration file. It is usuallyinnreport.confinpathetc, but there is no default value. This file lists the options to use for the report. The options given in command line when callinginnreporttake precedence over the ones in the configuration file.
The other options are optional. Prepending βnoβ in front of boolean options permits unsetting them. For example, use -nograph to remove the feature -graph enables.
-archive/-aβ Sets whether HTML pages and graphs should be archived if HTML reports are enabled. When this option is set, which is the default, a date will be added in the file name of each report and each graph. Otherwise, only the latest HTML report is kept.-casesensitiveβ Whether to do case sensitive searches in news log files for predetermined patterns. This option is enabled by default.-configβ Prints to standard output configuration information forinnreport, and exits.-cycle/-cnum-cycle β Sets how many report files should be kept if HTML reports are enabled and archived. The default is0, meaning all archives are kept.-dir/-dhttp-dir β Sets the directory for web pages if HTML reports are enabled. The default is the value ofpathhttpas set ininn.conf.-graph/-gβ If the Perl graphic libraryGD.pmis installed and HTML reports are enabled, graphs are also generated in PNG if supported byGD, which is the case in modern versions (GIF will otherwise be generated). The default is to enable graph generation.-help/-hβ Prints to standard output a help message with all the options recognized byinnreport, and exits.-htmlβ Besides the plain text report printed to standard output,innreportgenerates HTML reports if this option is enabled. This option is disabled by default (that is to say-nohtmlis the default).-html-unknownβ Whether to report unknown entries from news log files in HTML reports, when enabled. This option takes by default the same value as the one for text plain reports (as set with the-unknownoption).-index/-iβ Sets the name of the index web page if HTML reports are enabled. The default isindex.html.-maxunrecnum-lines β How many unrecognized entries from news log files to report, when the-unknownor-html-unknownoptions are set. The default is50. Using-1means there is no limit.-notdailyβ Whether to defer daily actions for this run ofinnreport. Some actions should be performed only once a day for a log file (notablyunwanted.log). This option is disabled by default, meaning that all actions are always done, as we assume a default setup of runningscanlogsdaily.-path/-ppictures-dir β Sets the directory for pictures if HTML reports are enabled, and graphs are wanted. The default ispathhttp/pics.
If both -dir and -webpath are used, and -path isn't, the directory used for pictures defaults to http-dir as set with -dir/pictures-path as set with -webpath.
-separator/-schar β Sets the separator between hours, minutes and seconds in file names if HTML reports are enabled and archived. The default is.as:may not be properly read by all web browsers. Be careful not to use/as a separator, and to use only a valid file name character.-unknownβ Whether to report unknown entries from news log files in plain text reports. This option is enabled by default.-vβ Prints to standard output the version number ofinnreport, and exits.-webpath/-wpictures-path β Sets the web path for pictures in HTML pages if HTML reports are enabled, and graphs are wanted. The default ispics. It can be a relative path or an absolute path. If an absolute path is used, you have to set-pathappropriately; otherwise it will not be computed right.
π¦ HISTORY π¦
Written by Fabien Tassin <fta@sofaraway.org> for InterNetNews. Rewritten into POD by Julien Elie.
π SEE ALSO π
innreport.conf(5), news.daily(8), newslog(5), scanlogs(8).
π that's the whole vibe, bestie β source/version INN 2.7.4, dated 2022-07-10, manual INNREPORT(8). slay π
π¦ where this page comes from
- arch rolling: inn 2.7.4-4 Β· ISC
- epel 10: inn 2.7.4-5.el10_3 Β· ISC AND BSD-3-Clause AND BSD-4-Clause AND FSFAP AND (GPL-1.0-or-later OR Artistic-1.0-Perl) AND GPL-3.0-or-later WITH Bison-exception-2.2 AND LicenseRef-Fedora-Public-Domain AND MIT AND NTP
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash-1017 on : a language model's rewrite of the original, under its terms