<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
<meta content="text/html; charset=ISO-8859-1"
http-equiv="Content-Type">
</head>
<body text="#000000" bgcolor="#ffffff">
On 06/17/2009 06:06 PM, Matthias Urlichs wrote:
<blockquote cite="mid:20090617220618.GW9865@kiste.smurf.noris.de"
type="cite">
<pre wrap="">Hi,
Casey Dahlin:
</pre>
<blockquote type="cite">
<pre wrap="">The way its worded in my example the check would happen 1 minute after
startup, and never again.
</pre>
</blockquote>
<pre wrap=""><!---->
Alternately you could trigger it on "system_normal is in state 'stopped'
for more than 1 minute" (which can't be specified yet IIRC, but that
should be fixable), on the theory that a reboot or restart shouldn't
take that long (you don't want a barrage of state emails every time you
restart things when upgrading, for instance).
</pre>
</blockquote>
<br>
True. There's a lot of sophistication that could be added. Its
something to look into as the system takes shape.<br>
<br>
<blockquote cite="mid:20090617220618.GW9865@kiste.smurf.noris.de"
type="cite">
<pre wrap=""></pre>
<blockquote type="cite">
<pre wrap="">An alternative would be a "settled" event,
which would occur every time the state machine stops transitioning for a
moment.
</pre>
</blockquote>
<pre wrap=""><!---->
"Send an event when there are no events" sounds like an internal
inconsistency waiting to happen. :-/
</pre>
</blockquote>
There's lots of right ways to do it. It depends on how we implement
certain things though.<br>
<br>
--CJD<br>
</body>
</html>