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