mirror of
https://github.com/zulip/zulip.git
synced 2025-11-05 14:35:27 +00:00
nagios: Add new host groups for Tornado processes.
We also move all the existing Tornado monitoring rules to the singletornado_frontends rule.
This commit is contained in:
@@ -35,6 +35,16 @@ define hostgroup {
|
||||
alias Production Frontend Web Servers
|
||||
}
|
||||
|
||||
define hostgroup {
|
||||
hostgroup_name multitornado_frontends
|
||||
alias Frontend Web Servers with multiple Tornado processes
|
||||
}
|
||||
|
||||
define hostgroup {
|
||||
hostgroup_name singletornado_frontends
|
||||
alias Frontend Web Servers with a single Tornado process
|
||||
}
|
||||
|
||||
define hostgroup {
|
||||
hostgroup_name redis
|
||||
alias Redis Servers
|
||||
|
||||
@@ -388,7 +388,7 @@ define service {
|
||||
# Workaround weird checks 40s after first error causing alerts
|
||||
# from a single failure because cron hasn't run again yet
|
||||
max_check_attempts 3
|
||||
hostgroup_name frontends
|
||||
hostgroup_name singletornado_frontends
|
||||
contact_groups page_admins
|
||||
}
|
||||
|
||||
@@ -399,7 +399,7 @@ define service {
|
||||
# Workaround weird checks 40s after first error causing alerts
|
||||
# from a single failure because cron hasn't run again yet
|
||||
max_check_attempts 3
|
||||
hostgroup_name frontends
|
||||
hostgroup_name singletornado_frontends
|
||||
contact_groups page_admins
|
||||
}
|
||||
|
||||
|
||||
@@ -14,7 +14,7 @@ define host{
|
||||
host_name <%= host %>
|
||||
alias <%= host %>
|
||||
address <%= host %>.<%= @hosts_domain %>
|
||||
hostgroups all,web,frontends,prod_frontends,pageable_servers
|
||||
hostgroups all,web,frontends,prod_frontends,singletornado_frontends,pageable_servers
|
||||
}
|
||||
<% end -%>
|
||||
|
||||
@@ -24,7 +24,7 @@ define host{
|
||||
host_name <%= host %>
|
||||
alias <%= host %>
|
||||
address <%= host %>
|
||||
hostgroups all,web,frontends,staging_frontends,not_pageable_servers,postgres,postgres_appdb_primary
|
||||
hostgroups all,web,frontends,staging_frontends,singletornado_frontends,not_pageable_servers,postgres,postgres_appdb_primary
|
||||
}
|
||||
<% end -%>
|
||||
|
||||
@@ -34,7 +34,7 @@ define host{
|
||||
host_name <%= host %>
|
||||
alias <%= host %>
|
||||
address <%= host %>.<%= @hosts_domain %>
|
||||
hostgroups all,web,frontends,staging_frontends,not_pageable_servers
|
||||
hostgroups all,web,frontends,staging_frontends,singletornado_frontends,not_pageable_servers
|
||||
}
|
||||
<% end -%>
|
||||
|
||||
|
||||
Reference in New Issue
Block a user