Cisco Router: Flash file status Health Monitor

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

This monitor catches Xian events that notifies when the Flash file status has changed its state.

Knowledge Base article:

Summary

Flash file status has changed.

The flash partition status has changed to one of the following states: deleted, invalid checksum, valid.

Causes

When the state is deleted, the file has been eliminated, probably due to the presence of errors. When the state is invalid checksum, the file has been rewritten or recopied into the Flash memory and remains unusable in favor of the newest version, possibly caused by: the user abnormally terminating the copy process, a network timeout, or a Flash memory overflow. When the state is valid, the file has operated the checksum successfully.

Resolutions

Invalid checksum: Verify for possible network timeouts or Flash memory overflows.

Additional

Monitors the status of any file on a Cisco Router flash partition.

Element properties:

TargetJalasoft.Xian.Common.Elements.ThirdParty.Cisco.JsXCiscoRouterFlashFileElement
Parent MonitorSystem.Health.PerformanceState
AlgorithmWorstOf
CategoryStateCollection
EnabledTrue
Alert GenerateTrue
Alert SeverityMatchMonitorHealth
Alert PriorityLow
Alert Auto ResolveTrue
RemotableTrue
AccessibilityPublic
Alert Message
Flash file status Alert
{0}

Source Code:

<AggregateMonitor ID="Jalasoft.Xian.SmartManagementPacks.CiscoRouters.FlashFileStatus.1.1" Accessibility="Public" Enabled="true" Target="ThirdParty_Cisco!Jalasoft.Xian.Common.Elements.ThirdParty.Cisco.JsXCiscoRouterFlashFileElement" ParentMonitorID="SystemHealth!System.Health.PerformanceState" Remotable="true" Priority="Normal">
<Category>StateCollection</Category>
<AlertSettings AlertMessage="FlashFileStatus_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>