monit-general
[Top][All Lists]
Advanced

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

RE: question about "then timeout"


From: Leif Gustafson
Subject: RE: question about "then timeout"
Date: Thu, 27 Sep 2012 13:49:28 -0800

That confused me too since it doesn't appear to be documented (but it's
mentioned in the documentation in an example, I believe)... I think it's
just an alias of "unmonitor", though I haven't confirmed that by looking at
the source code.

-----Original Message-----
From: address@hidden
[mailto:address@hidden On
Behalf Of AJ Weber
Sent: Thursday, September 27, 2012 5:28 AM
To: address@hidden
Subject: question about "then timeout"

I see examples like:
     if 5 restarts within 5 cycles then timeout

I realize that the keyword "timeout" is used for a few different things
amongst the monit config.  Is there someplace I can go to understand what
this particular meaning does?  Does it just stop logging the issue, but
continue monitoring?

I think I understand "unmonitor", "restart" is pretty self-explainatory,
etc.

Also, if you specify a "start program" and a "stop program" but do not
explicitly use a logic-statement to give monit a condition for restart, does
monit still assume it should try a restart when the main "check..." 
fails?  Is it safest to add "mode passive" to those checks until the time
you want monit to be fully automated for that check?

Thanks in advance for helping the newbie. ;)

-AJ


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




reply via email to

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