Grafana pdc (Private Datasource Connect) agent loses connection to Grafana Cloud after 1-3 days.
I am running the Grafana pdc agent as a service using nssm on a windows server 2019.
After 1-3 days (Usually at some point every night) the agent is simply not connected to grafana cloud anymore.
The agent logs to a text file, but the only logs i get are the normal “new certificate required: certificate is about to expire” which is followed by “generating new certificate”.
This even happens after Grafana Cloud no longer has connection to the agent.
The only thing i could think of, is that the openssh version on the server is “7.7p1” but the version that is mentioned in the pdc docs is “9.2”.
I am reluctant to upgrade the openssh version of the server, however if someone knows that this is the issue, i guess i will have upgrade it.
Any suggestions on how to figure out what is going on is appreciated.
EDIT:
In the Grafana Cloud pdc tab it says “0 agents connected”. I just don’t understand, why the agent has no indication of this in the logs, and just keeps renewing its certificate anyways.
In the dashboards, the error is just not being able to connect to server, which makes sense since it seems like the pdc agent has no connection to grafana cloud.