Skip to main content

SYS.Monitor.Alert

Class SYS.Monitor.Alert Extends %Persistent [ ClassType = persistent, ProcedureBlock, System = 3 ]

Properties

Sensor

Property Sensor As %String(MAXLEN = 250);

Name of sensor

Msg

Property Msg As %String(MAXLEN = 500);

Alert message

PrevState

Property PrevState As %Integer [ Required ];

Previous state

State

Property State As %Integer [ Required ];

Current state

AlertTime

Property AlertTime As %String [ Required ];

Date/Time of Alert

Methods

Purge

ClassMethod Purge(Time As %String) As %Status [ Internal ]

Purge old alerts, up to specified date/time. Date/time is in $zdt($h,3) format.