This is documentation for Caché & Ensemble.

For information on converting to InterSystems IRIS, see the InterSystems IRIS Adoption Guide and the InterSystems IRIS In-Place Conversion Guide, both available on the WRC Distributions page (login required).

Home > Class Reference > ENSLIB namespace > %Monitor.AlertLog

%Monitor.AlertLog

SQL Table Name: %Monitor.AlertLog

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

Property Inventory

Method Inventory

Properties

property Application as %String [ Required ];
Alert application
Property methods: ApplicationDisplayToLogical(), ApplicationGet(), ApplicationGetStored(), ApplicationIsValid(), ApplicationLogicalToDisplay(), ApplicationLogicalToOdbc(), ApplicationNormalize(), ApplicationSet()
property DateTime as %String;
Date and time of alert
Property methods: DateTimeDisplayToLogical(), DateTimeGet(), DateTimeGetStored(), DateTimeIsValid(), DateTimeLogicalToDisplay(), DateTimeLogicalToOdbc(), DateTimeNormalize(), DateTimeSet()
property MetricClass as %String [ InitialExpression = 0 ];
Metrics class
Property methods: MetricClassDisplayToLogical(), MetricClassGet(), MetricClassGetStored(), MetricClassIsValid(), MetricClassLogicalToDisplay(), MetricClassLogicalToOdbc(), MetricClassNormalize(), MetricClassSet()
property Name as %String [ Required ];
Alert name
Property methods: NameDisplayToLogical(), NameGet(), NameGetStored(), NameIsValid(), NameLogicalToDisplay(), NameLogicalToOdbc(), NameNormalize(), NameSet()
property PropertyList as %String;
Metrics property list
A comma-separted string of property names
Property methods: PropertyListDisplayToLogical(), PropertyListGet(), PropertyListGetStored(), PropertyListIsValid(), PropertyListLogicalToDisplay(), PropertyListLogicalToOdbc(), PropertyListNormalize(), PropertyListSet()
property PropertyValueList as %List;
Metrics property value list
A comma-separted string of property values corresponding to the property list
Property methods: PropertyValueListGet(), PropertyValueListGetStored(), PropertyValueListIsValid(), PropertyValueListLogicalToOdbc(), PropertyValueListOdbcToLogical(), PropertyValueListSet()

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

Inherited Members

Inherited Methods

Storage

Storage Model: CacheStorage (%Monitor.AlertLog)

^Monitor.AlertLogD(ID)
=
%%CLASSNAME
Application
DateTime
MetricClass
Name
PropertyList
PropertyValueList
Property
PropertyValue