Learning
Documentation
Community
Open Exchange
Global Masters
Home / Class Reference / ENSLIB namespace / %Monitor.AlertLog
Private  Storage   

%Monitor.AlertLog


The Monitor alert log Persistent CSP-enabled class to show alerts that have been triggered on the system.

Inventory


Parameters Properties Methods Queries Indices ForeignKeys Triggers
6 3 2


Summary


Properties
Application DateTime MetricClass Name
PropertyList PropertyValueList

Methods
%AddToSaveSet %AddToSyncSet %BMEBuilt %BuildIndicesAsync
%BuildIndicesAsyncResponse %CheckConstraints %CheckConstraintsForExtent %ClassIsLatestVersion
%ClassName %ComposeOid %ConstructClone %Delete
%DeleteExtent %DeleteId %DispatchClassMethod %DispatchGetModified
%DispatchGetProperty %DispatchMethod %DispatchSetModified %DispatchSetMultidimProperty
%DispatchSetProperty %Exists %ExistsId %Extends
%GUID %GUIDSet %GetLock %GetParameter
%GetSwizzleObject %Id %InsertBatch %IsA
%IsModified %IsNull %KillExtent %KillExtentData
%LoadFromMemory %LockExtent %LockId %New
%NormalizeObject %ObjectIsNull %ObjectModified %Oid
%OnBeforeAddToSync %OnDetermineClass %OnNew %Open
%OpenId %OriginalNamespace %PackageName %PhysicalAddress
%PurgeIndices %Reload %RemoveFromSaveSet %ResolveConcurrencyConflict
%RollBack %Save %SaveDirect %SaveIndices
%SerializeObject %SetModified %SortBegin %SortEnd
%SyncObjectIn %SyncTransport %UnlockExtent %UnlockId
%ValidateIndices %ValidateObject ConvertParameter Decrypt
DisplayCSP Encrypt EscapeHTML EscapeURL
HyperEventCall HyperEventHead Include InsertHiddenField
InsertHiddenFields IsPrivate Link OnHTTPHeader
OnPage OnPageError OnPostHTTP OnPostHyperEvent
OnPreHTTP OnPreHyperEvent Page QuoteJS
RewriteURL ShowError StartTimer StopTimer
ThrowError UnescapeHTML UnescapeURL


Properties


• property Application as %String [ Required ];
Alert application
• property DateTime as %String;
Date and time of alert
• property MetricClass as %String [ InitialExpression = 0 ];
Metrics class
• property Name as %String [ Required ];
Alert name
• property PropertyList as %String;
Metrics property list
A comma-separted string of property names
• property PropertyValueList as %List;
Metrics property value list
A comma-separted string of property values corresponding to the property list

Methods


• method %OnNew(name As %String, app As %String, mclass As %String, prop As %String, propval As %List) as %Status
Initialization method for sample data
• method DisplayCSP() as %Status
• classmethod OnPage() as %Status
CSP page display

Queries


• query AlertLog(name As %String = "", app As %String = "")
SQL Query :
SELECT %ID FROM AlertLog
WHERE (Name %STARTSWITH :name AND Application %STARTSWITH :app)
Selected items from the Alert Log
• query Alerts()
SQL Query :
SELECT %ID FROM AlertLog
Returns all alerts that have occurred on system