nagios: Move staging and prod hostgroups adjacent.

This commit is contained in:
Alex Vandiver
2022-06-13 16:11:57 -07:00
committed by Alex Vandiver
parent 4c17f2bccc
commit d804de871d

View File

@@ -1,13 +1,3 @@
<% @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
@@ -18,6 +8,16 @@ define host{
}
<% 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