mirror of
https://github.com/zulip/zulip.git
synced 2025-11-01 04:23:46 +00:00
nagios: Move staging and prod hostgroups adjacent.
This commit is contained in:
committed by
Alex Vandiver
parent
4c17f2bccc
commit
d804de871d
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user