SCOM 2019 - Agent Disappeared from Agent Managed

StonerK 46 Reputation points
2021-08-18T08:02:16.22+00:00

HI,

About a month ago, I have noticed that a windows server 2012 r2 Agent managed disappeared from Agent Managed list in Administration, however agent is still visible in Windows Computers (Monitoring) and Agent Health State (Monitoring). I have checked what discoveries are still associated with it and there are quite a number.

Agent was re installed however an error 20070 in event vwr is triggering.

I also read that database tweaks to remove stale objects are not supported.

Any ideas ?

System Center Operations Manager
System Center Operations Manager
A family of System Center products that provide infrastructure monitoring, help ensure the predictable performance and availability of vital applications, and offer comprehensive monitoring for datacenters and cloud, both private and public.
1,610 questions
{count} votes

4 answers

Sort by: Most helpful
  1. CyrAz 5,181 Reputation points
    2021-08-24T11:30:52.2+00:00

    Your issue is indeed weird, deleting an agent from "agent managed" should remove every other related object (sometime after a couple of days)... Something may have gone wrong at some point but I guess it's too late to have a look at your logs.

    Removing orphaned objects is indeed unsupported if not done under Microsoft's support guidance, so you could call them.

    Otherwise, if you finally decide to give it a try by yourself, this is the only recommended way : https://kevinholman.com/2018/05/03/deleting-and-purging-data-from-the-scom-database/

    1 person found this answer helpful.

  2. AlexZhu-MSFT 6,591 Reputation points Moderator
    2021-08-19T07:45:59.743+00:00

    Hi,

    Roger Xue has shared a full solution for error 20070, we may try to see if it helps.
    https://learn.microsoft.com/en-us/answers/questions/305205/scom-2019-agent-error-id-20070.html

    Alex
    If the response is helpful, please click "Accept Answer" and upvote it.


  3. StonerK 46 Reputation points
    2021-08-20T09:14:34.797+00:00

    Hi,

    My problem is not because it just lost connectivity to SCOM, but the agent actually disappeared from the Agent Managed section and still listed under windows computers as grey agents. I have also cleared the cache on all MS however the issue persisted.

    SCOM version is 2019
    Windows server which has the agent installed on is Windows Server 2012 R2

    Thanks
    Stoner

    0 comments No comments

  4. AlexZhu-MSFT 6,591 Reputation points Moderator
    2021-08-23T06:33:32.633+00:00

    Hi Stoner,

    Thank you very much for the clarification. In general, the server2012r2 agent has disappeared and now we have difficulties while re-installing it, either from the console or manually.

    During the agent installation, the log file Setup(x).log was written in the following location. Could you help to share the latest log file?
    C:\Users\<UserName>\Appdata\Local\SCOM\Logs.
    <UserName> – This is the name of the account you used to run the SCOM installation.

    In addition, even though we can telnet port 5723 (of Management Server) from the sever2012r2, it does not indicating the communication is smooth. For example, the network team changed the policy of the firewall (if there is a one between the agent and the Management Server) and some traffic were dropped. What is our environment? In the same subnet (without network device betwween) or in different subnets?

    Alex
    If the response is helpful, please click "Accept Answer" and upvote it.


Your answer

Answers can be marked as Accepted Answers by the question author, which helps users to know the answer solved the author's problem.