[Top][All Lists]

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

Re: [monit] Variable PID Filenames...

From: Martin Pala
Subject: Re: [monit] Variable PID Filenames...
Date: Fri, 1 Aug 2008 21:30:23 +0200


the variable pidfiles are not supportd, the wrapper can solve it ... see FAQ question no. 3:


On Aug 1, 2008, at 2:03 PM, David Heebner wrote:


I have a service/process that I want to monitor, but the PID filenames change when the programs are restarted.  An example of the pidfile is:

where "7459" is the new PID.

Is there a wildcard or something that I can do with monit so that it only needs to recognize the "program-agentd" portion of the file?  Something akin to:

check process program-agentd with pidfile /var/run/program-agentd*

* I tried that of course, but no luck :-)

The only idea I've had thus far was to create a wrapper with the startup script that somehow gets the PID and creates another pidfile that is more in line with the standard "".


To unsubscribe:

reply via email to

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