1INNWATCH(8) InterNetNews Documentation INNWATCH(8)
2
3
4
6 innwatch - Monitor the state of INN and the system
7
9 innwatch [-f ctlfile] [-i seconds] [-l logfile] [-t seconds]
10
12 innwatch is normally started and stopped by rc.news when doinnwatch is
13 set to true in inn.conf. Every innwatchsleeptime seconds, as set in
14 inn.conf as well as other parameters tuning its behaviour, innwatch
15 examines the load average, and the number of free blocks and inodes on
16 the spool partition, as described by its control file, innwatch.ctl in
17 pathetc.
18
19 If the load gets too high, or the disk gets too full, it throttles the
20 server. When the condition restores, it unblocks the server. In
21 addition, on each pass through the loop, it will check the logfile
22 pathlog/news.crit to see if it has been modified, and send mail to the
23 news administrator if so.
24
25 Upon receipt of an interrupt signal (SIGINT), innwatch will report its
26 status in the file innwatch.status in pathrun.
27
29 -f file
30 Specify the control file to use, other than the default of
31 innwatch.ctl in pathetc.
32
33 -i seconds
34 With this option, innwatch has an initial sleep of seconds seconds
35 at startup. This is useful when innwatch is started at the same
36 time as INN, so that it can wait a little before beginning
37 performing its checks.
38
39 -l logfile
40 Specify a log file to watch, other than the default of news.crit.
41
42 -t seconds
43 Specify the period in seconds between checks, to override the value
44 set in inn.conf.
45
47 Written by Mike Cooper <mcooper@usc.edu>, with modifications by
48 <kre@munnari.oz.au>, Steve Groom <stevo@elroy.jpl.nasa.gov> and
49 Christophe Wolfhugel <wolf@pasteur.fr>. Converted to POD by Julien
50 Elie.
51
53 inn.conf(5), innwatch.ctl(5), newslog(5), rc.news(8).
54
55
56
57INN 2.7.0 2022-07-10 INNWATCH(8)