How add a variable zone to my configuration icinga2

Hello everyone, I have a question, how can I add the zone of a host as a variable ( in my hosts.conf file or in the one that corresponds (I do not occupy icinga director) so that I can monitor the location through the module maps

Hi mauro,

every Host object holds a variable zone which contains the zone the object is a member of:

Does that help you?

Best regards,