Files
zulip/puppet/zulip_ops/files/nagios4/conf.d/hostgroups.cfg
Alex Vandiver 499284d2fd nagios: Split postgresql into primary and replica.
Replication checks should only run on primary and replicas, not
standalone hosts; while `autovac_freeze` currently only runs on
primary hosts, it functions identically on replicas, and is fine to
run there.

Make `autovac_freeze` run on all `postgresql` hosts, and make
standalone hosts no longer `postgres_primary`, so they do not fail the
replication tests.
2022-06-22 12:07:38 -07:00

93 lines
2.4 KiB
INI

define hostgroup {
hostgroup_name all
alias All servers
members *
}
define hostgroup {
hostgroup_name aws_host
alias Hosts in AWS
}
define hostgroup {
hostgroup_name non_aws_host
alias Hosts not in AWS
}
define hostgroup {
hostgroup_name pageable_servers
alias Servers for whom we want to page
}
define hostgroup {
hostgroup_name not_pageable_servers
alias Servers for whom we do not want to page
}
define hostgroup {
hostgroup_name flaky_servers
alias Servers for whom we do not page, and have flakier net
}
define hostgroup {
hostgroup_name fullstack
alias Fullstack hosts
}
define hostgroup {
hostgroup_name frontends
alias Frontend web servers
hostgroup_members staging_frontends, prod_frontends
}
define hostgroup {
hostgroup_name staging_frontends
alias Staging frontend web servers
}
define hostgroup {
hostgroup_name prod_frontends
alias Production frontend web servers
}
define hostgroup {
hostgroup_name redis
alias Redis servers
}
define hostgroup {
hostgroup_name zmirrorp
alias Zephyr mirror personals servers
}
define hostgroup {
hostgroup_name zmirror
alias Zephyr mirror classes servers
}
define hostgroup {
hostgroup_name postgresql
alias PostgreSQL app servers
hostgroup_members postgresql_primary, postgresql_replica
}
define hostgroup {
hostgroup_name postgresql_primary
alias Primary PostgreSQL app servers
}
define hostgroup {
hostgroup_name postgresql_replica
alias Replica PostgreSQL servers
}
define hostgroup {
hostgroup_name smokescreen
alias Servers that run the Smokescreen HTTP proxy
}
define hostgroup {
hostgroup_name other
alias Other servers
}