[Top][All Lists]

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

Re: False positive.

From: Martin Pala
Subject: Re: False positive.
Date: Fri, 3 Oct 2014 16:44:53 +0200


if you use "check process ... matching ..." then the fork/clone is problem, as 
it creates temporarily non-unique process. It is better to use pidfile based 
check in such case:

        check process myprocess with pidfile /path/to/pidfile

You can also suppress the PID/PPID change events:

        set alert address@hidden but not on { pid, ppid }

See Monit manual for mail filter details:


On 02 Oct 2014, at 16:13, Stephan Gomes Higuti <address@hidden> wrote:

> Hello all,
> I'm facing kind of issues with some false positives.
> I've configured monit to manage the nrpe (Nagios) proccess, however, 
> everytime it creates a fork proccess, monit creates an event saying the pid 
> has changed.
> Is there a way to disable this event?
> For example, I want monit to NOT create events based on pid changes for an 
> specific proccess such as nrpe.
> Regards,,
> Stephan 
> --
> To unsubscribe:

reply via email to

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