%SYS.Monitor.AbstractSensor
abstract class %SYS.Monitor.AbstractSensor extends %Library.RegisteredObject
Abstract class for a SensorUser classes inherit from this class to become a Sensor for System Monitor.
Property Inventory
Method Inventory
- ClearNotifications()
- ClearSensors()
- GetSensors()
- LogCon()
- LogMsg()
- Notify()
- OpenLog()
- SetSensor()
- Start()
Properties
Methods
The System Monitor Controller calls this method to get sensor readings. It is called every 10 seconds by default.
Users may return readings for multiple sensors (but only one reading per sensor on each call). User calls SetSensor(sensorname, value[,type]) for every sensor reading. The sensors are kept in the property SensorReading(sensor)=value, and SensorType(sensor)=type. The controller picks up the sensors and their values after the return from GetSensors().
A return code of $$$OK indicates there were no errors. A return code of 0 indicates a failure.
User may call this method to post alerts directly to the messages.log file.
User may call this method to log information to the SystemMonitor.log file in the mgr directory.
The System Monitor Controller calls this method once when it starts. The user may initialize the properties, counters, etc.
A return code of $$$OK indicates there were no errors. A return code of 0 indicates a failure.
Inherited Members
Inherited Methods
- %AddToSaveSet()
- %ClassIsLatestVersion()
- %ClassName()
- %ConstructClone()
- %DispatchClassMethod()
- %DispatchGetModified()
- %DispatchGetProperty()
- %DispatchMethod()
- %DispatchSetModified()
- %DispatchSetMultidimProperty()
- %DispatchSetProperty()
- %Extends()
- %GetParameter()
- %IsA()
- %IsModified()
- %New()
- %NormalizeObject()
- %ObjectModified()
- %OriginalNamespace()
- %PackageName()
- %RemoveFromSaveSet()
- %SerializeObject()
- %SetModified()
- %ValidateObject()