%SYS.Monitor.SensorReading
hidden persistent class %SYS.Monitor.SensorReading extends %Library.Persistent
SQL Table Name: %SYS_Monitor.SensorReading
Persistent class for SystemSensor readings. Only used when Debug is enabled.Property Inventory
Method Inventory
Properties
property Item as %String (MAXLEN = 250);
Sensor item
Property methods: ItemDisplayToLogical(), ItemGet(), ItemGetStored(), ItemIsValid(), ItemLogicalToDisplay(), ItemLogicalToOdbc(), ItemNormalize(), ItemSet()
property Reading as %String;
Reading
Property methods: ReadingDisplayToLogical(), ReadingGet(), ReadingGetStored(), ReadingIsValid(), ReadingLogicalToDisplay(), ReadingLogicalToOdbc(), ReadingNormalize(), ReadingSet()
property SampleTime as %String [ Required ];
Date/Time of sample
Property methods: SampleTimeDisplayToLogical(), SampleTimeGet(), SampleTimeGetStored(), SampleTimeIsValid(), SampleTimeLogicalToDisplay(), SampleTimeLogicalToOdbc(), SampleTimeNormalize(), SampleTimeSet()
property Sensor as %String (MAXLEN = 250) [ Required ];
Name of sensor
Property methods: SensorDisplayToLogical(), SensorGet(), SensorGetStored(), SensorIsValid(), SensorLogicalToDisplay(), SensorLogicalToOdbc(), SensorNormalize(), SensorSet()
Methods
Purge old readings, upt to . Date is in $h format.
Queries
SQL Query:
SELECT * FROM SensorReading WHERE SampleTime BETWEEN :BeginTime AND :EndTime
SELECT * FROM SensorReading WHERE SampleTime BETWEEN :BeginTime AND :EndTime
Return the sensor data for a given time range
SQL Query:
SELECT * FROM SensorReading WHERE SampleTime BETWEEN :BeginTime AND :EndTime AND Sensor = :Sensor
SELECT * FROM SensorReading WHERE SampleTime BETWEEN :BeginTime AND :EndTime AND Sensor = :Sensor
Return the alert(s) for a given sensor
Indexes
index (IDKEY on ) [IdKey, Type = key];
Index methods: IDKEYCheck(), IDKEYDelete(), IDKEYExists(), IDKEYOpen(), IDKEYSQLCheckUnique(), IDKEYSQLExists(), IDKEYSQLFindPKeyByConstraint(), IDKEYSQLFindRowIDByConstraint()
Inherited Members
Inherited Methods
- %AddToSaveSet()
- %AddToSyncSet()
- %BMEBuilt()
- %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()
- %Open()
- %OpenId()
- %OriginalNamespace()
- %PackageName()
- %PhysicalAddress()
- %PurgeIndices()
- %Reload()
- %RemoveFromSaveSet()
- %ResolveConcurrencyConflict()
- %RollBack()
- %Save()
- %SaveDirect()
- %SaveIndices()
- %SerializeObject()
- %SetModified()
- %SortBegin()
- %SortEnd()
- %SyncObjectIn()
- %SyncTransport()
- %UnlockExtent()
- %UnlockId()
- %ValidateIndices()
- %ValidateObject()
Storage
Storage Model: CacheStorage (%SYS.Monitor.SensorReading)
^ISC.Monitor.SensorReadingD(ID) | = | %%CLASSNAME
Sensor
Item
Rulecode
Severity
Values
Readings
Mean
Sigma
AlertTime
Value
PrevState
State
AlertTime
FirstAlertTime
Msg
|
^ISC.Monitor.SensorReadingD(ID,"1") | = | Reading
SampleTime
Notification
|