2.0b6, bug in "notifications_enabled" handling (sends notifications when set to 0

Eli Stair estair at ilm.com
Thu Dec 8 21:41:49 CET 2005


Can someone confirm my belief on this is proper?

I used this same config several weeks ago ( just changed membership to a 
different hostgroup ) and I was not receiving any alerts on this 
hostgroup then.

Since moving to 2.0b6 (from b4) I'm changing hostgroup membership back 
to this "non-alerting" group.  I am still not receiving host down 
alerts, but I've started getting service alerts for hosts in it.  The 
config is below.

After changing 'notification_options' to "n" the alerts stopped 
altogether.  Previously, it was set to "d,u" but 'notification_options'
seemingly overrode it.

/eli

<snip>

define host{
         name                    linux-node-lowkey
         contact_groups          cluster-admins
         check_command           check-host-alive
         checks_enabled          1
         check_interval          0
         max_check_attempts      5
         notification_interval   480
         notification_period     none
         notification_options    n
         notifications_enabled           0       ; Host notifications 
are enabled
         event_handler_enabled           1       ; Host event handler is 
enabled
         flap_detection_enabled          0       ; Flap detection is enabled
         process_perf_data               0       ; Process performance data
         retain_status_information       0       ; Retain status 
information across program restarts
         retain_nonstatus_information    1       ; Retain non-status 
information across program restarts
         register                        0       ; DONT REGISTER THIS 
DEFINITION - ITS NOT A REAL HOST, JUST A TEMPLATE!
}

</snip>

System:

RHEL42
x86_64



-------------------------------------------------------
This SF.net email is sponsored by: Splunk Inc. Do you grep through log files
for problems?  Stop!  Download the new AJAX search engine that makes
searching your log files as easy as surfing the  web.  DOWNLOAD SPLUNK!
http://ads.osdn.com/?ad_id=7637&alloc_id=16865&op=click
_______________________________________________
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