Re: [icinga-users] Icinga2 - apply multiple services based on host.vars

2015-01-15 Thread Will Tatam
On 16/01/15 00:55, Joseph L. Casale wrote: Thanks for the tip, are you able to provide an example of how to define the services I want for my host using the technique you describe ? You're nesting types without purpose, you don't use the dictionary key for anything. You also only override a sin

Re: [icinga-users] Icinga2 - apply multiple services based on host.vars

2015-01-15 Thread Joseph L. Casale
> Thanks for the tip, are you able to provide an example of how to define > the services I want for my host using the technique you describe ? You're nesting types without purpose, you don't use the dictionary key for anything. You also only override a single element within your dictionary. If y

Re: [icinga-users] Icinga2 - apply multiple services based on host.vars

2015-01-15 Thread Will Tatam
On 15/01/15 19:07, Joseph L. Casale wrote: So my question is, if I wanted to have service checks that were like "disk /var", "disk /home" etc is this possible using the apply syntax ? http://docs.icinga.org/icinga2/latest/doc/module/icinga2/chapter/monitoring-basics#using-apply-for Regardless

Re: [icinga-users] Icinga2 - apply multiple services based on host.vars

2015-01-15 Thread Joseph L. Casale
> So my question is, if I wanted to have service checks that were like > "disk /var", "disk /home" etc is this possible using the apply syntax ? http://docs.icinga.org/icinga2/latest/doc/module/icinga2/chapter/monitoring-basics#using-apply-for Regardless of arrays or dictionaries, you can extra

[icinga-users] Icinga2 - apply multiple services based on host.vars

2015-01-15 Thread Will Tatam
Hi there I am currently in the progress of rebuilding our quite complex Icinga config and am enjoying the new apply syntax rather than lots of repetition of define service or having quite complex code to try and build up a long list of hosts that need this service based on our management data