monit-general
[Top][All Lists]
Advanced

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

Re: Monitoring processes with the same name but different PID files


From: Samitha Wijedasa
Subject: Re: Monitoring processes with the same name but different PID files
Date: Mon, 20 Jul 2015 17:26:11 +0000 (UTC)

Hi,

I'm getting "Error: service name conflict, <process name> already defined" error if I define two configuration entries for the corresponding process with different pid files in the same configuration file. Only way I can get this thing implemented is to run two instances of monit with two different configuration files.

Thanks

Samitha



On Monday, 20 July 2015, 11:26, Martin Pala <address@hidden> wrote:


Yes,

if you use pidfile, the process name is not significant - monit checks the process by the PID from the file, they can have the same name.

Regards,
Martin



On 20 Jul 2015, at 17:24, Samitha Wijedasa <address@hidden> wrote:

Hi,

How can I monitor two processes with the same name but different PID files ?

Thanks

Samitha




reply via email to

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