“OpsMgr 2012 Self Maintenance Remove Disabled Discovery Objects Rule” executes “Remove-SCOMDisabledClassInstance” equivelent OpsMgr 2012 Cmdlet using SDK on a schedule
For more information: http://blogs.technet.com/b/jonathanalmquist/archive/2008/09/14/remove-disabledmonitoringobject.aspx
Target | Microsoft.SystemCenter.AllManagementServersPool |
Category | Operations |
Enabled | False |
Alert Generate | False |
Remotable | True |
ID | Module Type | TypeId | RunAs |
---|---|---|---|
DS | DataSource | OpsMgr.2012.Self.Maintenance.Remove.Disabled.Inventory.Objects.Timed.DataSource | Default |
WriteAction | WriteAction | OpsMgr.2012.Self.Maintenance.Remove.Disabled.Discovery.Inventory.Write.Action | Default |
<Rule ID="OpsMgr.2012.Self.Maintenance.Remove.Disabled.Discovery.Objects.Rule" Enabled="false" Target="SC!Microsoft.SystemCenter.AllManagementServersPool" ConfirmDelivery="true" Remotable="true" Priority="Normal" DiscardLevel="100">
<Category>Operations</Category>
<DataSources>
<DataSource ID="DS" TypeID="OpsMgr.2012.Self.Maintenance.Remove.Disabled.Inventory.Objects.Timed.DataSource">
<IntervalHours>24</IntervalHours>
<SyncTime>23:45</SyncTime>
</DataSource>
</DataSources>
<WriteActions>
<WriteAction ID="WriteAction" TypeID="OpsMgr.2012.Self.Maintenance.Remove.Disabled.Discovery.Inventory.Write.Action">
<TimeoutSeconds>3600</TimeoutSeconds>
</WriteAction>
</WriteActions>
</Rule>