Login | Register For Free | Help
Search for: (Advanced)

Mailing List Archive: Zope: Dev

Zope2 monitoring

 

 

Zope dev RSS feed   Index | Next | Previous | View Threaded


wichert at wiggy

Apr 30, 2008, 3:16 AM

Post #1 of 13 (609 views)
Permalink
Zope2 monitoring

I'm trying to figure out what the current state of the art for
monitoring Zope2 processes is. Ideally I'ld want the equivalent of
zc.z3monitor.

I figured the medua monitorserver would be a good start, but judging
by the facts that it can only deal with clear-text passwords while the
rest of Zope uses hashed passwords and anything unexpected, such as
using command that produces a lot of output such as locals(), breaks
the whole session makes me suspect that nobody is using that.

What do other people use? Is there any interest in improving the medusa
monitor server?

Wichert.

--
Wichert Akkerman <wichert[at]wiggy.net> It is simple to make things.
http://www.wiggy.net/ It is hard to make things simple.
_______________________________________________
Zope-Dev maillist - Zope-Dev[at]zope.org
http://mail.zope.org/mailman/listinfo/zope-dev
** No cross posts or HTML encoding! **
(Related lists -
http://mail.zope.org/mailman/listinfo/zope-announce
http://mail.zope.org/mailman/listinfo/zope )


cz at gocept

Apr 30, 2008, 3:37 AM

Post #2 of 13 (593 views)
Permalink
Re: Zope2 monitoring [In reply to]

Hi,

On 2008-04-30 12:16:53 +0200, Wichert Akkerman <wichert[at]wiggy.net> said:

> I'm trying to figure out what the current state of the art for
> monitoring Zope2 processes is. Ideally I'ld want the equivalent of
> zc.z3monitor.
>
> I figured the medua monitorserver would be a good start, but judging
> by the facts that it can only deal with clear-text passwords while the
> rest of Zope uses hashed passwords and anything unexpected, such as
> using command that produces a lot of output such as locals(), breaks
> the whole session makes me suspect that nobody is using that.
>
> What do other people use? Is there any interest in improving the medusa
> monitor server?

We're monitoring Z2 using Nagios and the ZNagios plugin in ±ope
(http://svn.gocept.com/viewcvs/ZNagios/trunk/).

--
Christian Zagrodnick

gocept gmbh & co. kg · forsterstrasse 29 · 06112 halle/saale
www.gocept.com · fon. +49 345 12298894 · fax. +49 345 12298891



_______________________________________________
Zope-Dev maillist - Zope-Dev[at]zope.org
http://mail.zope.org/mailman/listinfo/zope-dev
** No cross posts or HTML encoding! **
(Related lists -
http://mail.zope.org/mailman/listinfo/zope-announce
http://mail.zope.org/mailman/listinfo/zope )


ct at gocept

Apr 30, 2008, 3:41 AM

Post #3 of 13 (590 views)
Permalink
Re: Zope2 monitoring [In reply to]

On Wed, Apr 30, 2008 at 12:16:53PM +0200, Wichert Akkerman wrote:
> I'm trying to figure out what the current state of the art for
> monitoring Zope2 processes is. Ideally I'ld want the equivalent of
> zc.z3monitor.
>
> I figured the medua monitorserver would be a good start, but judging
> by the facts that it can only deal with clear-text passwords while the
> rest of Zope uses hashed passwords and anything unexpected, such as
> using command that produces a lot of output such as locals(), breaks
> the whole session makes me suspect that nobody is using that.
>
> What do other people use? Is there any interest in improving the medusa
> monitor server?

I'm still using and maintaining ZNagios[1] which, by now, has direct support for
Munin and Nagios.

If you're missing any probes/values, just tell me.

Christian

[1] http://svn.gocept.com/viewcvs/ZNagios/trunk/

--
gocept gmbh & co. kg - forsterstrasse 29 - 06112 halle (saale) - germany
www.gocept.com - ct[at]gocept.com - phone +49 345 122 9889 7 -
fax +49 345 122 9889 1 - zope and plone consulting and development
_______________________________________________
Zope-Dev maillist - Zope-Dev[at]zope.org
http://mail.zope.org/mailman/listinfo/zope-dev
** No cross posts or HTML encoding! **
(Related lists -
http://mail.zope.org/mailman/listinfo/zope-announce
http://mail.zope.org/mailman/listinfo/zope )


jens at dataflake

Apr 30, 2008, 4:37 AM

Post #4 of 13 (594 views)
Permalink
Re: Zope2 monitoring [In reply to]

On Apr 30, 2008, at 12:41 , Christian Theune wrote:
> On Wed, Apr 30, 2008 at 12:16:53PM +0200, Wichert Akkerman wrote:
>> I'm trying to figure out what the current state of the art for
>> monitoring Zope2 processes is. Ideally I'ld want the equivalent of
>> zc.z3monitor.
>>
>> I figured the medua monitorserver would be a good start, but judging
>> by the facts that it can only deal with clear-text passwords while
>> the
>> rest of Zope uses hashed passwords and anything unexpected, such as
>> using command that produces a lot of output such as locals(), breaks
>> the whole session makes me suspect that nobody is using that.
>>
>> What do other people use? Is there any interest in improving the
>> medusa
>> monitor server?
>
> I'm still using and maintaining ZNagios[1] which, by now, has direct
> support for
> Munin and Nagios.
>
> If you're missing any probes/values, just tell me.

Is it possible to determine process size/memory consumption?

jens



_______________________________________________
Zope-Dev maillist - Zope-Dev[at]zope.org
http://mail.zope.org/mailman/listinfo/zope-dev
** No cross posts or HTML encoding! **
(Related lists -
http://mail.zope.org/mailman/listinfo/zope-announce
http://mail.zope.org/mailman/listinfo/zope )


alan at balclutha

Apr 30, 2008, 4:46 AM

Post #5 of 13 (587 views)
Permalink
Re: Zope2 monitoring [In reply to]

Hi,

We use monit - it has the advantage that you can specify resource limits
and if/when zope breaches these (or it barfs), monit auto-restarts the
server ;)

Alan
_______________________________________________
Zope-Dev maillist - Zope-Dev[at]zope.org
http://mail.zope.org/mailman/listinfo/zope-dev
** No cross posts or HTML encoding! **
(Related lists -
http://mail.zope.org/mailman/listinfo/zope-announce
http://mail.zope.org/mailman/listinfo/zope )


chrism at plope

Apr 30, 2008, 8:33 AM

Post #6 of 13 (580 views)
Permalink
Re: Zope2 monitoring [In reply to]

Jens Vagelpohl wrote:
>
> On Apr 30, 2008, at 12:41 , Christian Theune wrote:
>> On Wed, Apr 30, 2008 at 12:16:53PM +0200, Wichert Akkerman wrote:
>>> I'm trying to figure out what the current state of the art for
>>> monitoring Zope2 processes is. Ideally I'ld want the equivalent of
>>> zc.z3monitor.
>>>
>>> I figured the medua monitorserver would be a good start, but judging
>>> by the facts that it can only deal with clear-text passwords while the
>>> rest of Zope uses hashed passwords and anything unexpected, such as
>>> using command that produces a lot of output such as locals(), breaks
>>> the whole session makes me suspect that nobody is using that.
>>>
>>> What do other people use? Is there any interest in improving the medusa
>>> monitor server?
>>
>> I'm still using and maintaining ZNagios[1] which, by now, has direct
>> support for
>> Munin and Nagios.
>>
>> If you're missing any probes/values, just tell me.
>
> Is it possible to determine process size/memory consumption?

While I think it's a little off-topic from Wiggy's original request (I think he
just wants to be able to communicate with the remote process interactively
instead of having a watchdog process automatically restarting it), but
supervisor restarts crashed processes and now ships with an event listener that
will restart a process if it's consuming too much memory:

http://supervisord.org/manual/current/memmon.html

-

_______________________________________________
Zope-Dev maillist - Zope-Dev[at]zope.org
http://mail.zope.org/mailman/listinfo/zope-dev
** No cross posts or HTML encoding! **
(Related lists -
http://mail.zope.org/mailman/listinfo/zope-announce
http://mail.zope.org/mailman/listinfo/zope )


plone at hannosch

Apr 30, 2008, 8:37 AM

Post #7 of 13 (580 views)
Permalink
Re: Zope2 monitoring [In reply to]

Chris McDonough wrote:
> Jens Vagelpohl wrote:
>> On Apr 30, 2008, at 12:41 , Christian Theune wrote:
>>> On Wed, Apr 30, 2008 at 12:16:53PM +0200, Wichert Akkerman wrote:
>>>> I'm trying to figure out what the current state of the art for
>>>> monitoring Zope2 processes is. Ideally I'ld want the equivalent of
>>>> zc.z3monitor.
>>
>> Is it possible to determine process size/memory consumption?
>
> While I think it's a little off-topic from Wiggy's original request (I
> think he just wants to be able to communicate with the remote process
> interactively instead of having a watchdog process automatically
> restarting it), but supervisor restarts crashed processes and now ships
> with an event listener that will restart a process if it's consuming too
> much memory:
>
> http://supervisord.org/manual/current/memmon.html

Nice. We are already using supervisord for this project. Even more
off-topic that's why we added the new 'console' command to the
zopectl-like script in the zope2instance recipe, to have Zope running in
fg mode without the forced automatic development mode.

Hanno

_______________________________________________
Zope-Dev maillist - Zope-Dev[at]zope.org
http://mail.zope.org/mailman/listinfo/zope-dev
** No cross posts or HTML encoding! **
(Related lists -
http://mail.zope.org/mailman/listinfo/zope-announce
http://mail.zope.org/mailman/listinfo/zope )


chrism at plope

Apr 30, 2008, 8:43 AM

Post #8 of 13 (580 views)
Permalink
Re: Zope2 monitoring [In reply to]

Hanno Schlichting wrote:
> Chris McDonough wrote:
>> Jens Vagelpohl wrote:
>>> On Apr 30, 2008, at 12:41 , Christian Theune wrote:
>>>> On Wed, Apr 30, 2008 at 12:16:53PM +0200, Wichert Akkerman wrote:
>>>>> I'm trying to figure out what the current state of the art for
>>>>> monitoring Zope2 processes is. Ideally I'ld want the equivalent of
>>>>> zc.z3monitor.
>>>
>>> Is it possible to determine process size/memory consumption?
>>
>> While I think it's a little off-topic from Wiggy's original request (I
>> think he just wants to be able to communicate with the remote process
>> interactively instead of having a watchdog process automatically
>> restarting it), but supervisor restarts crashed processes and now
>> ships with an event listener that will restart a process if it's
>> consuming too much memory:
>>
>> http://supervisord.org/manual/current/memmon.html
>
> Nice. We are already using supervisord for this project. Even more
> off-topic that's why we added the new 'console' command to the
> zopectl-like script in the zope2instance recipe, to have Zope running in
> fg mode without the forced automatic development mode.

Nice. Even more OT, we have a student working on supervisor in GSoC who intends
to create a "fg" command which will allow you to foreground any process from
within supervisorctl and communicate with it (e.g., no more stopping the zope
process under supervisor just to be able to use pdb; set.trace()).

- C

_______________________________________________
Zope-Dev maillist - Zope-Dev[at]zope.org
http://mail.zope.org/mailman/listinfo/zope-dev
** No cross posts or HTML encoding! **
(Related lists -
http://mail.zope.org/mailman/listinfo/zope-announce
http://mail.zope.org/mailman/listinfo/zope )


chris at simplistix

May 1, 2008, 4:17 AM

Post #9 of 13 (563 views)
Permalink
Re: Zope2 monitoring [In reply to]

Jens Vagelpohl wrote:
>> If you're missing any probes/values, just tell me.
>
> Is it possible to determine process size/memory consumption?

I know Andrew has done this for Cacti, I'd imagine these would port to
Nagios...

cheers,

Chris

--
Simplistix - Content Management, Zope & Python Consulting
- http://www.simplistix.co.uk
_______________________________________________
Zope-Dev maillist - Zope-Dev[at]zope.org
http://mail.zope.org/mailman/listinfo/zope-dev
** No cross posts or HTML encoding! **
(Related lists -
http://mail.zope.org/mailman/listinfo/zope-announce
http://mail.zope.org/mailman/listinfo/zope )


dieter at handshake

May 1, 2008, 10:45 AM

Post #10 of 13 (564 views)
Permalink
Re: Zope2 monitoring [In reply to]

Wichert Akkerman wrote at 2008-4-30 12:16 +0200:
> ...
>I figured the medua monitorserver would be a good start, but judging
>by the facts that it can only deal with clear-text passwords while the
>rest of Zope uses hashed passwords and anything unexpected, such as
>using command that produces a lot of output such as locals(), breaks
>the whole session makes me suspect that nobody is using that.

I use it occationally -- in order to analyse some difficult,
non deterministically occuring problems.

Doing so, I can add another misfeature: it swallows exceptions.
I.e. executing something which raises an exception causes
the interpreter to show its prompt without showing the exception
or any other output.



--
Dieter
_______________________________________________
Zope-Dev maillist - Zope-Dev[at]zope.org
http://mail.zope.org/mailman/listinfo/zope-dev
** No cross posts or HTML encoding! **
(Related lists -
http://mail.zope.org/mailman/listinfo/zope-announce
http://mail.zope.org/mailman/listinfo/zope )


wichert at wiggy

May 2, 2008, 2:26 PM

Post #11 of 13 (545 views)
Permalink
Re: Zope2 monitoring [In reply to]

Previously Christian Theune wrote:
> On Wed, Apr 30, 2008 at 12:16:53PM +0200, Wichert Akkerman wrote:
> > I'm trying to figure out what the current state of the art for
> > monitoring Zope2 processes is. Ideally I'ld want the equivalent of
> > zc.z3monitor.
> >
> > I figured the medua monitorserver would be a good start, but judging
> > by the facts that it can only deal with clear-text passwords while the
> > rest of Zope uses hashed passwords and anything unexpected, such as
> > using command that produces a lot of output such as locals(), breaks
> > the whole session makes me suspect that nobody is using that.
> >
> > What do other people use? Is there any interest in improving the medusa
> > monitor server?
>
> I'm still using and maintaining ZNagios[1] which, by now, has direct support for
> Munin and Nagios.
>
> If you're missing any probes/values, just tell me.

Detection of the correct number of zserver threads.

Wichert.

--
Wichert Akkerman <wichert[at]wiggy.net> It is simple to make things.
http://www.wiggy.net/ It is hard to make things simple.
_______________________________________________
Zope-Dev maillist - Zope-Dev[at]zope.org
http://mail.zope.org/mailman/listinfo/zope-dev
** No cross posts or HTML encoding! **
(Related lists -
http://mail.zope.org/mailman/listinfo/zope-announce
http://mail.zope.org/mailman/listinfo/zope )


az at zitc

May 13, 2008, 3:59 AM

Post #12 of 13 (434 views)
Permalink
Re: Zope2 monitoring [In reply to]

Hanno Schlichting wrote:
> Nice. We are already using supervisord for this project. Even more
> off-topic that's why we added the new 'console' command to the
> zopectl-like script in the zope2instance recipe, to have Zope running in
> fg mode without the forced automatic development mode.

yay, finally! :)


andi

--
zeidler it consulting - http://zitc.de/ - info[at]zitc.de
friedelstraße 31 - 12047 berlin - telefon +49 30 25563779
pgp key at http://zitc.de/pgp - http://wwwkeys.de.pgp.net/
plone 3.1rc1 released! -- http://plone.org/products/plone/

_______________________________________________
Zope-Dev maillist - Zope-Dev[at]zope.org
http://mail.zope.org/mailman/listinfo/zope-dev
** No cross posts or HTML encoding! **
(Related lists -
http://mail.zope.org/mailman/listinfo/zope-announce
http://mail.zope.org/mailman/listinfo/zope )


az at zitc

May 13, 2008, 3:59 AM

Post #13 of 13 (434 views)
Permalink
Re: Zope2 monitoring [In reply to]

Hanno Schlichting wrote:
> Nice. We are already using supervisord for this project. Even more
> off-topic that's why we added the new 'console' command to the
> zopectl-like script in the zope2instance recipe, to have Zope running in
> fg mode without the forced automatic development mode.

yay, finally! :)


andi

--
zeidler it consulting - http://zitc.de/ - info[at]zitc.de
friedelstraße 31 - 12047 berlin - telefon +49 30 25563779
pgp key at http://zitc.de/pgp - http://wwwkeys.de.pgp.net/
plone 3.1rc1 released! -- http://plone.org/products/plone/
_______________________________________________
Zope-Dev maillist - Zope-Dev[at]zope.org
http://mail.zope.org/mailman/listinfo/zope-dev
** No cross posts or HTML encoding! **
(Related lists -
http://mail.zope.org/mailman/listinfo/zope-announce
http://mail.zope.org/mailman/listinfo/zope )

Zope dev RSS feed   Index | Next | Previous | View Threaded
 
 


Interested in having your list archived? Contact lists@gossamer-threads.com
 
  Web Applications & Managed Hosting Powered by Gossamer Threads Inc.