Hello,
Suddenly I am unable to add new agents to the SCOM 2016 environment. They are installed correctly, but appear as not monitored in the console.

On the agents I get the following events:
20070
20071
21016 (less frequently)
On the SCOM server I get events 20000.
The agent control panel shows FQDN of management server and port 5723, which is opened. Also there are no certificates in the environment.
I searched for the issue and ended up removing all objects in maintenances state.
This seems to have started happening since I added a new SQL cluster, but it may be a coincidence. I added the first two nodes just fine, but I added a third one a few weeks later (which is a reinstall of a node from another cluster, preserving the server name), was the first client/agent I found to fail. Also the instances of this cluster are detected from the proxy node, but not also appear as not monitored.
The agents are added from the SCOM console, but if I install manually and then approve it from the console, the situation is exactly the same.
This is the line of events in a completely newly installed agent in a new server

Any advice?







