ROFL-pipeline
v0.6.0dev
|
Generalized monitoring framework data-model core APIs and data structures. More...
Data Structures | |
struct | sensor_data |
Sensor data information. More... | |
struct | monitored_entity |
Abstraction of a monitored entity data. More... | |
struct | monitoring_state |
Container of the monitoring state. More... | |
Macros | |
#define | MONITORED_ENTITY_MAX_SENSOR_DATA 8 |
Maximum number of sensors per monitored entity. More... | |
Typedefs | |
typedef struct sensor_data | sensor_data_t |
Sensor data information. More... | |
typedef struct monitored_entity | monitored_entity_t |
Abstraction of a monitored entity data. More... | |
typedef struct monitoring_state | monitoring_state_t |
Container of the monitoring state. More... | |
Enumerations | |
enum | sensor_data_type { SENSOR_DATA_T_OHTER =1, SENSOR_DATA_T_UNKNOWN =2, SENSOR_DATA_T_VOLTS_AC =3, SENSOR_DATA_T_VOLTS_DC =4, SENSOR_DATA_T_AMPERES =5, SENSOR_DATA_T_WATTS =6, SENSOR_DATA_T_HERTZ =7, SENSOR_DATA_T_CELSIUS =8, SENSOR_DATA_T_PERCENTRH =9, SENSOR_DATA_T_RPM =10, SENSOR_DATA_T_CMM =11, SENSOR_DATA_T_TRUTH_VALUE =12 } |
Sensor data type. More... | |
enum | sensor_data_scale { SENSOR_DATA_S_YOCTO =1, SENSOR_DATA_S_ZEPTO =2, SENSOR_DATA_S_ATTO =3, SENSOR_DATA_S_FEMTO =4, SENSOR_DATA_S_PICO =5, SENSOR_DATA_S_NANO =6, SENSOR_DATA_S_MICRO =7, SENSOR_DATA_S_MILLI =8, SENSOR_DATA_S_UNITS =9, SENSOR_DATA_S_KILO =10, SENSOR_DATA_S_MEGA =11, SENSOR_DATA_S_GIGA =12, SENSOR_DATA_S_TERA =13, SENSOR_DATA_S_EXA =14, SENSOR_DATA_S_PETA =15, SENSOR_DATA_S_ZETTA =16, SENSOR_DATA_S_YOTTA =17 } |
Sensor data scale. More... | |
enum | sensor_data_oper_status { SENSOR_DATA_OS_OK =1, SENSOR_DATA_OS_UNAVAILABLE =2, SENSOR_DATA_OS_NONOPERATIONAL =3 } |
Sensor data operational status. More... | |
enum | monitored_entity_type { ME_TYPE_OTHER =1, ME_TYPE_UNKNOWN =2, ME_TYPE_CHASSIS =3, ME_TYPE_BACKPLANE =4, ME_TYPE_CONTAINER =5, ME_TYPE_POWER_SUPPLY =6, ME_TYPE_FAN =7, ME_TYPE_SENSOR =8, ME_TYPE_MODULE =9, ME_TYPE_PORT =10, ME_TYPE_STACK =11 } |
Monitoring entity type enum, defined according to RFC2737. More... | |
Generalized monitoring framework data-model core APIs and data structures.
#define MONITORED_ENTITY_MAX_SENSOR_DATA 8 |
Maximum number of sensors per monitored entity.
Definition at line 116 of file monitoring.h.
typedef struct monitored_entity monitored_entity_t |
Abstraction of a monitored entity data.
A monitored entity contains the information of an object that can be monitored. A monitored entity can contain inner monitored entity data elements, and entities at its own level, allowing to create tree structures of monitored entitities
typedef struct monitoring_state monitoring_state_t |
Container of the monitoring state.
typedef struct sensor_data sensor_data_t |
Sensor data information.
Monitoring entity type enum, defined according to RFC2737.
Definition at line 98 of file monitoring.h.
Sensor data operational status.
Definition at line 72 of file monitoring.h.
enum sensor_data_scale |
Sensor data scale.
Definition at line 48 of file monitoring.h.
enum sensor_data_type |
Sensor data type.
Definition at line 29 of file monitoring.h.