Nagios "skipping" single contact when sending a notification


#1

I’ve recently noticed that I have a single service monitor that is skipping sending a notification to a single contact in a contact group when notifications are sent out, but ONLY for one particular service check… not for all checks. Below are snippets of the relevant config files:

contacts.cfg

define contactgroup{
contactgroup_name cfx
alias CFX Admin alerts
members cfx-admins,hiteshp,jackd,craigw,frankl,erniec,vkotha,davidl,danh
}

custom.cfg

define service {
host_name 14,15,16
service_description Check Web Servers
check_command check_http_hms!$HOSTALIAS$!"/cftest/"!SUCCESS!30
max_check_attempts 3
normal_check_interval 2
retry_check_interval 1
check_period 24x7
notification_interval 30
notification_period 24x7
notification_options w,c,r
flap_detection_enabled 0
contact_groups cfx
}

define service {
host_name host2
service_description Check XXX Website
check_command check_http_hms!$HOSTALIAS$!"/"!Copyright!60
max_check_attempts 3
normal_check_interval 2
retry_check_interval 1
check_period 24x7
notification_interval 30
notification_period 24x7
notification_options w,c,r
flap_detection_enabled 0
contact_groups cfx
}

Here is my problem. Notice both checks send notifications to the SAME contact group. When the first service check (14, 15 and 16) fail everything is fine. Everyone is alerted. When the second one(host2) fails, the first person on the cfx contact group doesn’t get a notification. If I “view notifications for this service” I can see that nagios sent the notification to everyone in the cfx contact group except the first contact, cfx-admins. I would of thought that I had an error setting up my contact group … but that group works fine with every other service check. Can anyone shed any light on this ? I can post more details if needed.