Best Practice: MP file sizes should not be too large

 

What does this best practice check for?

Once your management pack XML(s) are completed, the must be sealed and signed into .mp files to package ship to customers. As a best practice, no individual .mp file should be larger than 10 MB.

Why is it important to follow this best practice? What is the impact of not following this best practice?

Large .mp files mean that customers must deploy this large file to every agent in their management group, which can be a very performance intensive operation. Also, it should be noted that it is a CSS supportability criteria that any .mp file should be less than 10 MB.

How can I fix this in my MP?

If you are developing one large MP that contains all class definition, monitoring, views, reports, and covers all scenarios, consider breaking your MP up into separate files. For example, one approach would be to have separate files for discovery, basic monitoring scenarios, advanced monitoring scenarios, and reports.