That's cool that it alerts, but I would also like to have it NOT
give up
trying to restart. This is for an app that is dependent on a db, so
when
I do db maintenance I would like for monit to just patiently keep
retrying until the db comes back and the app reconnects. Is there a
way
to do this?
-----Original Message-----
From: address@hidden
[mailto:address@hidden On
Behalf
Of Martin Pala
Sent: Tuesday, July 17, 2007 2:44 AM
To: This is the general mailing list for monit
Subject: Re: monit: instead of timeout after restart failures,can I
have
it alert?
Hi,
Monit will do unmonitor *and* send alert on timeout (it is similar for
other action - alert is implicit)
Martin
On Jul 16, 2007, at 6:39 PM, Sennott, Mark wrote:
I have this in my config:
if 3 restarts within 5 cycles then timeout
But I really want to do this:
if 3 restarts within 5 cycles then alert
But the monit program doesn't like the syntax. Anyone know a
workaround?
--
To unsubscribe:
http://lists.nongnu.org/mailman/listinfo/monit-general
--
To unsubscribe:
http://lists.nongnu.org/mailman/listinfo/monit-general
--
To unsubscribe:
http://lists.nongnu.org/mailman/listinfo/monit-general