Skip to content

Instantly share code, notes, and snippets.

@Curtmcgirt

Curtmcgirt/test.xml

Created Oct 29, 2019
Embed
What would you like to do?
<?xml version="1.0" encoding="utf-8"?><ManagementPack ContentReadable="true" SchemaVersion="2.0" OriginalSchemaVersion="1.0" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:xsl="http://www.w3.org/1999/XSL/Transform">
<Manifest>
<References>
<Reference Alias="Windows3">
<ID>Microsoft.Windows.Server.2003</ID>
<Version>6.0.6989.0</Version>
<PublicKeyToken>31bf3856ad364e35</PublicKeyToken>
</Reference>
</References>
</Manifest>
<Monitoring>
<Diagnostics>
<Diagnostic ID="MomUIGenaratedDiagnostic0e78f0b8fdf54aada55ad9371b0c6f77" Accessibility="Public" Enabled="true" Target="Windows1!Microsoft.Windows.Server.2003.OperatingSystem" Monitor="Windows1!Microsoft.Windows.Server.2003.OperatingSystem.PercentCommittedBytesInUse" ExecuteOnState="Error" Remotable="true" Timeout="300">
<Category>Custom</Category>
<ProbeAction ID="MomUIGenaratedModulede2b36a27bae400e85c8dcda9b830b96" TypeID="System!System.CommandExecuterProbe">
<ApplicationName>%systemroot%\System32\WindowsPowerShell\v1.0\powershell.exe</ApplicationName>
<WorkingDirectory>%systemroot%\System32\WindowsPowerShell\v1.0\</WorkingDirectory>
<CommandLine>"&amp;{get-process | sort WS -Descending| select processname,ws -first 10 | format-table -AutoSize}"</CommandLine>
<TimeoutSeconds>15</TimeoutSeconds>
<RequireOutput>true</RequireOutput>
</ProbeAction>
</Diagnostic>
</Diagnostics>
<Overrides>
<MonitorPropertyOverride ID="OverrideForMonitorSystemHealthPerformanceStateForContextMicrosoftWindowsServer2003NetworkAdapter610ba42873e24dccadeaf3b3785a4cec" Context="Windows1!Microsoft.Windows.Server.2003.NetworkAdapter" Enforced="false" Monitor="Health!System.Health.PerformanceState" Property="GenerateAlert">
<Value>true</Value>
</MonitorPropertyOverride>
<RulePropertyOverride ID="OverrideForRuleMicrosoftWindowsServer2003OperatingSystemTotalPercentInterruptTimeCollectionForContextMicrosoftWindowsOperatingSystem2475806529e640159546f89363a455f4" Context="Windows!Microsoft.Windows.OperatingSystem" ContextInstance="ff7b712c-effb-c16b-b653-1609a644c273" Enforced="false" Rule="Windows1!Microsoft.Windows.Server.2003.OperatingSystem.TotalPercentInterruptTime.Collection" Property="Enabled">
<Value>true</Value>
</RulePropertyOverride>
<DiscoveryPropertyOverride ID="OverrideForDiscoveryMicrosoftWindowsServer2003CPUDiscoveryForContextMicrosoftWindowsServer2003OperatingSystem9fe47147077e451b8cda4e581e78d726" Context="Windows1!Microsoft.Windows.Server.2003.OperatingSystem" Enforced="false" Discovery="Windows1!Microsoft.Windows.Server.2003.CPU.Discovery" Property="Enabled">
<Value>false</Value>
</DiscoveryPropertyOverride>
</Overrides>
</Monitoring>
</ManagementPack>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment