Page 1 of 1

Who will receive the alerts

Posted: Fri Nov 15, 2019 7:28 am
by Pratapa
Hi,

I have a query on the following.

Following is the service definition.

define service {
use oracle-service-template,Disk-Template
host_name host1
contact_groups +aix-os-admins
}



define service {
name oracle-service-template
use master-service-template
_resolver_group Platform Team
notes Resolver Group: $_SERVICERESOLVER_GROUP$
contact_groups oracle-app-admins
register 0
}


define service {
name Disk-Template
service_description Disk
use master-service-template
check_command check_nrpe_wrapper_2arg! !20%!10%
register 0
}


1. Who will receive the alerts.

Only members of the contact group aix-os-admins
or
Members of both the contact groups aix-os-admins and oracle-app-admins.

2. What does + sign means
contact_groups +aix-os-admins


Regards,
Pratap.

Re: Who will receive the alerts

Posted: Fri Nov 15, 2019 8:10 am
by scottwilkerson
Members of both the contact groups aix-os-admins and oracle-app-admins.
Pratapa wrote:2. What does + sign means
This indicates additive inheritance, without the + sign only aix-os-admins would receive notifications because the directive would override the template

Re: Who will receive the alerts

Posted: Wed Nov 20, 2019 7:18 am
by Pratapa
Thanks for your reply. Now it is clear to me.

Could you please tell me what is _resolver_group in the below service definition.

define service {
name oracle-service-template
use master-service-template
_resolver_group Platform Team
notes Resolver Group: $_SERVICERESOLVER_GROUP$
contact_groups oracle-app-admins
register 0
}


Regards,
Pratapa

Re: Who will receive the alerts

Posted: Wed Nov 20, 2019 7:39 am
by scottwilkerson