monit-general
[Top][All Lists]
Advanced

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

Re: [monit] Can monit "do nothing"?


From: Marcus Mülbüsch
Subject: Re: [monit] Can monit "do nothing"?
Date: Tue, 26 Jan 2010 10:46:53 +0100
User-agent: Thunderbird 2.0.0.23 (Windows/20090812)

Eric Pailleau schrieb:

... then exec '/bin/true'

Hello all,

I watch a local connection, and would like to receive a message when the service is unreachable. This happens sometimes under high load, but isn't such a big concern.

Since the service gets restarted when it misses 3 times within 3 cycles it would be enough if the first test just sends a mail when the connection failed, but does not when the connection passes later.

   Is there any way to do something like this:

If failed localhost:80 then alert else if passed then DONOTHING

Obviously there is no DONOTHING action, but it would make sense here. Does anybody have a workaround?

Thanks,

Marcus

Unfortunately that doesn't work - I still get messages; ecept that the messages contain the text: "Action: exec"

Now, I can suppress all mails for the action exec; but that isn't such a good idea.

Any other way?

Marcus




reply via email to

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