In general, Hobbit processes the hobbit-alerts.cfg file from top-down, using the first matching alert.  At least in my experience with the way we're using DURATION, it should be counting the time from when the alert changes status (so, green-to-yellow, yellow-to-red, etc), though to be fair, we're using it differently than you are in this example.
<br><br>Try using the bbcmd "hobbitd_alert" test below to see if it is working as intended.  It can be used as below:<br>/var/hobbit/server/bin/bbcmd hobbitd_alert --test <hostname> <host test><br><br>
Also, you might want to consider using DURATION<3m (specifying "m" for minutes).  I'm not sure what the default is, but I personally prefer to be explicit; makes reading it a little easier as well.  And if REPEAT=5, assuming 5 is in minutes, you'll never get a repeat message for yellow or red status if DURATION<3m.
<br><br><div><span class="gmail_quote"><br></span><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">Dear Hobbits,<br><br>is DURATION keyword within 
hobbit-alerts.cfg relates to the time period<br>one test is in a special state, yellow or red, or more general the time<br>period since non-green state occurs. In example, i want to get exact one<br>notification at yellow state and one at red, but the following
<br>configuration does not work. I get notified on initial yellow alert, but<br>not on red one occurring 4 min later.<br><br>HOST=myhost SERVICE=disk COLOR=yellow DURATION<3<br>SCRIPT $SSMSS $ABSMS REPEAT=5 RECOVERED<br>
<br>HOST=myhost SERVICE=disk COLOR=red DURATION<3<br>SCRIPT $SSMSS $ABSMS REPEAT=5 RECOVERED<br><br>Any ideas? Thanks :-)<br><br>Mit freundlichen Grüßen / Yours sincerely<br><br>Anatoli Bogajewski<br><br>To unsubscribe from the hobbit list, send an e-mail to
<br><a href="mailto:hobbit-unsubscribe@hswn.dk">hobbit-unsubscribe@hswn.dk</a><br><br><br></blockquote></div><br>