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.
Who will receive the alerts
-
- DevOps Engineer
- Posts: 19396
- Joined: Tue Nov 15, 2011 3:11 pm
- Location: Nagios Enterprises
- Contact:
Re: Who will receive the alerts
Members of both the contact groups aix-os-admins and oracle-app-admins.
This indicates additive inheritance, without the + sign only aix-os-admins would receive notifications because the directive would override the templatePratapa wrote:2. What does + sign means
Re: Who will receive the alerts
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
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
-
- DevOps Engineer
- Posts: 19396
- Joined: Tue Nov 15, 2011 3:11 pm
- Location: Nagios Enterprises
- Contact:
Re: Who will receive the alerts
It is a Custom Object Variable
https://assets.nagios.com/downloads/nag ... tvars.html
https://assets.nagios.com/downloads/nag ... tvars.html