網路監視 SNMP 陷阱連接埠已用於其他程式

System.NetworkManagement.SNMPTrapPortAlreadyInUse.Monitor (UnitMonitor)

此監視用於檢查網路探索是否無法探索已用於其他程式的 SNMP 陷阱連接埠。

Knowledge Base article:

摘要

SNMP 設陷連接埠 (162) 已由其他程式使用

原因

為了監視網路裝置並收集 SNMP 設陷,SNMP 設陷連接埠必須以專用模式使用。如果其他 SNMP 服務目前正使用連接埠,則會導致此問題發生。

解決方式

解除安裝或停用其他 SNMP 服務。

Element properties:

TargetMicrosoft.SystemCenter.HealthService
Parent MonitorSystem.Health.ConfigurationState
CategoryConfigurationHealth
EnabledTrue
Alert GenerateTrue
Alert SeverityError
Alert PriorityHigh
Alert Auto ResolveTrue
Monitor TypeMicrosoft.Windows.SingleEventLogManualReset2StateMonitorType
RemotableTrue
AccessibilityPublic
Alert Message
網路監視 SNMP 陷阱連接埠已用於其他程式
網路監視 SNMP 陷阱連接埠已用於其他程式。
RunAsDefault

Source Code:

<UnitMonitor ID="System.NetworkManagement.SNMPTrapPortAlreadyInUse.Monitor" Accessibility="Public" Enabled="true" Target="SystemCenter!Microsoft.SystemCenter.HealthService" ParentMonitorID="SystemHealth!System.Health.ConfigurationState" Remotable="true" Priority="Normal" TypeID="Windows!Microsoft.Windows.SingleEventLogManualReset2StateMonitorType" ConfirmDelivery="true">
<Category>ConfigurationHealth</Category>
<AlertSettings AlertMessage="System.NetworkManagement.SNMPTrapPortAlreadyInUse.Monitor.AlertMessage">
<AlertOnState>Error</AlertOnState>
<AutoResolve>true</AutoResolve>
<AlertPriority>High</AlertPriority>
<AlertSeverity>Error</AlertSeverity>
<AlertParameters>
<AlertParameter1>$Data/Context/EventDescription$</AlertParameter1>
</AlertParameters>
</AlertSettings>
<OperationalStates>
<OperationalState ID="SNMPTrapPortAvailable" MonitorTypeStateID="ManualResetEventRaised" HealthState="Success"/>
<OperationalState ID="SNMPTrapPortAlreadyInUse" MonitorTypeStateID="EventRaised" HealthState="Error"/>
</OperationalStates>
<Configuration>
<ComputerName/>
<LogName>Operations Manager</LogName>
<Expression>
<And>
<Expression>
<SimpleExpression>
<ValueExpression>
<XPathQuery Type="String">PublisherName</XPathQuery>
</ValueExpression>
<Operator>Equal</Operator>
<ValueExpression>
<Value Type="String">Health Service Modules</Value>
</ValueExpression>
</SimpleExpression>
</Expression>
<Expression>
<SimpleExpression>
<ValueExpression>
<XPathQuery Type="UnsignedInteger">EventDisplayNumber</XPathQuery>
</ValueExpression>
<Operator>Equal</Operator>
<ValueExpression>
<Value Type="UnsignedInteger">12300</Value>
</ValueExpression>
</SimpleExpression>
</Expression>
</And>
</Expression>
</Configuration>
</UnitMonitor>