Email alerts will not send to all contact groups


#1

Running Nagios 3.0.3 on ubuntu 8.10. My server is only sending mail alerts to my admins group. I have other groups created, but Nagios will not mail to them. It is just totally ignoring my other groups, there are no errors showing up in the log files.

contacts

define contact{
contact_name nagiosadmin ; Short name of user
use generic-contact ; Inherit default values from generic-contact template (defined above)
alias Nagios Admin ; Full name of user
email brian.emenaker@company.com ; <<***** CHANGE THIS TO YOUR EMAIL ADDRESS ******
}

define contact{
contact_name JeffCuen ; Short name of user
use generic-contact ; Inherit default values from generic-contact template (defined above)
alias Jeff Cuen ; Full name of user
email jeff.cuen@company.com ; <<***** CHANGE THIS TO YOUR EMAIL ADDRESS ******
}

define contact{
contact_name JimPhillips
use generic-contact
alias Jim Phillips
email jim.phillips@company.com
}

define contact{
contact_name PythianSupport
use generic-contact
alias Pythian Group
email blanked@pythian.com
}

define contact{
contact_name MichaelMorse
use generic-contact
alias Michael Morse
email michael.morse@company.com
}

Groups

define contactgroup{
contactgroup_name admins
alias Nagios Administrators
members nagiosadmin,JeffCuen
}

define contactgroup{
contactgroup_name Norwalk
alias Norwalk Administrators
members JimPhillips
}

define contactgroup{
contactgroup_name Juarez2
alias Juarez2 Administrators
members nagiosadmin
}

define contactgroup{
contactgroup_name Pythian
alias Pythian Support
members PythianSupport
}

define contactgroup{
contactgroup_name sql
alias sql
members MichaelMorse
}


#2

Hi,

Your contacts look okay, but I always recommend running the configuration verification script to be sure. You may get a warning there that could point you in the right direction. Could you post one of the services that you believe should be notifying a different group? The problem may lie with your service definitions, not your contact definitions. Let us know.

Regards

Chris


#3

Hello

Any update on this, I am having the same problem with v2.x.

I had the problem with one contactgroup not being notified, but not it looks like all of them are not working other them the admins.

Nilesh