mirror of https://github.com/zulip/zulip.git
nagios: The frontends hostgroup now includes prod and staging frontends.
This lets the config file remove some repetition.
This commit is contained in:
parent
1e81775fa0
commit
4c17f2bccc
|
@ -37,6 +37,7 @@ define hostgroup {
|
|||
define hostgroup {
|
||||
hostgroup_name frontends
|
||||
alias Frontend web servers
|
||||
hostgroup_members staging_frontends, prod_frontends
|
||||
}
|
||||
|
||||
define hostgroup {
|
||||
|
|
|
@ -4,7 +4,7 @@ define host{
|
|||
host_name <%= host %>
|
||||
alias <%= host %>
|
||||
address <%= host %>.<%= @default_host_domain %>
|
||||
hostgroups all,aws_host,web,frontends,prod_frontends,pageable_servers
|
||||
hostgroups all,aws_host,web,prod_frontends,pageable_servers
|
||||
}
|
||||
<% end -%>
|
||||
|
||||
|
@ -24,7 +24,7 @@ define host{
|
|||
host_name <%= host %>
|
||||
alias <%= host %>
|
||||
address <%= host %>.<%= @default_host_domain %>
|
||||
hostgroups all,aws_host,web,frontends,staging_frontends,not_pageable_servers
|
||||
hostgroups all,aws_host,web,staging_frontends,not_pageable_servers
|
||||
}
|
||||
<% end -%>
|
||||
|
||||
|
|
Loading…
Reference in New Issue