diff --git a/puppet/zulip/files/nagios_plugins/zulip_postgres_appdb/check_fts_update_log b/puppet/zulip/files/nagios_plugins/zulip_postgres_appdb/check_fts_update_log index 70a0e3d261..205e239a67 100755 --- a/puppet/zulip/files/nagios_plugins/zulip_postgres_appdb/check_fts_update_log +++ b/puppet/zulip/files/nagios_plugins/zulip_postgres_appdb/check_fts_update_log @@ -25,7 +25,7 @@ def report(state, num): print("%s: %s rows in fts_update_log table" % (state, num)) exit(states[state]) -conn = psycopg2.connect("user=zulip") +conn = psycopg2.connect(database="zulip") cursor = conn.cursor() cursor.execute("SELECT count(*) FROM fts_update_log")