Converting MOM 2005 Management Pack AKM Files To XML Files

 

The MOM 2005 Resource Kit (MOM2005ResKit.Msi) includes a command line utility in the Tools directory in a folder called “Convert Management Packs to XML” that will allow you to convert MOM Management Pack Binaries (AKM files) to XML format.

 

The Utility (Mp2Xml.Exe) only has two arguments ‘Input’ and ‘Output’ and is quite easy to use. However you must be aware that the default MicrosoftOperationsManager2005.Akm files which is originally 336 KB when converted to XML format will balloon into a whopping 1,826 KB XML file.

 

To convert your Management Pack Binaries to XML files use the following syntax:

 

Mp2Xml.Exe File_Name.Akm File_Name.Xml

 

For example create a batch file (Unless you like typing into a command prompt window) in the “Convert Management Packs to XML” directory folder with the following ConvertToXml.Bat Contents syntax and execute it:

 

ConvertToXml.Bat Contents

 

Mp2Xml.Exe "C:\Program Files\Microsoft Operations Manager 2005\Management Packs\MicrosoftOperationsManager2005.akm" "C:\Program Files\Microsoft Operations Manager 2005\Management Packs\MicrosoftOperationsManager2005.Xml"

 

When executed this particular batch file will take the MicrosoftOperationsManager2005.Akm file and convert in into a file called MicrosoftOperationsManager2005.Xml.

 

Published Saturday, March 24, 2007 10:33 AM by dhite
Filed under:

Comments

No Comments