monit-general
[Top][All Lists]
Advanced

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

Re: Mailalert sent on first timeout only


From: Martin Pala
Subject: Re: Mailalert sent on first timeout only
Date: Mon, 14 Mar 2005 23:36:16 +0100
User-agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.7.5) Gecko/20050105 Debian/1.7.5-1

Monit kept cycle and start count state during service unmonitor/monitor. It is fixed in cvs now - thanks for report :)

Martin


Einar S. Idsø wrote:
Dear listmembers

First of all: Thanks a lot for a great tool! I've only just started
using it, and I am already overwhelmed at the possibilities. Keep up the
excellent work!

My problem: I want to have monit restart a service without alerting me
if monit succeeds. If it fails to restart the server, I want it to mail
me so I can ssh to the server and restart the service manually. Monit
has been set up to only alert me on timeout, and timeout after two
failed restarts: "if 2 restarts within 2 cycles then tineout" + "alert
address@hidden only on {timeout}". This seems to work perfectly the
first time a process times out. After manually restarting the server, I
issue a "monit monitor processname", and monit goes gack to monitoring
the service and restarting it upon crash. However, the next time it
times out, no mail is sent. Is this intended behavior, or is it a bug?
To me it seems as if a flag ("mail sent") isn't reset when "monit
monitor" is issued. Please advise.

I am using Monit 4.3 on Gentoo servers.

Cheers,
Einar S. Idsø


--
To unsubscribe:
http://lists.nongnu.org/mailman/listinfo/monit-general




reply via email to

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