Closed ssbarnea closed 10 years ago
Hi @ssbarnea . Thanks for your feeback! Closing that issue as it's the expected behavior. Sometimes the connection to the database will fail but the agent should try to reset the connection if that's the case so monitoring will still work.
Please contact our support team if you have more issues.
I think that you didn't understand the problem: The log is full of these and I am sure that the postgresql server is not dropping connections as is a critical service and this would impact other services. It seems that something weird is happening with dd-agent that is causing these errors into the logs.
/sorin
On 29 Sep 2014, at 17:09, Remi Hakim notifications@github.com wrote:
Hi @ssbarnea . Thanks for your feeback! Closing that issue as it's the expected behavior. Sometimes the connection to the database will fail but the agent should try to reset the connection if that's the case so monitoring will still work.
Please contact our support team if you have more issues.
— Reply to this email directly or view it on GitHub.
Sorry I typed my answer too quickly the other day. This is a duplicate of that issue: https://github.com/DataDog/dd-agent/issues/1003 which will be fixed with agent 5.1.0.
I discovered that if I restart postgresql dd-agent is not able to restore the connection to the database, ending up with errors like:
Update: it seems that these errors do appear on normal execution, quite often even without restarting the database engine:
You may assume that postgresql monitoring doesn't work at all due to this, but it seems that it works, while still showing these inside the logs.