monit-dev
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Http/cervlet.c


From: Martin Pala
Subject: Re: Http/cervlet.c
Date: Thu, 30 Nov 2006 23:43:54 +0100
User-agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.7.13) Gecko/20060809 Debian/1.7.13-0.3


Aaron Scamehorn wrote:
Hello,

First question: Is this the correct forum for reporting bugs? If not, please direct me to the proper forum. Thanks.

Yes

This has introduced the following behavior:

Service setup as Device and/or System get terminated when a "Stop All" command is issued. Actually, any service that doesn't have a Stop Program directive will be stopped anyway.


This is correct behavior. The stop command does two things:

1.) stops the service provided there is stop method
2.) disables the service monitoring (regardless of the stop method existence)

The fact that there is no stop method, doesn't mean that monit will skip the service on stop command - the selector 'all' matches all services and monit will disable the monitoring of this service.

You can use service groups (the 'group' statement) to limit the 'stop all' scope:

  monit -g myservices stop all

will then stop just the services in the 'myservices' group.

Martin




reply via email to

[Prev in Thread] Current Thread [Next in Thread]