monit-general
[Top][All Lists]
Advanced

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

Re: Path and argument problem... solution?


From: Christian Hopp
Subject: Re: Path and argument problem... solution?
Date: Sat, 31 Aug 2002 00:18:01 +0200 (CEST)

On 30 Aug 2002, Jan-Henrik Haukeland wrote:

> Christian Hopp <address@hidden> writes:
> > Example:
> >
> > check foo /var/run/foo
> >    stop = "/bin/foo --service $service --pid $pid"
> >
> > and we substitute $service, or however we call the tokens...
> > ...that the command would be at the time of execution like,
> >
> >    stop = "/bin/foo --service foo --pid 12345"
> >
> > What do you think?
>
> I'm still not sure I understand the purpose. Could you give an example
> where this would be necessary or an advantage?

Some might want to use just a kill for stop (->pid needed), others might
have a generic script for their services, others might want to use
logging.

It just an idea to increase the users comfort.

Good night... it's bed time for me now. (-:

Christian


-- 
Christian Hopp                                email: address@hidden
Institut für Elektrische Informationstechnik             fon: +49-5323-72-2113
Technische Universität Clausthal                         fax: +49-5323-72-3197
  pgpkey: https://www.iei.tu-clausthal.de/pgp-keys/chopp.key.asc  (2001-11-22)





reply via email to

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