[ZODB-Dev] Monitoring ZEO

sean.upton@uniontrib.com sean.upton@uniontrib.com
Tue, 15 Jan 2002 12:12:09 -0800


One of the default plugins for mon
(http://www.kernel.org/pub/software/admin/mon/) has a tcp socket monitor,
which should just work, I think, supposing your ZSS is using a TCP socket.
Occasionally opening and closing a connection on a timed basis to the ZSS
TCP socket should not be harmful in theory.

Also, there is no reason you can't write mon plugin scripts in Python that
suit your task, establishing a ZEO ClientStorage session with your ZSS, and
write custom exception handlers.  This is what I plan to do when I get the
time to improve my monitoring setup.

Sean

-----Original Message-----
From: Chris McDonough [mailto:chrism@zope.com]
Sent: Tuesday, January 15, 2002 6:45 AM
To: zodb-dev@zope.org
Subject: [ZODB-Dev] Monitoring ZEO


This message is mainly for Jim or Jeremy but if anybody else has input, 
I'd love to hear it.

I'd like to be able to monitor a ZEO storage server for "upness" at a 
customer site.  The storage server listens on a TCP port.  I'd like to 
be able to monitor ZEO directly by connecting to it over the equivalent 
of telnet.  Is there any set of commands I could issue in plaintext in a 
telnet session to the ZEO server port that would give a known response 
indicating that the storage server is nominally "ok"?  Or is the best I 
could do just to try to connect to the port and if I'm able to establish 
a connection, to assume that ZEO is ok?

- C


_______________________________________________
For more information about ZODB, see the ZODB Wiki:
http://www.zope.org/Wikis/ZODB/

ZODB-Dev mailing list  -  ZODB-Dev@zope.org
http://lists.zope.org/mailman/listinfo/zodb-dev