Monitoring windows 2008 R2 print server with Microsoft print server management Pack

Facebooktwitterredditpinterestlinkedinmail

As you probably noticed, the print server management pack covers windows 2003 – 2008 print servers but not 2008 R2. why is that ? because Microsoft has changed the print server role name in that version, so.. how you going to deal with that ?

Take the Microsoft.Windows.Server.PrintServer.2008.mp file. Convert it to XML with MpToXml.ps1.

Open it with Authoring Console.

Go to Health Model -> Discoveries -> Microsoft.Windows.Server.2008.PrintServerRole.Discovery -> Configuration -> then edit the query…

As you can see.. in Windows 2008 the query “SELECT Name FROM Win32_ServerFeature WHERE Name = “Print Services” ” is the query which discover the print role on the server.

In windows 2008 r2 it has to be : SELECT Name FROM Win32_ServerFeature WHERE Name = “Print Services” OR Name = “Print and Document Services”

Because Microsoft has changed the name of the role to Print and Document Services, so as you can guess … you will have to replace the exists query with our new one.

After doin’ that, save the xml and move it to the SCOM server.

Delete the management pack called : “Windows Server Print Server 2008 Management Pack”  and then import our new XML.

Give it few minutes and.. walla.. out new 2008 r2 print server is listed under the Microsoft Windows Server 2008 Print Services in the Management Pack

2 thoughts on “Monitoring windows 2008 R2 print server with Microsoft print server management Pack

Leave a Reply

Your email address will not be published. Required fields are marked *