Isssue with SCOM Agent installation

Bhushan, Ravi [GTSUS NON-J&J] 41 Reputation points
2022-11-14T11:37:49.223+00:00

There are some windows 2019 OS servers which are having issue with the scom agent installation. All the prerequisite are in place. Ports are open. No issue with firewall as well as it has been validated by the firewall team. Agent is getting discovered successfully but they are showing in pending management. We are getting attached error when checking the event log. We have also tried uninstalling and installing but still issue remains the same.

260097-image.png

260066-image.png

Operations Manager
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,493 questions
0 comments No comments
{count} votes

Accepted answer
  1. Andrew Tabar 171 Reputation points
    2022-11-14T18:39:44.59+00:00

    Looks like a firewall issue. Telnet to the management server TCP port 5723 (or gateway) from the agent computer. You should get a connection immediately. If it lags, you have a firewall issue.


1 additional answer

Sort by: Most helpful
  1. SChalakov 10,391 Reputation points MVP
    2022-11-14T18:08:19.587+00:00

    Hi Ravi (@Bhushan, Ravi [GTSUS NON-J&J] ),

    Can you please provide some more detials on:

    • Are the agents in the same domain as SCOM?
    • You mention " but they are showing in pending management".. Are the errors from the screenshot before or after Accepting the agent under Pending Management?
    • Are there any specifics with DNS on those agents?
    • What is the agent version you are installing? Did you try installing also the latets UR for the agent?

    Can you please create an agent trace, restart the agent and stop the trace:

    from:
    How to Debug SCOM agent
    https://jurelab.wordpress.com/2014/09/25/how-to-debug-scom-agent/

    1. Open CMD in elevated mode (run as administrator)
    2. type in: cd “C:\Program Files\Microsoft Monitoring Agent\Agent\Tools”
    3. Run stoptracing.cmd
    4. Delete or move all files in: c:\windows\logs\opsmgrtrace
    5. Then Run: starttracing.cmd VER
    6. Wait for the problem to occur or if possible trigger it
    7. Once problem is observed run: stoptracing.cmd
    8. Then run: formattracing.cmd
    9. Copy log files to your computer

    What do you see in ther traces? Can you post some of the errors here?

    Regards,
    Stoyan

    1 person found this answer helpful.
    0 comments No comments

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.