cl_prodweb - "prod" the webwatch daemon


Synopsis:

usage: cl_prodweb [options]
     -1                  sends SIGUSR1 (just update the page)
     -2                  sends SIGUSR2 (re-load config file)
     -I                  sends SIGINT  (gracefully shut down)
     -9                  kills the webwatch daemon
     -s sig              send specified signal
     -w host             assume daemon is on this host
     -v                  verbose output
     -V                  really verbose output


Description:
cl_prodweb is used to initiate a web-page update before the usual update interval has elapsed. In some cases, this may be used to update the web page just before running some job. In other cases, like when a new machine is added, you may want to not just update the page but also have webwatchd re-load the configuration file so it "knows" about the new machine.

cl_prodweb is a Perl script which simply automates the process of rsh-ing to the webwatchd host and signalling it.


Options:
By default, cl_prodweb will send SIGUSR1 (can also be forced with the -1 option). If you want to re-load the configuration file, then use the -2 option. If you want to shut down the webwatch service, use the -I or "-s INT" options.

At present, only SIGUSR1 (update), SIGUSR2 (reload configuration), and SIGINT (graceful shutdown) are trapped by webwatchd. So using the "-s sig" option to send an odd signal may screw things up.

In some cases, I've had to run a webwatch daemon on someplace other than the "webhost" in the config file, so I added the -w option.


RCSID $Id: cl_prodweb.html,v 1.3 2002/03/12 14:11:18 jpormann Exp $