[Top][All Lists]

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

Re: Feature request: Support wildcards in PID files

From: Martin Pala
Subject: Re: Feature request: Support wildcards in PID files
Date: Mon, 23 Mar 2015 16:20:59 +0100


you can try the pattern based process check provided each nodejs instance in 
the process table is unique ... you can check the pattern using "monit 
procmatch" CLI command.


> On 19 Mar 2015, at 15:52, Kristopher Linquist <address@hidden> wrote:
> Hi,
> I know this question was asked as much as 7 years ago:
> I love monit and and am a MMonit user.  I use PM2 to manage my nodejs scripts 
> and it creates PID files ending in -?  (since when you run Node in cluster 
> mode, it spawns off several processes and therefore PID files).
> The wrapper solution in the FAQ is not ideal for this situation.  I’d love to 
> use Monit instead of PM2’s paid cloud monitoring solution… if only I could 
> “monitor service with pid  /var/run/myNodeScript*.pid”  !
> -Kris
> --
> To unsubscribe:

reply via email to

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