Zulip server and web application. Open-source team chat that helps teams stay productive and focused.
puppet: Update nagios check_postgres_replication_lag to be on DB hosts
Alex Vandiver31d80a77d45c
diff --git a/puppet/zulip/files/nagios_plugins/zulip_nagios_server/check_postgres_replication_lag b/puppet/zulip/files/nagios_plugins/zulip_postgres_appdb/check_postgres_replication_lagsimilarity index 100%rename from puppet/zulip/files/nagios_plugins/zulip_nagios_server/check_postgres_replication_lagrename to puppet/zulip/files/nagios_plugins/zulip_postgres_appdb/check_postgres_replication_lagdiff --git a/puppet/zulip_ops/files/nagios3/commands.cfg b/puppet/zulip_ops/files/nagios3/commands.cfgindex b39a14a4e3e..2cfdd434d1b 100644--- a/puppet/zulip_ops/files/nagios3/commands.cfg+++ b/puppet/zulip_ops/files/nagios3/commands.cfg@@ -158,7 +158,7 @@ define command {define command {command_name check_postgres_replication_lag- command_line /usr/lib/nagios/plugins/zulip_nagios_server/check_postgres_replication_lag+ command_line /usr/lib/nagios/plugins/check_by_ssh -l nagios -t 30 -i /var/lib/nagios/.ssh/id_rsa -H $HOSTADDRESS$ -C '/usr/lib/nagios/plugins/zulip_postgres_appdb/check_postgres_replication_lag'}define command {