> On 20. Dec 2017, at 15:57, Jayapandian Ponraj <pandian...@gmail.com> wrote:
> 
> Is it possible to assing an array of host objects to a service object ?
> 
> In icinga1 we could add multiple hosts separated by commas. Is it still 
> possible in icinga2? If not are there any alternatives ?


Look into the rich possibilities of apply rules. Static objects are the old 
world.

https://www.icinga.com/docs/icinga2/latest/doc/03-monitoring-basics/#apply-rules

Hint: Don’t use static lists. Rely on pattern and common attributes.

Kind regards,
Michael



> 
> Icinga1 Doc: 
>     host_name:
>     This directive is used to specify the short name(s) of the host(s) that 
> the service "runs" on or is associated with. Multiple hosts should be 
> separated by commas.
> _______________________________________________
> icinga-users mailing list
> icinga-users@lists.icinga.org
> https://lists.icinga.org/mailman/listinfo/icinga-users

_______________________________________________
icinga-users mailing list
icinga-users@lists.icinga.org
https://lists.icinga.org/mailman/listinfo/icinga-users

Reply via email to