This rule detects general errors for Ambari API.
This rule detects general errors for Ambari API
This rule generates alert when Management Pack handles some general exception which is not handled by other monitors and rules. You can find more details about error in Windows Event Log.
Check Event log on the watcher computer for details about the error.
Target | Ambari.SCOM.AmbariWatcherNode | ||
Category | EventCollection | ||
Enabled | True | ||
Alert Generate | True | ||
Alert Severity | Warning | ||
Alert Priority | High | ||
Remotable | True | ||
Alert Message |
|
ID | Module Type | TypeId | RunAs |
---|---|---|---|
DS | DataSource | Ambari.SCOM.Module.CustomEventProvider | Default |
GenerateAlert | WriteAction | System.Health.GenerateAlert | Default |
WriteToDB | WriteAction | Microsoft.SystemCenter.CollectEvent | Default |
WriteToDW | WriteAction | Microsoft.SystemCenter.DataWarehouse.PublishEventData | Default |
<Rule ID="Ambari.SCOM.GeneralErrorCollectionRule" ConfirmDelivery="false" Enabled="true" Priority="Normal" Remotable="true" Target="Ambari.SCOM.AmbariWatcherNode">
<Category>EventCollection</Category>
<DataSources>
<DataSource ID="DS" TypeID="Ambari.SCOM.Module.CustomEventProvider">
<ComputerName>$Target/Host/Property[Type='Windows!Microsoft.Windows.Computer']/NetworkName$</ComputerName>
<LogName>Operations Manager</LogName>
<EventNumber>1901</EventNumber>
</DataSource>
</DataSources>
<WriteActions>
<WriteAction ID="GenerateAlert" TypeID="Health!System.Health.GenerateAlert">
<Priority>2</Priority>
<Severity>1</Severity>
<AlertMessageId>$MPElement[Name="Ambari.SCOM.GeneralErrorCollectionRule.AlertMessage"]$</AlertMessageId>
<AlertParameters>
<AlertParameter1>$Target/Host/Property[Type="Windows!Microsoft.Windows.Computer"]/NetworkName$</AlertParameter1>
</AlertParameters>
<Suppression>
<SuppressionValue>$Target/Host/Property[Type="Windows!Microsoft.Windows.Computer"]/NetworkName$</SuppressionValue>
</Suppression>
</WriteAction>
<WriteAction ID="WriteToDB" TypeID="SC!Microsoft.SystemCenter.CollectEvent"/>
<WriteAction ID="WriteToDW" TypeID="SCDW!Microsoft.SystemCenter.DataWarehouse.PublishEventData"/>
</WriteActions>
</Rule>