Hi everyone,<br><br>In our journey towards completely and successfully deploying Xymon on our machines we've come over this situation: we want to have an alert coming to us if the duration is over 30 minutes between 0800 and 2259 AND every 60 minutes between 2300 and 0759 the next day. They need to be repeated every 120 minutes in both cases.<br>
<br>The following group of 3 rules obviously covers what we want to accomplish, right?<br>--- cut here ---<br>        MAIL email@recipient.tld DURATION>60 REPEAT=120 RECOVERED NOTICE TIME=*:0000:0759<br>        MAIL email@recipient.tld DURATION>30 REPEAT=120 RECOVERED NOTICE TIME=*:0800:2259<br>
        MAIL email@recipient.tld DURATION>60 REPEAT=120 RECOVERED NOTICE TIME=*:2300:2359<br>--- and here ---<br><br>However, we're looking to write the most simple set of rules that would cover our requirements and would therefore welcome your answers regarding the following possible variants:<br>
<br>1. Would the following set of rules work given a setting like "TIME=*:2300:0759"?<br>--- cut here ---<br>        MAIL email@recipient.tld DURATION>30 REPEAT=120 RECOVERED NOTICE TIME=*:0800:2259<br>
        MAIL email@recipient.tld DURATION>60 REPEAT=120 RECOVERED NOTICE TIME=*:2300:0759<br>
--- and here ---<br>
<br>2. Or maybe would the following work? In this case, wouldn't this duplicate alerts that happen to have a duration of 70 minutes, for example?<br>--- cut here ---<br>
        MAIL email@recipient.tld DURATION>30 REPEAT=120 RECOVERED NOTICE TIME=*:0800:2259<br>

        MAIL email@recipient.tld DURATION>60 REPEAT=120 RECOVERED NOTICE<br>

--- and here ---<br>

<br>3. We have also been considering using "STOP" as below but this won't work when we need to alert 3 similar recipients. Any thoughts?<br>--- cut here ---<br>

        MAIL email@recipient.tld DURATION>30 REPEAT=120 RECOVERED NOTICE TIME=*:0800:2259 STOP<br>


        MAIL email@recipient.tld DURATION>60 REPEAT=120 RECOVERED NOTICE<br>


--- and here ---<br>


<br clear="all">We are definitely looking forward to see the answers that users more experienced than ourselves would provide.<br>Thanks in advance for your help.<br>-- <br>kN<br>