On startup, mon initializes the _1stfailtime variable to 0 for any periods which are configured for alertafter <time interval>. Subsequently, when a failure occurs, this variable gets set to the current UNIX timestamp. When the (current time - the 1stfailtime) exceeds the configured time interval, a DOWN alert is thrown. Problem is, since 1stfailtime is never cleared, ever subsequent failure will cause a DOWN alert to be thrown immediately, because 1stfailtime is past the current time - <time interval>. The patch has been publish in the mailing list by Adrian Chung the Thu, 05 Dec 2002 06:44:18 -0800, but never apply to portage. Details here : http://www.mail-archive.com/mon@linux.kernel.org/msg00869.html Reproducible: Always Steps to Reproduce:
(don't remember inheriting this). all set, thanks!