Gives warning/critical alert if percentage of YARN unhealthy NodeManagers is more than lower/upper threshold.
Gives warning/critical alert if percentage of YARN unhealthy NodeManagers is more than lower/upper threshold.
TBD
TBD
Target | Ambari.SCOM.ClusterService.Yarn | ||
Parent Monitor | System.Health.AvailabilityState | ||
Category | AvailabilityHealth | ||
Enabled | True | ||
Alert Generate | True | ||
Alert Severity | MatchMonitorHealth | ||
Alert Priority | Normal | ||
Alert Auto Resolve | True | ||
Monitor Type | Ambari.SCOM.UnitMonitorType.YarnServiceThreeStateThreshold | ||
Remotable | True | ||
Accessibility | Public | ||
Alert Message |
| ||
RunAs | Default |
<UnitMonitor ID="Ambari.SCOM.UnitMonitor.YarnUnhealthyNodeManagers" TypeID="Ambari.SCOM.UnitMonitorType.YarnServiceThreeStateThreshold" Target="Ambari.SCOM.ClusterService.Yarn" ParentMonitorID="Health!System.Health.AvailabilityState" Remotable="true" Priority="Normal" Accessibility="Public" Enabled="true" ConfirmDelivery="true">
<Category>AvailabilityHealth</Category>
<AlertSettings AlertMessage="Ambari.SCOM.UnitMonitor.YarnUnhealthyNodeManagers.AlertMessage">
<AlertOnState>Warning</AlertOnState>
<AutoResolve>true</AutoResolve>
<AlertPriority>Normal</AlertPriority>
<AlertSeverity>MatchMonitorHealth</AlertSeverity>
<AlertParameters>
<AlertParameter1>$Target/Host/Property[Type="Ambari.SCOM.ClusterService.Private"]/ClusterName$</AlertParameter1>
<AlertParameter2>$Data/Context/Property[@Name='unhealthynodemanagers_percent']$</AlertParameter2>
</AlertParameters>
</AlertSettings>
<OperationalStates>
<OperationalState ID="Healthy" MonitorTypeStateID="Healthy" HealthState="Success"/>
<OperationalState ID="Warning" MonitorTypeStateID="Warning" HealthState="Warning"/>
<OperationalState ID="Critical" MonitorTypeStateID="Critical" HealthState="Error"/>
</OperationalStates>
<Configuration>
<IntervalSeconds>900</IntervalSeconds>
<TimeoutSeconds>300</TimeoutSeconds>
<PropertyName>unhealthynodemanagers_percent</PropertyName>
<TheGreaterTheBetter>false</TheGreaterTheBetter>
<WarningThreshold>10</WarningThreshold>
<CriticalThreshold>20</CriticalThreshold>
</Configuration>
</UnitMonitor>