> I would like to define a HostGroup, e.g. DMZ, and assign all hosts,
> which are defined using static IP addresses, to that group and they
> belong to that IP address range, e.g. 34-62.
>
> object HostGroup "dmz2" {
> display_name = "DMZ 2"
>
> assign where host.address == "172.16.0.[33-62]"
> }
>
>
> Or is there any other way to create such a group, without assigning each
> host to the group explicitly?
Take your pick:
http://docs.icinga.org/icinga2/latest/doc/module/icinga2/chapter/library-reference#library-reference
http://docs.icinga.org/icinga2/latest/doc/module/icinga2/chapter/monitoring-basics#using-apply-expressions
jlc
_______________________________________________
icinga-users mailing list
[email protected]
https://lists.icinga.org/mailman/listinfo/icinga-users