You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
We have an error message after adding the metric replication_lag in temboard-agent.conf. The agent try to connect to the primary server using the default port 5432.However , the port of the database is 9418 and it's correctly configured in temboard-agent.conf and postgresql.conf.
temboard-agent[11837]: Is the server running on that host and accepting TCP/IP connections?
temboard-agent[11837]: Traceback (most recent call last):
temboard-agent[11837]: File "/usr/lib/python3.6/site-packages/temboardagent/plugins/monitoring/probes.py", line 737, in run
temboard-agent[11837]: dsn, connection_factory=PhysicalReplicationConnection
temboard-agent[11837]: File "/usr/lib64/python3.6/site-packages/psycopg2/init.py", line 130, in connect
temboard-agent[11837]: conn = _connect(dsn, connection_factory=connection_factory, **kwasync)
temboard-agent[11837]: File "/usr/lib64/python3.6/site-packages/psycopg2/extras.py", line 501, in init
temboard-agent[11837]: super(PhysicalReplicationConnection, self).init(*args, **kwargs)
temboard-agent[11837]: psycopg2.OperationalError: connection to server at "test-x1" (10.118.162.120), port 5432 failed: Connection refused
temboard-agent[11837]: Is the server running on that host and accepting TCP/IP connections?
The replication tool used is repmgr .
Could you help us to resolve this issue?
Thank you.
Best Regards
The text was updated successfully, but these errors were encountered:
Hello,
We have an error message after adding the metric replication_lag in temboard-agent.conf. The agent try to connect to the primary server using the default port 5432.However , the port of the database is 9418 and it's correctly configured in temboard-agent.conf and postgresql.conf.
temboard-agent[11837]: Is the server running on that host and accepting TCP/IP connections?
temboard-agent[11837]: Traceback (most recent call last):
temboard-agent[11837]: File "/usr/lib/python3.6/site-packages/temboardagent/plugins/monitoring/probes.py", line 737, in run
temboard-agent[11837]: dsn, connection_factory=PhysicalReplicationConnection
temboard-agent[11837]: File "/usr/lib64/python3.6/site-packages/psycopg2/init.py", line 130, in connect
temboard-agent[11837]: conn = _connect(dsn, connection_factory=connection_factory, **kwasync)
temboard-agent[11837]: File "/usr/lib64/python3.6/site-packages/psycopg2/extras.py", line 501, in init
temboard-agent[11837]: super(PhysicalReplicationConnection, self).init(*args, **kwargs)
temboard-agent[11837]: psycopg2.OperationalError: connection to server at "test-x1" (10.118.162.120), port 5432 failed: Connection refused
temboard-agent[11837]: Is the server running on that host and accepting TCP/IP connections?
The replication tool used is repmgr .
Could you help us to resolve this issue?
Thank you.
Best Regards
The text was updated successfully, but these errors were encountered: