Zulip server and web application. Open-source team chat that helps teams stay productive and focused.
puppet: Rename to check_postgresql_replication_lag.
Alex Vandivereaa99359b13b
diff --git a/docs/production/troubleshooting.md b/docs/production/troubleshooting.mdindex 17a1d9160cc..bccdb5222e1 100644--- a/docs/production/troubleshooting.md+++ b/docs/production/troubleshooting.md@@ -246,7 +246,7 @@ Database monitoring:being processed properly or getting backlogged.* `check_postgres`: General checks for database health.* `check_postgresql_backup`: Checks status of Postgres backups.-* `check_postgres_replication_lag`: Checks whether Postgres streaming+* `check_postgresql_replication_lag`: Checks whether Postgres streamingreplication is up to date.Standard server monitoring:diff --git a/puppet/zulip/files/nagios_plugins/zulip_postgresql/check_postgres_replication_lag b/puppet/zulip/files/nagios_plugins/zulip_postgresql/check_postgresql_replication_lagsimilarity index 100%rename from puppet/zulip/files/nagios_plugins/zulip_postgresql/check_postgres_replication_lagrename to puppet/zulip/files/nagios_plugins/zulip_postgresql/check_postgresql_replication_lagdiff --git a/puppet/zulip_ops/files/nagios3/commands.cfg b/puppet/zulip_ops/files/nagios3/commands.cfgindex fb0e8464a0c..e97ca5d0992 100644--- a/puppet/zulip_ops/files/nagios3/commands.cfg+++ b/puppet/zulip_ops/files/nagios3/commands.cfg@@ -157,8 +157,8 @@ define command {}define command {- command_name check_postgres_replication_lag- command_line /usr/lib/nagios/plugins/check_by_ssh -l nagios -t 30 -i /var/lib/nagios/.ssh/id_ed25519 -H $HOSTADDRESS$ -C '/usr/lib/nagios/plugins/zulip_postgresql/check_postgres_replication_lag'+ command_name check_postgresql_replication_lag+ command_line /usr/lib/nagios/plugins/check_by_ssh -l nagios -t 30 -i /var/lib/nagios/.ssh/id_ed25519 -H $HOSTADDRESS$ -C '/usr/lib/nagios/plugins/zulip_postgresql/check_postgresql_replication_lag'}define command {diff --git a/puppet/zulip_ops/files/nagios3/conf.d/services.cfg b/puppet/zulip_ops/files/nagios3/conf.d/services.cfgindex 770243664fe..2fdca6f1493 100644--- a/puppet/zulip_ops/files/nagios3/conf.d/services.cfg+++ b/puppet/zulip_ops/files/nagios3/conf.d/services.cfg@@ -253,7 +253,7 @@ define service {define service{use generic-serviceservice_description Check Postgres replication lag- check_command check_postgres_replication_lag+ check_command check_postgresql_replication_laghostgroup postgresqlcontact_groups admins}