mirror of
https://github.com/zulip/zulip.git
synced 2025-11-04 05:53:43 +00:00
puppet: Specify hosts for the postgres autovac_freeze check via a hostgroup
(imported from commit d0afc1b78015740fa9638563a5672d3400dd5002)
This commit is contained in:
@@ -34,3 +34,8 @@ define hostgroup {
|
||||
hostgroup_name postgres
|
||||
alias PostgreSQL Servers
|
||||
}
|
||||
|
||||
define hostgroup {
|
||||
hostgroup_name postgres_primary
|
||||
alias PostgreSQL Servers
|
||||
}
|
||||
|
||||
@@ -75,7 +75,7 @@ define host{
|
||||
host_name postgres2
|
||||
alias postgres2
|
||||
address postgres2.zulip.net
|
||||
hostgroups all,postgres,pageable_servers
|
||||
hostgroups all,postgres,postgres_primary,pageable_servers
|
||||
}
|
||||
|
||||
define host{
|
||||
|
||||
@@ -113,7 +113,7 @@ define service {
|
||||
use generic-service
|
||||
service_description Check postgres autovac_freeze
|
||||
check_command check_postgres!22!autovac_freeze
|
||||
host postgres2
|
||||
hostgroup postgres_primary
|
||||
contact_groups admins
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user