Usługa MSMQ: Całkowita liczba bajtów we wszystkich kolejkach

Microsoft.MSMQ.10.0.Monitor.TotalBytes (UnitMonitor)

Służy do monitorowania licznika „Całkowita liczba bajtów we wszystkich kolejkach” oraz wyświetlania alertów, jeśli wartość jest większa niż wartość progu.

Knowledge Base article:

Podsumowanie

We wszystkich kolejkach znajduje się większa niż zwykle ilość danych

Przyczyny

Wystąpiło nagłe zwiększenie liczby komunikatów lub komunikaty są większe niż zwykle.

Rozwiązania

Określ, czy nastąpiło zwiększenie rozmiaru, częstotliwości komunikatów lub obydwu tych parametrów oraz zbadaj przyczynę tych zmian.

Element properties:

TargetMicrosoft.MSMQ.10.0.Servers
Parent MonitorSystem.Health.PerformanceState
CategoryCustom
EnabledTrue
Instance NameMSMQ Service
Counter NameTotal bytes in all queues
Frequency900
Alert GenerateTrue
Alert SeverityError
Alert PriorityNormal
Alert Auto ResolveTrue
Monitor TypeSystem.Performance.ConsecutiveSamplesThreshold
RemotableTrue
AccessibilityPublic
Alert Message
Całkowita liczba bajtów
Więcej informacji zawiera kontekst alertu.
RunAsDefault

Source Code:

<UnitMonitor ID="Microsoft.MSMQ.10.0.Monitor.TotalBytes" Accessibility="Public" Enabled="true" Target="Microsoft.MSMQ.10.0.Servers" ParentMonitorID="SystemHealth!System.Health.PerformanceState" Remotable="true" Priority="Normal" TypeID="SystemPerf!System.Performance.ConsecutiveSamplesThreshold" ConfirmDelivery="false">
<Category>Custom</Category>
<AlertSettings AlertMessage="Microsoft.MSMQ.10.0.Monitor.TotalBytes.AlertMessageResourceID">
<AlertOnState>Error</AlertOnState>
<AutoResolve>true</AutoResolve>
<AlertPriority>Normal</AlertPriority>
<AlertSeverity>Error</AlertSeverity>
<AlertParameters/>
</AlertSettings>
<OperationalStates>
<OperationalState ID="UnderThreshold" MonitorTypeStateID="ConditionFalse" HealthState="Success"/>
<OperationalState ID="OverThreshold" MonitorTypeStateID="ConditionTrue" HealthState="Error"/>
</OperationalStates>
<Configuration>
<ComputerName>$Target/Host/Property[Type="Windows!Microsoft.Windows.Computer"]/NetworkName$</ComputerName>
<CounterName>Total bytes in all queues</CounterName>
<ObjectName>MSMQ Service</ObjectName>
<InstanceName/>
<AllInstances>false</AllInstances>
<Frequency>900</Frequency>
<Threshold>104857600</Threshold>
<Direction>greater</Direction>
<NumSamples>3</NumSamples>
</Configuration>
</UnitMonitor>