Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Message error when adding the metric replication_lag #1491

Open
Hindossa opened this issue Aug 26, 2024 · 4 comments
Open

Message error when adding the metric replication_lag #1491

Hindossa opened this issue Aug 26, 2024 · 4 comments

Comments

@Hindossa
Copy link

Hindossa commented Aug 26, 2024

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

@Hindossa
Copy link
Author

Hindossa commented Sep 10, 2024

Hello,

Could you help us to resolve this issue ?

Thank you.

Best Regards,

@Hindossa
Copy link
Author

Hello ,

Any suggestion to resolve this problem?

Thanks.

BR,

@Hindossa
Copy link
Author

Hindossa commented Oct 1, 2024

Hello,

Could you help us to resolve this issue please ?

Thank you.

BR,

@Hindossa
Copy link
Author

Hello,

Any help please ?

Best Regards,

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant