John, Thank you for your response.
I checked out the doc of swift-recon and that function is exactly the one what I want to have. # Sorry, my checking is not enough... Thanks again, Hisashi Osanai > -----Original Message----- > From: John Dickinson [mailto:m...@not.mn] > Sent: Tuesday, July 08, 2014 11:59 AM > To: OpenStack Development Mailing List (not for usage questions) > Subject: Re: [openstack-dev] [swift] add checking daemons existence in > Healthcheck middleware > > In general, you're right. It's pretty important to know what's going on > in the cluster. However, the checks for these background daemons shouldn't > be done in the wsgi servers. Generally, we've stayed away from a lot of > process monitoring in the Swift core. That it, Swift already works around > failures, and there is already existing ops tooling to monitor if a process > is alive. > > Check out the swift-recon tool that's included with Swift. It already > includes some checks like the replication cycle time. While it's not a > direct "is this process alive" monitoring tool, it does give good > information about the health of the cluster. > > If you've got some other ideas on checks to add to recon or ways to make > it better or perhaps even some different ways to integrate monitoring > systems, let us know! > > --John > > > > On Jul 7, 2014, at 7:33 PM, Osanai, Hisashi > <osanai.hisa...@jp.fujitsu.com> wrote: > > > > > Hi, > > > > Current Healthcheck middleware provides the functionality of monitoring > Servers such as > > Proxy Server, Object Server, Container Server, Container Server and > Account Server. The > > middleware checks whether each Servers can handle request/response. > > My idea to enhance this middleware is > > checking daemons such replications, updaters and auditors existence > in addition to current one. > > If we realize this, the scope of Health would be extended from > > "a Server can handle request" to "a Server and daemons can work > appropriately". > > > > > http://docs.openstack.org/developer/swift/icehouse/middleware.html?h > ighlight=health#healthcheck > > > > What do you think? > > > > Best Regards, > > Hisashi Osanai > > > > _______________________________________________ > > OpenStack-dev mailing list > > OpenStack-dev@lists.openstack.org > > http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack-dev _______________________________________________ OpenStack-dev mailing list OpenStack-dev@lists.openstack.org http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack-dev