Capacity Remaining

Ambari.SCOM.UnitMonitor.HdfsCapacityRemaining (UnitMonitor)

Gives warning/critical alert if percentage of available space on all HDFS nodes together is less then upper/lower threshold.

Knowledge Base article:

Summary

Gives warning/critical alert if percentage of available space on all HDFS nodes together is less then upper/lower threshold.

Causes

TBD

Resolutions

TBD

Element properties:

TargetAmbari.SCOM.ClusterService.Hdfs
Parent MonitorSystem.Health.PerformanceState
CategoryPerformanceHealth
EnabledTrue
Alert GenerateTrue
Alert SeverityMatchMonitorHealth
Alert PriorityNormal
Alert Auto ResolveTrue
Monitor TypeAmbari.SCOM.UnitMonitorType.HdfsServiceThreeStateThreshold
RemotableTrue
AccessibilityPublic
Alert Message
There is little or no space capacity remaining in HDFS.
There are {1}\% of total capacity remaining in the HDFS of cluster "{0}".
RunAsDefault

Source Code:

<UnitMonitor ID="Ambari.SCOM.UnitMonitor.HdfsCapacityRemaining" TypeID="Ambari.SCOM.UnitMonitorType.HdfsServiceThreeStateThreshold" Target="Ambari.SCOM.ClusterService.Hdfs" ParentMonitorID="Health!System.Health.PerformanceState" Remotable="true" Priority="Normal" Accessibility="Public" Enabled="true" ConfirmDelivery="true">
<Category>PerformanceHealth</Category>
<AlertSettings AlertMessage="Ambari.SCOM.UnitMonitor.HdfsCapacityRemaining.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='capacityremaining_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>capacityremaining_percent</PropertyName>
<TheGreaterTheBetter>true</TheGreaterTheBetter>
<WarningThreshold>30</WarningThreshold>
<CriticalThreshold>10</CriticalThreshold>
</Configuration>
</UnitMonitor>