<div>You have done a Very Good Thing by posting a question and the answer, even if you found it yourself.  Now anyone who takes the time to search for this topic may find your answer!</div>
<div> </div>
<div>GLH<br><br></div>
<div class="gmail_quote">On Wed, Jan 27, 2010 at 2:59 PM, Kii NODA <span dir="ltr"><<a href="mailto:kii.noda@gmail.com">kii.noda@gmail.com</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="PADDING-LEFT: 1ex; MARGIN: 0px 0px 0px 0.8ex; BORDER-LEFT: #ccc 1px solid">Hi everyone,<br><br>To answer my own question, in short: "TIME=*:2300:0759" is equivalent to "TIME=*:2300:2400,*:0000:0759" and thus solves our problem. Xymon is indeed a fine and well-thought piece of software.<br>
<br>Expanded explanation: While RTFM-ing 'man bb-hosts' and 'man hobbit-alerts.cfg' I could find out that the time format of the alerts has the same format as DOWNTIME has in bb-hosts which in turn has the same format as NKTIME. Even more, NKTIME is explicitly allowing the following:<br>
<br>--- cut here ---<br>The interval between starttime and endtime may cross midnight, e.g. *:2330:0200 would be valid and have the same effect as *:2330:2400,*:0000:0200.<br>--- and here ---<br><br>Sorry for the noise, thought I'd mention my findings for future reference.<br>
<br>
<div class="gmail_quote">
<div class="im">On Wed, Jan 27, 2010 at 6:55 PM, Kii NODA <span dir="ltr"><<a href="mailto:kii.noda@gmail.com" target="_blank">kii.noda@gmail.com</a>></span> wrote:<br></div>
<blockquote class="gmail_quote" style="PADDING-LEFT: 1ex; MARGIN: 0pt 0pt 0pt 0.8ex; BORDER-LEFT: rgb(204,204,204) 1px solid">
<div class="im">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></div>
<div class="im">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></div></blockquote>
<div><br>[ snip ] <br></div></div><br>-- <br><font color="#888888">kN<br></font></blockquote></div><br><br clear="all"><br>-- <br>Disclaimer:  1) all opinions are my own, 2) I may be completely wrong, 3) my advice is worth at least as much as what you are paying for it, or your money cheerfully refunded.<br>