Actually to detect whether it is *running* fetching a page will do the trick. That's what we do here and it works fine. That will NOT detect however if Zope is running, but errors are occuring. I sthat what you really want? Why would looking up a page not do the trick? J.F. -----Original Message----- From: zope-bounces@zope.org [mailto:zope-bounces@zope.org] On Behalf Of robert rottermann Sent: March 30, 2006 1:21 PM To: zope Subject: [Zope] zope and nagios Hi there, I would like to test if zope is running using nagios. I would be gratefull if somebody could could point me to some info how to best do this. I am especially interested to learn what to test to detect a running but not responding zope. Just looking up a page seems not to do the trick. thanks robert
Doyon, Jean-Francois wrote:
Actually to detect whether it is *running* fetching a page will do the trick. That's what we do here and it works fine.
That will NOT detect however if Zope is running, but errors are occuring. I sthat what you really want?
Why would looking up a page not do the trick?
J.F.
When you have zope running on top of zeo and stop zeo you still can ask for a page and it will be returned correctly. But you can not do nothing sensible on your site. we do check with nagios for a page (looking for a spcial string). We run into situations where zope (actually a plone site) does not respond to user requests. However nagios does not complain. Robert
robert rottermann wrote:
When you have zope running on top of zeo and stop zeo you still can ask for a page and it will be returned correctly.
We have a zeoup-based plugin that checks for that, lemme know if you're interested and I'll see if I can put it somewhere public.
We run into situations where zope (actually a plone site) does not respond to user requests. However nagios does not complain.
Huh? That makes no sense... what, exactly, was nagios checking here and what were the user requests? cheers, Chris -- Simplistix - Content Management, Zope & Python Consulting - http://www.simplistix.co.uk
Chris Withers wrote:
robert rottermann wrote:
When you have zope running on top of zeo and stop zeo you still can ask for a page and it will be returned correctly.
We have a zeoup-based plugin that checks for that, lemme know if you're interested and I'll see if I can put it somewhere public. yes thanks. I am interested
We run into situations where zope (actually a plone site) does not respond to user requests. However nagios does not complain.
Huh? That makes no sense... what, exactly, was nagios checking here and what were the user requests?
nagios calls the intranet main page and checks if it finds "designed by redCOR" in the response. Somehow a "not responding" (vs not running) zope does not trigger the nagios rule. thanks robert
participants (3)
-
Chris Withers -
Doyon, Jean-Francois -
robert rottermann