SCOM Agent Version Addendum Management Pack


 

image

 

One of the pain points in SCOM is keeping your agents up to date with your current UR level.

What makes this worse, is the view in the SCOM Console for “Agent Managed” where you could actually fix agents with a “repair” does NOT show you the UR level of the agent.

That has changed with this MP.

This management pack sample will disable the built in discovery for “Microsoft.SystemCenter.DiscoverHealthServiceProperties” which has a display name of “Discover Health Service Properties”

It will replace it with a new discovery that attempts to get the Agent Version from a file, that gets updated with every agent update.

 

***Note:  This discovery requires PowerShell on the agents in order to work.  If you still have old Windows Server 2003 or 2008 agents and have not installed PowerShell, it will simply not return updated version data for those.  This is not a concern for SCOM 2016, since all SCOM 2016 agents require PowerShell as a minimum requirement.  However, for SCOM 2012 R2 it is possible to have agents without PowerShell.  Those will simply retain their previous

In SCOM 2016, it will change this:

 

image

 

to this:

image

 

Now, you can sort by this column, and if you find agents that are not up to date, simply multi-select the agents you want to fix, and run a “Repair” against them:

 

image

 

If you multi-select, you just need to ensure all agents you are selecting report to the same Management Server, and have “Remotely Manageable” set to Yes.  If you want to change manually installed agents back to Remotely Manageable – see:  https://blogs.technet.microsoft.com/kevinholman/2010/02/20/how-to-get-your-agents-back-to-remotely-manageable-in-opsmgr-2007-r2/

 

This works in SCOM 2012 as well, with the caveat posted above about PowerShell:

 

image

 

 

You can download this addendum MP here:

https://gallery.technet.microsoft.com/SCOM-Agent-Version-b0bbdfb3


Comments (14)

  1. Thank you Kevin… much needed

  2. Michael says:

    Great Work Kevin!
    What is missing for me is an exact up-to-date SCOM Server / Agent Version Overview from MS 🙁

    1. Kevin Holman says:

      Hmmm, I can write that.

      1. Michael says:

        Would be great!

  3. Thanks Kevin!
    Many customer’s pains, resolved in one shot 🙂

  4. Igor Kuznecov says:

    I wonder why M$ cant fix it for years?

  5. ForMUKESH says:

    It’s a much awaited things that we are waiting to get this. Thanks for the new MAP.

  6. Rajkumar says:

    Thank You Kevin….

  7. Jonh B says:

    Thanks for this post, after install MP i can see the version changed but for the patch list in “Agent by version” view its blank ! normal ?

  8. Gene Lindsay says:

    I just did my upgrade and the “Agent by Version” view is not updated.

    1. Kevin Holman says:

      What part? Can you be more descriptive?

  9. Kev Bowker says:

    My agents haven’t updated in the view. Is this normal?

    I’ve added the MP you specified and they are still showing 8.0.10918.0. Any ideas?

    Thanks.

    1. Kevin Holman says:

      No – that’s not normal. Have you updated the agents? Did you manually inspect the version of the file?

      This is updated via config update. If your config service is broken – you wont get updates. Look at the event logs on the SCOM management servers.

Skip to main content