代理程序未启用

Microsoft.SystemCenter.DiscoveryWriteActionModule.AgentProxyingNotEnabled.Alert (Rule)

由于未启用代理程序,因此代理无法代表另一台计算机提交数据。

Knowledge Base article:

摘要

此警报指明 Operations Manager 代理尝试发现或生成有关位于另一台计算机上的对象的数据。 默认情况下不允许这样做,但有时需要这样做才能实现正常的监视。 例如,代理可能作为群集的一部分运行,并尝试发现虚拟群集节点。

在启用代理程序之前,代理将无法这样做。

原因

代理完全有可能发现位于另一台计算机上的对象。 你必须查看警报描述的详细信息以确定是否应将代理配置为使用代理程序。

解决方法

如果检查出代理应能够代表另一个计算机发现和发送数据,则应为该代理启用代理程序:

Element properties:

TargetMicrosoft.SystemCenter.ManagementServer
CategoryAlert
EnabledTrue
Alert GenerateTrue
Alert SeverityError
Alert PriorityHigh
RemotableTrue
Alert Message
代理程序未启用
由于未启用代理程序,因此代理无法代表另一台计算机提交数据。 详细信息:{0}
Event LogOperations Manager

Member Modules:

ID Module Type TypeId RunAs 
DS DataSource Microsoft.Windows.EventProvider Default
GenerateAlert WriteAction System.Health.GenerateAlert Default

Source Code:

<Rule ID="Microsoft.SystemCenter.DiscoveryWriteActionModule.AgentProxyingNotEnabled.Alert" Enabled="true" Target="SCLibrary!Microsoft.SystemCenter.ManagementServer" ConfirmDelivery="true" Remotable="true" Priority="Normal" DiscardLevel="100">
<Category>Alert</Category>
<DataSources>
<DataSource ID="DS" TypeID="Windows!Microsoft.Windows.EventProvider">
<ComputerName>$Target/Host/Property[Type="Windows!Microsoft.Windows.Computer"]/NetworkName$</ComputerName>
<LogName>Operations Manager</LogName>
<Expression>
<And>
<Expression>
<SimpleExpression>
<ValueExpression>
<XPathQuery Type="String">PublisherName</XPathQuery>
</ValueExpression>
<Operator>Equal</Operator>
<ValueExpression>
<Value Type="String">DataAccessLayer</Value>
</ValueExpression>
</SimpleExpression>
</Expression>
<Expression>
<SimpleExpression>
<ValueExpression>
<XPathQuery Type="UnsignedInteger">EventDisplayNumber</XPathQuery>
</ValueExpression>
<Operator>Equal</Operator>
<ValueExpression>
<Value Type="UnsignedInteger">33333</Value>
</ValueExpression>
</SimpleExpression>
</Expression>
<Expression>
<SimpleExpression>
<ValueExpression>
<XPathQuery Type="String">Params/Param[3]</XPathQuery>
</ValueExpression>
<Operator>Equal</Operator>
<ValueExpression>
<Value Type="String">777980008</Value>
</ValueExpression>
</SimpleExpression>
</Expression>
</And>
</Expression>
</DataSource>
</DataSources>
<WriteActions>
<WriteAction ID="GenerateAlert" TypeID="Health!System.Health.GenerateAlert">
<Priority>2</Priority>
<Severity>2</Severity>
<AlertName/>
<AlertDescription/>
<AlertMessageId>$MPElement[Name="Microsoft.SystemCenter.DiscoveryWriteActionModule.AgentProxyingNotEnabled.AlertMessage"]$</AlertMessageId>
<AlertParameters>
<AlertParameter1>$Data/Params/Param[4]$</AlertParameter1>
</AlertParameters>
</WriteAction>
</WriteActions>
</Rule>