Hello Scott,

Make sure you have a global zone called "director-global" in your
zones.conf file.

Thanks,

On Apr 7, 2017 10:24 AM, "Scott" <sst...@gmail.com> wrote:

> I am trying to create a hostgroup in director and get the following error:
>
> information/cli: Icinga application loader (version: v2.6.2)
> information/cli: Loading configuration file(s).
> information/ConfigItem: Committing config item(s).
> information/ApiListener: My API identity: ca1om02d.cameco.com
> critical/config: Error: Validation failed for object 'test' of type
> 'HostGroup'; Attribute 'zone': Object 'director-global' of type 'Zone'
> does not exist.
> Location: in [stage]/zones.d/director-global/hostgroups.conf: 1:0-1:22
> [stage]/zones.d/director-global/hostgroups.conf(1): object HostGroup
> "test" {
>                                                     ^^^^^^^^^^^^^^^^^^^^^^^
> [stage]/zones.d/director-global/hostgroups.conf(2):     display_name =
> "test"
> [stage]/zones.d/director-global/hostgroups.conf(3): }
>
> critical/config: 1 error
>
> Am I missing something here?
>
> Thanks!
>
> Scott.
> _______________________________________________
> 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