Zulip server and web application. Open-source team chat that helps teams stay productive and focused.
puppet: Nagios connects as itself, in check_postgresql_replication_lag.
Alex Vandiver9d67e37166d5
diff --git a/puppet/zulip/files/nagios_plugins/zulip_postgresql/check_postgresql_replication_lag b/puppet/zulip/files/nagios_plugins/zulip_postgresql/check_postgresql_replication_lagindex 9c3c4dcbfcb..9517b64dc29 100755--- a/puppet/zulip/files/nagios_plugins/zulip_postgresql/check_postgresql_replication_lag+++ b/puppet/zulip/files/nagios_plugins/zulip_postgresql/check_postgresql_replication_lag@@ -39,8 +39,7 @@ def run_sql_query(query: str) -> List[List[str]]:"ON_ERROR_STOP=1","-d",get_config(config_file, "postgresql", "database_name", "zulip"),- "-u",- get_config(config_file, "postgresql", "database_user", "zulip"),+ # No -U; nagios connects as itself"-c",f"SELECT {query}",]