[Labs-l] Bigbrother is watching...

Danmichaelo danmichaelo+wikipedia at gmail.com
Thu Jul 24 11:14:14 UTC 2014


This is very useful indeed! Could you please add info to
https://wikitech.wikimedia.org/wiki/Nova_Resource:Tools/Help as well for
future reference?

Dan Michael



On 16 July 2014 21:36, Marc A. Pelletier <marc at uberbox.org> wrote:

> ... if you ask it to.
>
> I've deployed a first version of the bigbrother daemon, that will watch
> tool jobs you specify and restart them if they fail for any reason.
>
> === What it does ===
>
> If one of the jobs it tracks is not running (or pending), it will
> attempt to start it again.  Bigbrother will attempt to start a job up to
> five times in a 24h window; throttling further restarts.
>
> If it restarts a job, or fails to do so, it will send an email to the
> tool's maintainers, and log to ~/bigbrother.log
>
> === How to use it ===
>
> For every job you want to watch, you have add a line to ~/.bigbrotherrc
> (that file is checked for jobs to watch every couple minutes).
>
> It understands exactly two types of entries:
>
>   webservice [-tomcat]
>
> will watch for a webservice, and issue a 'webservice start' if it stops;
> and
>
>   jstart -N <jobname> [more options]
>
> will watch for a continuous job by the specified name, using the
> specified command line to restart it if it stops.  Please note that the
> -N option is mandatory, and must be the first specified option.
>
> Any other entry will be ignored, and cause an error (that will also be
> mailed to the tool's maintainers).
>
> Any output from webservice or jstart will be appended to the
> bigbrother.log file.
>
> -- Marc
>
> _______________________________________________
> Labs-l mailing list
> Labs-l at lists.wikimedia.org
> https://lists.wikimedia.org/mailman/listinfo/labs-l
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.wikimedia.org/pipermail/labs-l/attachments/20140724/b09c0753/attachment.html>


More information about the Labs-l mailing list