mirror of https://github.com/zulip/zulip.git
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:
parent
5f3b79c9e7
commit
5abf4dee92
|
@ -35,6 +35,16 @@ define hostgroup {
|
||||||
alias Production Frontend Web Servers
|
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 {
|
define hostgroup {
|
||||||
hostgroup_name redis
|
hostgroup_name redis
|
||||||
alias Redis Servers
|
alias Redis Servers
|
||||||
|
|
|
@ -388,7 +388,7 @@ define service {
|
||||||
# Workaround weird checks 40s after first error causing alerts
|
# Workaround weird checks 40s after first error causing alerts
|
||||||
# from a single failure because cron hasn't run again yet
|
# from a single failure because cron hasn't run again yet
|
||||||
max_check_attempts 3
|
max_check_attempts 3
|
||||||
hostgroup_name frontends
|
hostgroup_name singletornado_frontends
|
||||||
contact_groups page_admins
|
contact_groups page_admins
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -399,7 +399,7 @@ define service {
|
||||||
# Workaround weird checks 40s after first error causing alerts
|
# Workaround weird checks 40s after first error causing alerts
|
||||||
# from a single failure because cron hasn't run again yet
|
# from a single failure because cron hasn't run again yet
|
||||||
max_check_attempts 3
|
max_check_attempts 3
|
||||||
hostgroup_name frontends
|
hostgroup_name singletornado_frontends
|
||||||
contact_groups page_admins
|
contact_groups page_admins
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
@ -14,7 +14,7 @@ define host{
|
||||||
host_name <%= host %>
|
host_name <%= host %>
|
||||||
alias <%= host %>
|
alias <%= host %>
|
||||||
address <%= host %>.<%= @hosts_domain %>
|
address <%= host %>.<%= @hosts_domain %>
|
||||||
hostgroups all,web,frontends,prod_frontends,pageable_servers
|
hostgroups all,web,frontends,prod_frontends,singletornado_frontends,pageable_servers
|
||||||
}
|
}
|
||||||
<% end -%>
|
<% end -%>
|
||||||
|
|
||||||
|
@ -24,7 +24,7 @@ define host{
|
||||||
host_name <%= host %>
|
host_name <%= host %>
|
||||||
alias <%= host %>
|
alias <%= host %>
|
||||||
address <%= 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 -%>
|
<% end -%>
|
||||||
|
|
||||||
|
@ -34,7 +34,7 @@ define host{
|
||||||
host_name <%= host %>
|
host_name <%= host %>
|
||||||
alias <%= host %>
|
alias <%= host %>
|
||||||
address <%= host %>.<%= @hosts_domain %>
|
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 -%>
|
<% end -%>
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue