<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 3.2//EN">
<HTML>
<HEAD>
<META HTTP-EQUIV="Content-Type" CONTENT="text/html; charset=US-ASCII">
<META NAME="Generator" CONTENT="MS Exchange Server version 5.5.2653.12">
<TITLE>RE: [Nagios-users] config issue</TITLE>
</HEAD>
<BODY>
<P><FONT SIZE=2>Create a time period, I believe there is a default one created for you that looks something like:</FONT>
<BR><FONT SIZE=2># 'none' timeperiod definition</FONT>
<BR><FONT SIZE=2>define timeperiod{</FONT>
<BR> <FONT SIZE=2>timeperiod_name none</FONT>
<BR> <FONT SIZE=2>alias No Time Is A Good Time</FONT>
<BR> <FONT SIZE=2>}</FONT>
</P>
<P><FONT SIZE=2>Set your notification period to that time period. That should stop the notifications.</FONT>
</P>
<P><FONT SIZE=2>Regards,</FONT>
<BR><FONT SIZE=2>Karl</FONT>
<BR><FONT SIZE=2> </FONT>
</P>
<BR>
<P><FONT SIZE=2>-----Original Message-----</FONT>
<BR><FONT SIZE=2>From: Ric Moseley [<A HREF="mailto:ric@nkn.net">mailto:ric@nkn.net</A>] </FONT>
<BR><FONT SIZE=2>Sent: Thursday, November 20, 2003 9:44 AM</FONT>
<BR><FONT SIZE=2>To: 'nagios-users'</FONT>
</P>
<P><FONT SIZE=2>I am trying to turn off notifications on individual services and hosts using</FONT>
<BR><FONT SIZE=2>'notifications_enabled 0' option and it does not seem to have any affect.</FONT>
<BR><FONT SIZE=2>It still sends an email out b/c I have the 'notifications' option turned on the the Nagios.cfg file. </FONT>
</P>
<P><FONT SIZE=2>Anyone have any ides.</FONT>
</P>
<P><FONT SIZE=2>Thanks.</FONT>
</P>
<P><FONT SIZE=2>Ric.</FONT>
</P>
<P><FONT SIZE=2>Services.cfg</FONT>
</P>
<P><FONT SIZE=2>define service{</FONT>
<BR><FONT SIZE=2> use generic-service</FONT>
<BR><FONT SIZE=2> host_name C0001-testserver01</FONT>
<BR><FONT SIZE=2> service_description PING</FONT>
<BR><FONT SIZE=2> check_command PING</FONT>
<BR><FONT SIZE=2> max_check_attempts 3</FONT>
<BR><FONT SIZE=2> normal_check_interval 1</FONT>
<BR><FONT SIZE=2> retry_check_interval 1</FONT>
<BR><FONT SIZE=2> check_period 24x7</FONT>
<BR><FONT SIZE=2> notification_interval 60</FONT>
<BR><FONT SIZE=2> notification_period 24x7</FONT>
<BR><FONT SIZE=2> notification_options w,c,r</FONT>
<BR><FONT SIZE=2> notifications_enabled 0</FONT>
<BR><FONT SIZE=2> flap_detection_enabled 1</FONT>
<BR><FONT SIZE=2> contact_groups *support*</FONT>
<BR><FONT SIZE=2> }</FONT>
</P>
<P><FONT SIZE=2>Nagios.cfg:</FONT>
</P>
<P><FONT SIZE=2>enable_notifications=1</FONT>
</P>
<BR>
<BR>
<P><FONT SIZE=2>-------------------------------------------------------</FONT>
<BR><FONT SIZE=2>This SF.net email is sponsored by: SF.net Giveback Program.</FONT>
<BR><FONT SIZE=2>Does SourceForge.net help you be more productive? Does it help you create better code? SHARE THE LOVE, and help us help YOU! Click Here: <A HREF="http://sourceforge.net/donate/" TARGET="_blank">http://sourceforge.net/donate/</A> _______________________________________________</FONT></P>
<P><FONT SIZE=2>Nagios-users mailing list</FONT>
<BR><FONT SIZE=2>Nagios-users@lists.sourceforge.net</FONT>
<BR><FONT SIZE=2><A HREF="https://lists.sourceforge.net/lists/listinfo/nagios-users" TARGET="_blank">https://lists.sourceforge.net/lists/listinfo/nagios-users</A></FONT>
<BR><FONT SIZE=2>::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. </FONT>
<BR><FONT SIZE=2>::: Messages without supporting info will risk being sent to /dev/null</FONT>
</P>
</BODY>
</HTML>