nagios: Remove unnecessary `web` hostgroup.

This had identical membership to `frontends`.
This commit is contained in:
Alex Vandiver 2022-06-13 16:30:07 -07:00 committed by Alex Vandiver
parent 4be9025212
commit b5ecfc327f
3 changed files with 11 additions and 19 deletions

View File

@ -29,11 +29,6 @@ define hostgroup {
alias Servers for whom we do not page, and have flakier net alias Servers for whom we do not page, and have flakier net
} }
define hostgroup {
hostgroup_name web
alias Web servers
}
define hostgroup { define hostgroup {
hostgroup_name frontends hostgroup_name frontends
alias Frontend web servers alias Frontend web servers

View File

@ -136,17 +136,6 @@ define service {
### Service groups ### Service groups
#### Web
define service {
use generic-service
service_description HTTPS
hostgroup_name web
check_command check_https_status
contact_groups page_admins
}
#### zmirror / zmirrorp #### zmirror / zmirrorp
define service { define service {
@ -184,6 +173,14 @@ define service {
#### Application frontends #### Application frontends
define service {
use generic-service
service_description HTTPS
hostgroup_name frontends
check_command check_https_status
contact_groups page_admins
}
define service { define service {
use generic-service use generic-service
service_description Check send receive time service_description Check send receive time

View File

@ -4,7 +4,7 @@ define host{
host_name <%= host %> host_name <%= host %>
alias <%= host %> alias <%= host %>
address <%= host %> address <%= host %>
hostgroups all,non_aws_host,web,frontends,not_pageable_servers,postgresql_primary hostgroups all,non_aws_host,frontends,not_pageable_servers,postgresql_primary
} }
<% end -%> <% end -%>
@ -14,7 +14,7 @@ define host{
host_name <%= host %> host_name <%= host %>
alias <%= host %> alias <%= host %>
address <%= host %>.<%= @default_host_domain %> address <%= host %>.<%= @default_host_domain %>
hostgroups all,aws_host,web,prod_frontends,pageable_servers hostgroups all,aws_host,prod_frontends,pageable_servers
} }
<% end -%> <% end -%>
@ -24,7 +24,7 @@ define host{
host_name <%= host %> host_name <%= host %>
alias <%= host %> alias <%= host %>
address <%= host %>.<%= @default_host_domain %> address <%= host %>.<%= @default_host_domain %>
hostgroups all,aws_host,web,staging_frontends,not_pageable_servers hostgroups all,aws_host,staging_frontends,not_pageable_servers
} }
<% end -%> <% end -%>