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: Add a `fullstack` hostgroup.

Alex Vandiver2a14aa5180e1
diff --git a/puppet/zulip_ops/files/nagios4/conf.d/hostgroups.cfg b/puppet/zulip_ops/files/nagios4/conf.d/hostgroups.cfg
index 625793ce31d..bea3731813f 100644
--- a/puppet/zulip_ops/files/nagios4/conf.d/hostgroups.cfg
+++ b/puppet/zulip_ops/files/nagios4/conf.d/hostgroups.cfg
@@ -29,6 +29,11 @@ define hostgroup {
alias Servers for whom we do not page, and have flakier net
}
+define hostgroup {
+ hostgroup_name fullstack
+ alias Fullstack hosts
+}
+
define hostgroup {
hostgroup_name frontends
alias Frontend web servers
diff --git a/puppet/zulip_ops/templates/nagios4/hosts.cfg.template.erb b/puppet/zulip_ops/templates/nagios4/hosts.cfg.template.erb
index 1e5f3a1e1b6..54c37f80da9 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 %>
- hostgroups all,non_aws_host,frontends,not_pageable_servers,postgresql_primary
+ hostgroups all,fullstack,non_aws_host,frontends,not_pageable_servers,postgresql_primary
}
<% end -%>