diff --git a/puppet/zulip_ops/manifests/profile/nagios.pp b/puppet/zulip_ops/manifests/profile/nagios.pp index 84a7fe7994..81389f9b5d 100644 --- a/puppet/zulip_ops/manifests/profile/nagios.pp +++ b/puppet/zulip_ops/manifests/profile/nagios.pp @@ -28,7 +28,6 @@ class zulip_ops::profile::nagios { $hosts_postgresql_primary = split(zulipconf('nagios', 'hosts_postgresql_primary', undef), ',') $hosts_postgresql_replica = split(zulipconf('nagios', 'hosts_postgresql_replica', undef), ',') $hosts_redis = split(zulipconf('nagios', 'hosts_redis', undef), ',') - $hosts_stats = split(zulipconf('nagios', 'hosts_stats', undef), ',') $hosts_fullstack = split(zulipconf('nagios', 'hosts_fullstack', undef), ',') $hosts_smokescreen = split(zulipconf('nagios', 'hosts_smokescreen', undef), ',') diff --git a/puppet/zulip_ops/templates/nagios4/hosts.cfg.template.erb b/puppet/zulip_ops/templates/nagios4/hosts.cfg.template.erb index 4daf9ef341..0d34a23623 100644 --- a/puppet/zulip_ops/templates/nagios4/hosts.cfg.template.erb +++ b/puppet/zulip_ops/templates/nagios4/hosts.cfg.template.erb @@ -68,16 +68,6 @@ define host{ } <% end -%> -<% @hosts_stats.each do |host| -%> -define host{ - use generic-host - host_name <%= host %> - alias <%= host %> - address <%= host %>.<%= @default_host_domain %> - hostgroups all,aws_host,not_pageable_servers - } -<% end -%> - <% @hosts_redis.each do |host| -%> define host{ use generic-host