List Host Per Zone

Hi

I have quite a few zones configured. Each zone has 2 satellite servers.

I want to create a report per zone for Host.

Is there any out of box capability to do the same

Regards

Anirban

Hi,

Have you tried host filter “Host Check Source”?

Hi

No. Well If we can export all host check source it still is workable solution
Can you explain How I can export Host and Host Check Source

Regards

Anirban

Hi

If i didn’t get your request wrong, this way you can filter and export the result

image

Regards

we set the host.zone in the host config files and then set up host groups under the zones.d/master/zones.groups.conf

object HostGroup "zone1-hosts" {
    display_name = "all zone 1 - hosts"
    assign where match("satellites-zone1", host.zone)
}

object HostGroup "zone2-hosts" {
    display_name = "all zone 2 - hosts"
    assign where match("satellites-zone2", host.zone)
}

and then they show up in the dashboard under “HostGroups”