Management pack structure

Use this as a reference when building management packs to get naming correct.

Management packs

Vendor.Product.Sub-product.Monitoring/Views

Note: Product and Sub-product may not be used if it's not appropriate.

Example:

  • Microsoft.Intune.ConfigurationManager.Monitoring.
  • Microsoft.ActiveDirectory.Monitoring.
  • Citrix.Monitoring.

Elements

Vendor.Product.Sub-product.Class/Group/Discovery/Rule/Monitor/Diagnostic/Recovery.ShortDescription

Note: Product and Sub-product may not be used if it's not appropriate.

Example:

  • Microsoft.Intune.ConfigurationManager.Class.ServerSeed.
  • Citrix.Monitor.BrokerService.
  • Certificate.Monitor.CheckExpiry.
  • VMware.CarbonBlack.Group.Agents

Management pack elements

Good link that explains elements and naming convention here.

Make sure you get these elements in the right order or the the mp won't import.

<ManagementPack>
<Manifest/>
<TypeDefinitions>
<EntityTypes>…</EntityTypes>
<DataTypes>…</DataTypes>
<SchemaTypes>…</SchemaTypes>
<SecureReferences>…</SecureReferences>
<ModuleTypes>…</ModuleTypes>
<MonitorTypes>…</MonitorTypes>
</TypeDefinitions>
<Monitoring>
<Discoveries>…</Discoveries>
<Rules>…</Rules>
<Tasks>…</Tasks>
<Monitors>…</Monitors>
<Diagnostics>…</Diagnostics>
<Recoveries>…</Recoveries>
<Overrides>…</Overrides>
<ServiceLevelObjectives>…</ServiceLevelObjectives>
</Monitoring>
<Templates/>
<PresentationTypes/>
<Presentation/>
<Reporting/>
<LanguagePacks/>
</ManagementPack>

What are the valid categories for rules/monitors/tasks?

These go in the <Category></Category> element of rules, monitors and tasks.

  • Alert
  • AvailabilityHealth
  • ConfigurationHealth
  • ConnectorFramework
  • Custom
  • Discovery
  • DSIntegration
  • EventCollection
  • ExceptionMonitoring
  • Maintenance
  • None
  • Notification
  • Operations
  • PerformanceCollection
  • PerformanceHealth
  • SecurityHealth
  • SoftwareAndUpdates
  • StateCollection
  • System

Refer to this MS article for more.

Unit Monitor alert settings

<AlertSettings AlertMessage=””>
<AlertOnState>Warning/Error</AlertOnState>
<AutoResolve>True/False</AutoResolve>
<AlertPriority>Low/Normal/High</AlertPriority>
<AlertSeverity>Error/Information/MatchMonitorHealth/Warning</AlertSeverity>
<AlertParameters>…</AlertParameters>
</AlertSettings>

Comments