Disabling Notifcations...

Mathew Walker lmw94002 at hotmail.com
Thu Oct 15 18:26:55 CEST 2009


Ok, been a long week and maybe i'm just overlooking something... 

 

Defined a service on a host like such...

 

define service{
        use                     my_template
        host_name               my_host
        notifications_enabled   0
        service_description     my_service

        check_command           my_check!my_variables
        }

 

However, notificaitons are NOT disabled.  I previously had them enabled and am now disabling them after the fact via the config file.  Sure my_template has notifications ENABLED, but my service definition should override that setting.  I have the issue on several checks and I have fixed it by going into the retention.dat file and blowing out the line about notifications and restarting nagios.  

 

My theory is I previously disabled and renabled notifications via the webGUI, then updated the configuration file to disable... and that last GUI "enabled" is somehow overriding the one in the config file that says it should be disabled.  

 

Am I right? Crazy? Just doesn't seem to work as I think it would.


-- 
Mat W. - http://www.techadre.com
 		 	   		  
_________________________________________________________________
Hotmail: Powerful Free email with security by Microsoft.
http://clk.atdmt.com/GBL/go/171222986/direct/01/
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://www.monitoring-lists.org/archive/users/attachments/20091015/0fbd6cb1/attachment.html>
-------------- next part --------------
------------------------------------------------------------------------------
Come build with us! The BlackBerry(R) Developer Conference in SF, CA
is the only developer event you need to attend this year. Jumpstart your
developing skills, take BlackBerry mobile applications to market and stay 
ahead of the curve. Join us from November 9 - 12, 2009. Register now!
http://p.sf.net/sfu/devconference
-------------- next part --------------
_______________________________________________
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