Skip to content

armgit / zulip

Public Imported from GitHub
0

Zulip server and web application. Open-source team chat that helps teams stay productive and focused.

nagios: The frontends hostgroup now includes prod and staging frontends.

Alex Vandiver4c17f2bccce1
diff --git a/puppet/zulip_ops/files/nagios4/conf.d/hostgroups.cfg b/puppet/zulip_ops/files/nagios4/conf.d/hostgroups.cfg
index ddf63364df4..e8bf9453518 100644
--- a/puppet/zulip_ops/files/nagios4/conf.d/hostgroups.cfg
+++ b/puppet/zulip_ops/files/nagios4/conf.d/hostgroups.cfg
@@ -37,6 +37,7 @@ define hostgroup {
define hostgroup {
hostgroup_name frontends
alias Frontend web servers
+ hostgroup_members staging_frontends, prod_frontends
}
define hostgroup {
diff --git a/puppet/zulip_ops/templates/nagios4/hosts.cfg.template.erb b/puppet/zulip_ops/templates/nagios4/hosts.cfg.template.erb
index 0d34a23623a..c761a8513c9 100644
--- a/puppet/zulip_ops/templates/nagios4/hosts.cfg.template.erb
+++ b/puppet/zulip_ops/templates/nagios4/hosts.cfg.template.erb
@@ -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 -%>