config issue

Joe Rhett jrhett at isite.net
Thu Nov 20 19:36:21 CET 2003


Out of curiosity, is that a work-around for the problem or a statement that
he's not configuring it correctly?  (is there a code problem or not?)

On Thu, Nov 20, 2003 at 11:20:43AM -0500, Karl.Yost at mptotalcare.com wrote:
> Create a time period, I believe there is a default one created for you that
> looks something like:
> # 'none' timeperiod definition
> define timeperiod{
> 	timeperiod_name	none
> 	alias		No Time Is A Good Time
> 	}
> 
> Set your notification period to that time period. That should stop the
> notifications.
> 
> Regards,
> Karl
>  
> 
> 
> -----Original Message-----
> From: Ric Moseley [mailto:ric at nkn.net] 
> Sent: Thursday, November 20, 2003 9:44 AM
> To: 'nagios-users'
> 
> I am trying to turn off notifications on individual services and hosts using
> 'notifications_enabled   0' option and it does not seem to have any affect.
> It still sends an email out b/c I have the 'notifications' option turned on
> the the Nagios.cfg file.  
> 
> Anyone have any ides.
> 
> Thanks.
> 
> Ric.
> 
> Services.cfg
> 
> define service{
>         use                     generic-service
>         host_name               C0001-testserver01
>         service_description     PING
>         check_command           PING
>         max_check_attempts      3
>         normal_check_interval   1
>         retry_check_interval    1
>         check_period            24x7
>         notification_interval   60
>         notification_period     24x7
>         notification_options    w,c,r
>         notifications_enabled   0
>         flap_detection_enabled  1
>         contact_groups          *support*
>         }
> 
> Nagios.cfg:
> 
> enable_notifications=1
> 
> 
> 
> -------------------------------------------------------
> This SF.net email is sponsored by: SF.net Giveback Program.
> 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:
> http://sourceforge.net/donate/
> _______________________________________________
> Nagios-users mailing list
> Nagios-users at lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/nagios-users
> ::: Please include Nagios version, plugin version (-v) and OS when reporting
> any issue. 
> ::: Messages without supporting info will risk being sent to /dev/null

-- 
Joe Rhett                                                      Chief Geek
JRhett at Isite.Net                                      Isite Services, Inc.


-------------------------------------------------------
This SF.net email is sponsored by: SF.net Giveback Program.
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: http://sourceforge.net/donate/
_______________________________________________
Nagios-users mailing list
Nagios-users at lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/nagios-users
::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. 
::: Messages without supporting info will risk being sent to /dev/null





More information about the Users mailing list