Re: [Zope-dev] Zope2 monitoring

2008-05-02 Thread Wichert Akkerman
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 [EMAIL PROTECTED]It is simple to make things.
http://www.wiggy.net/   It is hard to make things simple.
___
Zope-Dev maillist  -  Zope-Dev@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 )


Re: [Zope-dev] Zope2 monitoring

2008-05-01 Thread Chris Withers

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@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 )


Re: [Zope-dev] Zope2 monitoring

2008-05-01 Thread Dieter Maurer
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@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] Zope2 monitoring

2008-04-30 Thread Wichert Akkerman
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 [EMAIL PROTECTED]It is simple to make things.
http://www.wiggy.net/   It is hard to make things simple.
___
Zope-Dev maillist  -  Zope-Dev@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 )


Re: [Zope-dev] Zope2 monitoring

2008-04-30 Thread Christian Theune
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 - [EMAIL PROTECTED] - phone +49 345 122 9889 7 -
fax +49 345 122 9889 1 - zope and plone consulting and development
___
Zope-Dev maillist  -  Zope-Dev@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 )


Re: [Zope-dev] Zope2 monitoring

2008-04-30 Thread Jens Vagelpohl


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@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 )


Re: [Zope-dev] Zope2 monitoring

2008-04-30 Thread Alan Milligan

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@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 )


Re: [Zope-dev] Zope2 monitoring

2008-04-30 Thread Chris McDonough

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@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 )