The generic-service
in Nagios has this setting in it:
define service{
name generic-service
contact_groups admins
; ... more stuff
}
So emails are sent to the admins
group (for you it's contact one
) AND to your contact two
.
You need to create a new contact group for contact two
and override the contact_groups
in your service.
For example:
define contact{
contact_name one
}
define contact{
contact_name two
}
define contactgroup{
contactgroup_name admins
members one
}
define contactgroup{
contactgroup_name helpers
members two
}
define service {
name xxx-service
...
contact_group helpers
}