Raritan / Server Technology Xerus™ PDU JSON-RPC API
|
A global instance keeping track of sensors in alerted state. More...
import"AlertedSensorManager.idl";
Classes | |
struct | SensorCounts |
Statistics about monitored sensors. More... | |
struct | SensorData |
Data about a monitored sensor. More... | |
Public Types | |
enum | AlertState { UNAVAILABLE , NORMAL , CRITICAL , WARNED } |
Sensor alert state. More... | |
Public Member Functions | |
SensorCounts | getSensorCounts () |
Retrieve the current sensor counts. More... | |
vector< SensorData > | getAllSensors () |
Retrieve a list of all monitored sensors. More... | |
vector< SensorData > | getAlertedSensors () |
Retrieve a list of currently alerted sensors. More... | |
Public Attributes | |
valueobject | MonitoredSensorsChangedEvent: idl::Event { SensorCounts counts |
Event: A change in the list of monitored sensors occurred. More... | |
valueobject | AlertedSensorsChangedEvent: idl::Event { SensorCounts counts |
Event: One or more sensors' alert states have changed. More... | |
vector< SensorData > | changedSensors |
Changed or added sensors. | |
vector< Sensor > | removedSensors |
Removed sensors. | |
A global instance keeping track of sensors in alerted state.
vector<SensorData> sensors::AlertedSensorManager::getAlertedSensors | ( | ) |
Retrieve a list of currently alerted sensors.
vector<SensorData> sensors::AlertedSensorManager::getAllSensors | ( | ) |
Retrieve a list of all monitored sensors.
SensorCounts sensors::AlertedSensorManager::getSensorCounts | ( | ) |
Retrieve the current sensor counts.
valueobject sensors::AlertedSensorManager::AlertedSensorsChangedEvent |
Event: One or more sensors' alert states have changed.
This event is fired whenever the result of getAlertedSensors() changes, i.e. in the following cases:
valueobject sensors::AlertedSensorManager::MonitoredSensorsChangedEvent |
Event: A change in the list of monitored sensors occurred.
This event is fired when sensors are added to or removed from the list of monitored sensors. It is not fired when a monitored sensor's alert state changes. Sensor statistics after the change