[icinga-users] Service inheritance

Simon Oosthoek soosthoek at nieuwland.nl
Wed Mar 13 16:46:34 CET 2013


On 03/13/2013 03:29 PM, Lorenzo Milesi wrote:
> Hi.
>
> I'm deploying Icinga from scratch, using Nagiosql as configuration tool.
> I've set up a list of services, which I "bonded" to a hostgroup, then I add a host to this group and the host receives the service checks.
>
> But how to handle "overrides"? I want host1 which is part of the group group1 to have different service parameters than the ones defined for the group.
> How can I handle this situation?

Another way might be to define a custom variable (macro) in the host 
definition that is later used in the generic service definition to set 
host specific parameters. I suppose this means you have to set the 
custom macro in all host definitions or their ancestor. see

http://docs.icinga.org/latest/en/customobjectvars.html#basicscustomvars

/Simon




More information about the icinga-users mailing list