[Seaside] Monit on Ubuntu / Debian to monitor Seaside images

Sebastian Sastre ssastre at seaswork.com
Sun Feb 10 17:28:47 UTC 2008

As far as I know for *nix systems process only have PID number as formal
reference so I don't get why do you need a name and identify them by it. 
I exposed I make squeak images to create a PID file in /var/run/services
with it's unique *service name* which match the name of the script which
starts/stops the process of that service, just to make them human
manageable. So the OJ7WRE is just the name of the script which starts/stops
that image and the name of the PID file that image creates/deletes when it
I've made all that just to be able to invoke with a name the process of that
image so monit can watch on its pid file to know if it's alive or other
details of the process.
I plan to create scripts-paths-images automagically but they are manually
created by now.
Sebastian Sastre



De: seaside-bounces at lists.squeakfoundation.org
[mailto:seaside-bounces at lists.squeakfoundation.org] En nombre de Rajeev
Enviado el: Domingo, 10 de Febrero de 2008 00:41
Para: Seaside - general discussion
Asunto: Re: [Seaside] Monit on Ubuntu / Debian to monitor Seaside images

In your first mail of this thread, you have given out the code that needs to
be appended into monitrc. How could you create process named OJ7WRE ?

Right now, I have got start and stop script working as explained my previous
mail. My concern now are :

1] Is it possile to name or rename the process/Command in Linux (By default
it is set 'squeakvm' ) ? Can this be done on Linux or is it possible to
change something in SqueakVM so that the process name it assigns to the
process is somewhat unique (Is it easy to tweak SqueakVM by an amateur like
me ?)

2] As of now, I would like to give preference to Monit as I have got about
75% working. Remaining depends on point 1.

3] If [1] is not possible, I shall try to follow Ramon's instruction of
creating event.d and then installing Daemontools.

Thanks & Regards,

On Feb 9, 2008 11:18 PM, Sebastian Sastre <ssastre at seaswork.com> wrote:

> I didn't say monit wasn't still useful, just that services
> are easier to create and automate with daemontools than with init.d.

Just asking to compare. I'm glad they moved to a more powerful model.

> Sort of, I haven't blogged about it, but we hashed out the
> necessary steps a while back
> http://lists.squeakfoundation.org/pipermail/seaside/2007-Novem
> l
> Ramon Leon
> http://onsmalltalk.com

Reference very appreciated,



seaside mailing list
seaside at lists.squeakfoundation.org

Rajeev Lochan

Co-founder, AR-CAD.com

+91 9243468076 (Bangalore)
080 65355873 

-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.squeakfoundation.org/pipermail/seaside/attachments/20080210/6a5854aa/attachment.htm

More information about the seaside mailing list