Cisco Router: Flash partition free memory Health Monitor

Jalasoft.Xian.SmartManagementPacks.CiscoRouters.FlashPartitionFreeMemory.1.1 (AggregateMonitor)

This monitor catches Xian events that notifies when the Flash partition free memory has changed its state.

Knowledge Base article:

Summary

Flash partition free memory is under threshold.

The available flash partition memory is below the minimum threshold configured in Xian Network Manager 2012.

Causes

It represents the size of the largest file that can be copied in. Free space is computed as total partition size minus size of all existing files (valid/invalid/deleted files and including file header of each file), minus size of any partition header, and minus size of header of next file to be copied in.

Resolutions

A partition might have to be erased in order to reclaim the space occupied by files. Note.- Deleted files in Flash do not free up space.

Additional

Monitors the available memory (in MB) on the flash memory device partitions of a Cisco Router device.

Element properties:

TargetJalasoft.Xian.Common.Elements.ThirdParty.Cisco.JsXCiscoRouterFlashPartitionElement
Parent MonitorSystem.Health.PerformanceState
AlgorithmWorstOf
CategoryStateCollection
EnabledTrue
Alert GenerateTrue
Alert SeverityMatchMonitorHealth
Alert PriorityLow
Alert Auto ResolveTrue
RemotableTrue
AccessibilityPublic
Alert Message
Flash partition free memory Alert
{0}

Source Code:

<AggregateMonitor ID="Jalasoft.Xian.SmartManagementPacks.CiscoRouters.FlashPartitionFreeMemory.1.1" Accessibility="Public" Enabled="true" Target="ThirdParty_Cisco!Jalasoft.Xian.Common.Elements.ThirdParty.Cisco.JsXCiscoRouterFlashPartitionElement" ParentMonitorID="SystemHealth!System.Health.PerformanceState" Remotable="true" Priority="Normal">
<Category>StateCollection</Category>
<AlertSettings AlertMessage="FlashPartitionFreeMemory_AlertMessage">
<AlertOnState>Warning</AlertOnState>
<AutoResolve>true</AutoResolve>
<AlertPriority>Low</AlertPriority>
<AlertSeverity>MatchMonitorHealth</AlertSeverity>
<AlertParameters>
<AlertParameter1>$Data/Context/Params/Param[3]$</AlertParameter1>
</AlertParameters>
</AlertSettings>
<Algorithm>WorstOf</Algorithm>
</AggregateMonitor>