<P>Sure, 
<P>    Just create 2 contacts, one called day with e-mail alerts, and notifications set for day time hours, and a second contact call night with pager alerts and notifications set to night time hours. 
<P>    Create 2 new contact groups, production and after-hours, add each user to the correct group. In the services.cfg for contact_groups put production,after-hours. You'll need to define timeperiods..
<P><U><FONT color=#800080><A href="http://nagios.sourceforge.net/docs/1_0/xodtemplate.html#contact">http://nagios.sourceforge.net/docs/1_0/xodtemplate.html#contact</FONT></U></A>
<P><A href="http://nagios.sourceforge.net/docs/1_0/xodtemplate.html#contactgroup">http://nagios.sourceforge.net/docs/1_0/xodtemplate.html#contactgroup</A>
<P><A href="http://nagios.sourceforge.net/docs/1_0/xodtemplate.html#timeperiod">http://nagios.sourceforge.net/docs/1_0/xodtemplate.html#timeperiod</A>
<P> <B><I>Charles Goodsell <Charles.Goodsell@awm.gov.au></I></B> wrote:
<BLOCKQUOTE style="PADDING-LEFT: 5px; MARGIN-LEFT: 5px; BORDER-LEFT: #1010ff 2px solid">Is there a simple way to configure a contact to get an email alert<BR>during work hours and a pager alert during off work hours?<BR><BR>I thought of the obvious, define the service twice and define the<BR>contact twice that seems a little annoying for a number of reasons.<BR>Primarily you would not be able to generate a trend or availability<BR>report for that one service as it now encompasses two definitions over<BR>two different time ranges.<BR><BR>Is there a way to do this in a more compact manner?<BR><BR>TIA<BR><BR><BR><BR><BR>-------------------------------------------------------<BR>This SF.net email is sponsored by: SlickEdit Inc. Develop an edge.<BR>The most comprehensive and flexible code editor you can use.<BR>Code faster. C/C++, C#, Java, HTML, XML, many more. FREE 30-Day Trial.<BR>www.slickedit.com/sourceforge<BR>_______________________________________________<BR>Nagios-users m
 ailing list<BR>Nagios-users@lists.sourceforge.net<BR>https://lists.sourceforge.net/lists/listinfo/nagios-users<BR>::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. <BR>::: Messages without supporting info will risk being sent to /dev/null</BLOCKQUOTE><p><br><hr size=1>Do you Yahoo!?<br>
<a href="http://rd.yahoo.com/O=1/I=brandr/vday03/text/flow/*http://shopping.yahoo.com
/shop?d=browse&id=20146735">Yahoo! Shopping</a> - Send Flowers for Valentine's Day