Re: [Zope-dev] Zope Server Control

2003-02-10 Thread Andy McKay
You misunderstand: I have zero code. :-)  The screenshot (especially the
second one) shows precisely what I'm looking for in a Zope controller.  
It should scale up to dozens of Zopes and ZEOs while remaining useful for
single Zope instances, it should display rapidly flashing lights to
indicate exactly how resources are being spent, and it should display a
Zope logo so it doubles as a marketing tool.  Consider the screenshot a
request.

Ah sorry I thought you would have just quickly knocked one out ;) I 
think the Controller is a very useful tool and very good for marketing 
its really helped a lot of people with Plone.

I can post the QT .ui file, though, if that would help. ;-)


Im hopefully getting a good UI designer (ie not me) on line for helping 
out with the UI for this. I was actually thinking of wxPython rather 
than Qt, but thats just a personal preference.

Anyway when we get wxController going I'll drop you a line...
--
  Andy McKay


___
Zope-Dev maillist  -  [EMAIL PROTECTED]
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] Zope Server Control

2003-02-09 Thread Oliver Bleutgen
Andy McKay wrote:

3. I've found at least two companies that run many, many zope servers on 
remote boxes all over the place and would like one ui to see the status 
of them all, I'm trying to see if i can get some $ out of them for the 
development :)

If it's about monitoring, let me just mention nagios, to be found at
http://www.nagios.org/

It's a very very nice monitoring app which I use for monitoring states 
of several servers. It can use external (command line) apps for 
monitoring. Maybe it would be of some use to develop an the app so that 
the clients for getting the status for zope servers could also be used 
as plugins for nagios. Encapsulating the classes used for getting the 
data from a zope server into a module would suffice, then one could 
write simple monitoring apps as described here:
http://nagiosplug.sourceforge.net/developer-guidelines.html

cheers,
oliver


___
Zope-Dev maillist  -  [EMAIL PROTECTED]
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] Zope Server Control

2003-02-08 Thread Andy McKay
It's not fancy, but it's complete: you can watch and control multiple
servers from a single place.  The flashing yellow LED-like indicators
would give you a great deal of confidence that information is flowing.  
It sure would be appealing.  Anyone want to take this on? :-)

Yes :)

1. There are already a few like this around, the ZopeController from 
Richard Jones which Plone uses an modified version of... there is one 
for another product as well although the name escapes me.

2. We (as in Plone team) have for 1.1 a main requirement to move to a x 
platform controller that can do that and much more. wxController as it 
has been dubbed hasn't been started yet but Im tasked with writing the 
PLIP now 1.0 has been done.

3. I've found at least two companies that run many, many zope servers on 
remote boxes all over the place and would like one ui to see the status 
of them all, I'm trying to see if i can get some $ out of them for the 
development :)

So is there a public cvs for your code can we mangle all our stuff together?
--
  Andy McKay


___
Zope-Dev maillist  -  [EMAIL PROTECTED]
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] Zope Server Control

2003-02-08 Thread Shane Hathaway
On Sat, 8 Feb 2003, Andy McKay wrote:

  It's not fancy, but it's complete: you can watch and control multiple
  servers from a single place.  The flashing yellow LED-like indicators
  would give you a great deal of confidence that information is flowing.  
  It sure would be appealing.  Anyone want to take this on? :-)
 
 Yes :)
 
 1. There are already a few like this around, the ZopeController from 
 Richard Jones which Plone uses an modified version of... there is one 
 for another product as well although the name escapes me.
 
 2. We (as in Plone team) have for 1.1 a main requirement to move to a x 
 platform controller that can do that and much more. wxController as it 
 has been dubbed hasn't been started yet but Im tasked with writing the 
 PLIP now 1.0 has been done.
 
 3. I've found at least two companies that run many, many zope servers on 
 remote boxes all over the place and would like one ui to see the status 
 of them all, I'm trying to see if i can get some $ out of them for the 
 development :)
 
 So is there a public cvs for your code can we mangle all our stuff together?

You misunderstand: I have zero code. :-)  The screenshot (especially the
second one) shows precisely what I'm looking for in a Zope controller.  
It should scale up to dozens of Zopes and ZEOs while remaining useful for
single Zope instances, it should display rapidly flashing lights to
indicate exactly how resources are being spent, and it should display a
Zope logo so it doubles as a marketing tool.  Consider the screenshot a
request.

I can post the QT .ui file, though, if that would help. ;-)

Shane

___
Zope-Dev maillist  -  [EMAIL PROTECTED]
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] Zope Server Control

2003-02-07 Thread Eron Lloyd
Ooh! I've been thinking about something like this as well; PyQt would 
definately be the way to go. The backend should be de-coupled from the UI, of 
course.

Getting the gears turning,

Eron

On Friday 07 February 2003 12:47 am, Shane Hathaway wrote:
 Zope-Dev'ers,

 Just for fun, I made a mockup (using QT Designer) of a Zope server control
 and monitoring GUI.  It's purely nonfunctional--just an idea.  Check it
 out here:

 http://hathaway.freezope.org/Images/controller_snapshot.png

 It's not fancy, but it's complete: you can watch and control multiple
 servers from a single place.  The flashing yellow LED-like indicators
 would give you a great deal of confidence that information is flowing.
 It sure would be appealing.  Anyone want to take this on? :-)

 supplying-endless-ideas-for-vaporware-ly y'rs, Shane

 ___
 Zope-Dev maillist  -  [EMAIL PROTECTED]
 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 )
 ---
 [This E-mail scanned for viruses by Declude Virus]


___
Zope-Dev maillist  -  [EMAIL PROTECTED]
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] Zope Server Control

2003-02-07 Thread Paul Winkler
On Fri, Feb 07, 2003 at 10:32:44AM -0800, [EMAIL PROTECTED] wrote:
 If there is any interest in a framework that could provide the underlying
 functionality to multiple UI front-ends, as well as automated stuff like
 alerts/monitoring, I would certainly be interested in using and contributing
 to development of such a beast.

Oooh! Oooh! One more: build in a window with a python prompt
that connects straight in to a ZEO debugging session (
(possibly remotely).

-- 

Paul Winkler
http://www.slinkp.com
Look! Up in the sky! It's BETA CAPTAIN!
(random hero from isometric.spaceninja.com)

___
Zope-Dev maillist  -  [EMAIL PROTECTED]
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] Zope Server Control

2003-02-07 Thread Shane Hathaway
On 02/07/2003 02:16 PM, Paul Winkler wrote:

On Fri, Feb 07, 2003 at 10:32:44AM -0800, [EMAIL PROTECTED] wrote:


If there is any interest in a framework that could provide the underlying
functionality to multiple UI front-ends, as well as automated stuff like
alerts/monitoring, I would certainly be interested in using and contributing
to development of such a beast.



Oooh! Oooh! One more: build in a window with a python prompt
that connects straight in to a ZEO debugging session (
(possibly remotely).


Okay, I added some features to the mockup:

http://hathaway.freezope.org/Images/controller_snapshot2.png

Now the right-hand panel is a scrolling window with expand buttons to 
the left of each process being monitored.  That way, this little GUI can 
scale up to monitoring large clusters or many independent Zopes.  I also 
added a debug button to one of the ZEO clients, which would open a 
Python prompt in a window.

I imagine that the interface to the backend would be a TCP connection 
with simple text commands and asynchronous replies.  Using TCP this way 
makes it possible to use either a local connection or SSH to connect to 
the server being monitored.

As for PyQT vs. wxPython, either one is fine.  I also lean toward 
wxPython, partly because its license is simple.

Shane


___
Zope-Dev maillist  -  [EMAIL PROTECTED]
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] Zope Server Control

2003-02-07 Thread Jamie Heilman
[EMAIL PROTECTED] wrote:
 I'm not sure I understand the reasons why this solves the consolidation
 problem (i.e. I have 2 dozen ZEO clients and 2 ZSSs and want to manage them
 remotely in a single interface).  Please explain.

mix 1 part ssh, add shell script to taste

It would be trivial, for example, to set up a shell script which
itterated through your client hosts running 'ssh $host svc -t /service/zope'
sending SIGTERM to the processes to restart them, or
substitute svstat, svok, etc. for different results.  Tie commands to
ssh keys for added security.

It would be safer (wouldn't require super-user privs) though to poll
status using an apache-style server-status handler.  The downside to
that is that if zope is wedged or down you must rely on a timeout as
an indicator (though there's nothing horribly wrong with that, its
just not very precise).  One of my plans for a side projects is adding
more logging to zope so that I can cull server status information from
my logs, which may to some extent, provide finer granularity with less
overhead.

-- 
Jamie Heilman   http://audible.transient.net/~jamie/
...thats the metaphorical equivalent of flopping your wedding tackle 
 into a lion's mouth and flicking his lovespuds with a wet towel, pure 
 insanity...   -Rimmer

___
Zope-Dev maillist  -  [EMAIL PROTECTED]
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] Zope Server Control

2003-02-07 Thread Jamie Heilman
Paul Winkler wrote:
 ... which, FYI is kind of a pain to use with zope prior to 
 CVS / 2.7, because zope insists on forking to the background
 unless you run in debug (-D) mode, and daemontools (or rather, svc)
 is designed to work with daemons that can be run in the
 foreground. So we can either run with -D even though it turns on

Oh.  I rewrote z2.py and use my own logger.  So I never ran into that
problem.  I'll probably release an alpha of my work sometime soon, let
me know if you're interested and I'll make sure to notify you when its
ready.

-- 
Jamie Heilman   http://audible.transient.net/~jamie/
Paranoia is a disease unto itself, and may I add, the person standing
 next to you may not be who they appear to be, so take precaution.
-Sathington Willoughby

___
Zope-Dev maillist  -  [EMAIL PROTECTED]
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] Zope Server Control

2003-02-07 Thread Paul Winkler
On Fri, Feb 07, 2003 at 03:16:46PM -0500, Shane Hathaway wrote:
 Okay, I added some features to the mockup:
 
 http://hathaway.freezope.org/Images/controller_snapshot2.png

I dig it.

(clicking on the mockup buttons) Ungh. Can't seem to make it work.
(drool drool)

-- 

Paul Winkler
http://www.slinkp.com
Look! Up in the sky! It's AMERICAN TWIN THE MAYOR OF REVENGE!
(random hero from isometric.spaceninja.com)

___
Zope-Dev maillist  -  [EMAIL PROTECTED]
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] Zope Server Control

2003-02-07 Thread sean . upton
The buttons work; you are not clicking with enough pressure.  Try again
until your wrist hurts. ;)

I agree, this looks nice.  I also wonder about adding total memory usage for
each Zope ZEO client.

Also, this layout could be tweaked to have a more vertical look and likely
work in a PyQT app on the Zaurus or similar handheld.

Sean

-Original Message-
From: Paul Winkler [mailto:[EMAIL PROTECTED]]
Sent: Friday, February 07, 2003 1:47 PM
To: [EMAIL PROTECTED]
Subject: Re: [Zope-dev] Zope Server Control


On Fri, Feb 07, 2003 at 03:16:46PM -0500, Shane Hathaway wrote:
 Okay, I added some features to the mockup:
 
 http://hathaway.freezope.org/Images/controller_snapshot2.png

I dig it.

(clicking on the mockup buttons) Ungh. Can't seem to make it work.
(drool drool)

-- 

Paul Winkler
http://www.slinkp.com
Look! Up in the sky! It's AMERICAN TWIN THE MAYOR OF REVENGE!
(random hero from isometric.spaceninja.com)

___
Zope-Dev maillist  -  [EMAIL PROTECTED]
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 maillist  -  [EMAIL PROTECTED]
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] Zope Server Control

2003-02-06 Thread Shane Hathaway
Zope-Dev'ers,

Just for fun, I made a mockup (using QT Designer) of a Zope server control 
and monitoring GUI.  It's purely nonfunctional--just an idea.  Check it 
out here:

http://hathaway.freezope.org/Images/controller_snapshot.png

It's not fancy, but it's complete: you can watch and control multiple
servers from a single place.  The flashing yellow LED-like indicators
would give you a great deal of confidence that information is flowing.  
It sure would be appealing.  Anyone want to take this on? :-)

supplying-endless-ideas-for-vaporware-ly y'rs, Shane

___
Zope-Dev maillist  -  [EMAIL PROTECTED]
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 )