On 5/10/06, <b class="gmail_sendername">Tiernan, Michael C.</b> <<a href="mailto:mtiernan@draper.com">mtiernan@draper.com</a>> wrote:<div><span class="gmail_quote"></span><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
I've not found this mentioned. (A nickel says that as soon as I hit<br>"Send" I'll find it.)<br><br>Can you define a timeperiod with two names?<br><br>(Nagios 2 & RHEL-4)<br><br>Example:<br><br>define timeperiod {
<br>        timeperiod_name 24x7,anytime<br>        timeperiod_alias        Whenever, it's important!<br>        sunday  00:00-24:00<br>        monday  00:00-24:00<br>        tuesday 00:00-24:00<br>        wednesday       00:00-24:00
<br>        thursday        00:00-24:00<br>        friday  00:00-24:00<br>        saturday        00:00-24:00<br>}</blockquote><div><br>AFAIK no, but you can define two timeperiods the same such as<br><br>define timeperiod {
<br>        timeperiod_name 24x7<br>        timeperiod_alias        Whenever, it's important!<br>        sunday  00:00-24:00<br>        monday  00:00-24:00<br>        tuesday 00:00-24:00<br>        wednesday       00:00-24:00
<br>        thursday        00:00-24:00<br>        friday  00:00-24:00<br>        saturday        00:00-24:00<br>}<br>define timeperiod {<br>        timeperiod_name anytime<br>        timeperiod_alias        Whenever, it's important!
<br>        sunday  00:00-24:00<br>        monday  00:00-24:00<br>        tuesday 00:00-24:00<br>        wednesday       00:00-24:00<br>        thursday        00:00-24:00<br>        friday  00:00-24:00<br>        saturday        00:00-24:00
<br>} </div><br>Although what would this achieve?  Why not just use the one?<br><br>Ben<br></div>-- <br>"A Scientist will earn a living by taking a really difficult problem and spends many years solving it, an engineer earns a living by finding really difficult problems and side stepping them"