<commit_before><% @hosts_app_prod.each do |host| -%>
define host{
       use              generic-host
       host_name        <%= host %>
       alias            <%= host %>
       address          <%= host %>.<%= @default_host_domain %>
       hostgroups       all,aws_host,web,prod_frontends,pageable_servers
       }
<% end -%>

<% @hosts_fullstack.each do |host| -%>
define host{
       use              generic-host
       host_name        <%= host %>
       alias            <%= host %>
       address          <%= host %>
       hostgroups       all,non_aws_host,web,frontends,staging_frontends,not_pageable_servers,postgresql,postgresql_primary
       }
<% end -%>

<% @hosts_app_staging.each do |host| -%>
define host{
       use              generic-host
       host_name        <%= host %>
       alias            <%= host %>
       address          <%= host %>.<%= @default_host_domain %>
       hostgroups       all,aws_host,web,staging_frontends,not_pageable_servers
       }
<% end -%>

<% @hosts_zmirror.each do |host| -%>
define host{
       use              generic-host
       host_name        <%= host %>
       alias            <%= host %>
       address          <%= host %>.<%= @default_host_domain %>
       hostgroups       all,non_aws_host,zmirror,zmirror_main,flaky_servers
       }
<% end -%>

<% @hosts_zmirrorp.each do |host| -%>
define host{
       use              generic-host
       host_name        <%= host %><commit_msg>nagios: Move staging and prod hostgroups adjacent.<commit_after><% @hosts_fullstack.each do |host| -%>
define host{
       use              generic-host
       host_name        <%= host %>
       alias            <%= host %>
       address          <%= host %>
       hostgroups       all,non_aws_host,web,frontends,staging_frontends,not_pageable_servers,postgresql,postgresql_primary
       }
<% end -%>

<% @hosts_app_prod.each do |host| -%>
define host{
       use              generic-host
       host_name        <%= host %>
       alias            <%= host %>
       address          <%= host %>.<%= @default_host_domain %>
       hostgroups       all,aws_host,web,prod_frontends,pageable_servers
       }
<% end -%>

<% @hosts_app_staging.each do |host| -%>
define host{
       use              generic-host
       host_name        <%= host %>
       alias            <%= host %>
       address          <%= host %>.<%= @default_host_domain %>
       hostgroups       all,aws_host,web,staging_frontends,not_pageable_servers
       }
<% end -%>

<% @hosts_zmirror.each do |host| -%>
define host{
       use              generic-host
       host_name        <%= host %>
       alias            <%= host %>
       address          <%= host %>.<%= @default_host_domain %>
       hostgroups       all,non_aws_host,zmirror,zmirror_main,flaky_servers
       }
<% end -%>

<% @hosts_zmirrorp.each do |host| -%>
define host{
       use              generic-host
       host_name        <%= host %>
{'fraction_non_alphanumeric': 0.12732814087368777, 'fraction_numerical': 0.0, 'mean_word_length': 1.7250922509225093, 'pattern_counts': {'":': 0, '<': 53, '<?xml version=': 0, '>': 53, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '2493277', 'n_tokens_mistral': 987, 'n_tokens_neox': 910, 'n_words': 160}