[cod] monitoring script

Ian mu mu.llamas at gmail.com
Tue Oct 18 06:40:32 EDT 2005


I just have a simple perl script that uses qstat, polls to check servers up
(in case process is up but its "hung"), and restarts if its down. Can't
really give it out unfortunately (not my choice), but certainly don't mind
helping anyone create their own so to speak.

On 10/18/05, Xealot <xealot at gmail.com> wrote:
>
> You dont need any particular knowledge to do this,
> i would imagine to do it very simple you can google up the basics about
> bash scripting (found out IFs and such), also google about cronjobs
>
> simply set a cronjob to execute a script that will look at running apps
> if the cod server is amongst them nothing happens, if not.. it executed
> the cod
> binary again
>
> - Xealot
>
> On 10/18/05, Geoff Goas <gitman at gmail.com> wrote:
> > i know this has been mailed before, but does anyone have a nice shell
> > script that will monitor my cod/uo server to see if it has crashed and
> > will restart it if it has?
> >
> > --
> > Geoff Goas, Administrator
> > |ax|anarchic - http://www.anarchic-x.com
> >
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://icculus.org/pipermail/cod/attachments/20051018/d6edcaa5/attachment.htm>


More information about the Cod mailing list