Page 1 of 1

Email sent to default email

Posted: Thu Jun 05, 2014 1:30 pm
by kalyan1709
Hi,

I have defined contact as below in my contact.cfg:

define contact{
contact_name dbintadmin ; Short name of user
use generic-contact ; Inherit default values from generic-contact template (defined above)
alias DB Admin ; Full name of user
email [email protected], [email protected]
}
###########################################################################################################

define contactgroup{
contactgroup_name db_group
alias db_group
# members dbintadmin,nagios-systems,Text
members dbintadmin
}

define contactgroup{
contactgroup_name Dev-dbgroup
alias DB Administrators
members dbintadmin
}

I have created a htpassword for dbintadmin user, So that I can see only specific servers whose contact group is db_group and Dev-dbgroup as defined below:

define host{
use generic-host,host-pnp
host_name WIN2K12-DEV
alias WIN2K12-DEV
address 10.10.28.83
icon_image win40.png
statusmap_image win40.gd2
parents VM3
max_check_attempts 2
contact_groups Dev-dbgroup
}

define host{
use generic-host,host-pnp
host_name DB3
alias DB3
address 10.20.20.80
icon_image win40.png
statusmap_image win40.gd2
parents VM Host 3
max_check_attempts 2
contact_groups db_group
}

The problem is the notification is triggering to another email id instead of [email protected] and [email protected]!!!!

Any suggestions please??

Thanks,
kalyanP

Re: Email sent to default email

Posted: Thu Jun 05, 2014 3:16 pm
by sreinhardt
Do you know what other email address is being sent the notifications? While I have not tried it, or seen it done before, I do not believe that comma separated lists of email addresses will be handled properly. You would probably be better served to have two contacts and add them both to the contact group, just to be sure that nothing will have an issue.