HP Printer: Device toner sensor status Health Monitor

Jalasoft.Xian.SmartManagementPacks.HPPrinters.DeviceTonerSensorStatus.1.1 (AggregateMonitor)

This monitor catches Xian events that notifies when the Device toner sensor status has changed its state.

Knowledge Base article:

Summary

Device toner sensor status has changed.

The device toner sensor status has changed from one of the following states to another: No toner, Low toner, or Normal toner.

Causes

The No toner value indicates that it has not toner. The Low toner value indicates that device has toner for one impression minimally. And the Normal toner value indicate that the level of toner is above of 50% of capacity.

Resolutions

Change the current toner with a new one.

Additional

Monitors the current toner sensor state. It cant be (1) for No toner, (2) for Low toner, and (3) for Normal toner.

Element properties:

TargetJalasoft.Xian.Common.Elements.ThirdParty.HPPrinters.JsXHPPrintersSnmpDeviceElement
Parent MonitorSystem.Health.PerformanceState
AlgorithmWorstOf
CategoryStateCollection
EnabledTrue
Alert GenerateTrue
Alert SeverityMatchMonitorHealth
Alert PriorityLow
Alert Auto ResolveTrue
RemotableTrue
AccessibilityPublic
Alert Message
Device toner sensor status Alert
{0}

Source Code:

<AggregateMonitor ID="Jalasoft.Xian.SmartManagementPacks.HPPrinters.DeviceTonerSensorStatus.1.1" Accessibility="Public" Enabled="true" Target="ThirdParty_HPPrinters!Jalasoft.Xian.Common.Elements.ThirdParty.HPPrinters.JsXHPPrintersSnmpDeviceElement" ParentMonitorID="SystemHealth!System.Health.PerformanceState" Remotable="true" Priority="Normal">
<Category>StateCollection</Category>
<AlertSettings AlertMessage="DeviceTonerSensorStatus_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>