|
Monitoring System 0.1.0
System resource monitoring with pluggable collectors and alerting
|
A single temperature reading from a sensor. More...
#include <temperature_collector.h>

Public Attributes | |
| temperature_sensor_info | sensor |
| Sensor information. | |
| double | temperature_celsius {0.0} |
| Current temperature in Celsius. | |
| double | critical_threshold_celsius {0.0} |
| Critical temperature threshold (if available) | |
| double | warning_threshold_celsius {0.0} |
| Warning threshold (if available) | |
| bool | thresholds_available {false} |
| Whether thresholds are available. | |
| bool | is_critical {false} |
| True if temperature exceeds critical threshold. | |
| bool | is_warning {false} |
| True if temperature exceeds warning threshold. | |
| std::chrono::system_clock::time_point | timestamp |
| Reading timestamp. | |
A single temperature reading from a sensor.
Definition at line 84 of file temperature_collector.h.
| double kcenon::monitoring::temperature_reading::critical_threshold_celsius {0.0} |
Critical temperature threshold (if available)
Definition at line 87 of file temperature_collector.h.
| bool kcenon::monitoring::temperature_reading::is_critical {false} |
True if temperature exceeds critical threshold.
Definition at line 90 of file temperature_collector.h.
| bool kcenon::monitoring::temperature_reading::is_warning {false} |
True if temperature exceeds warning threshold.
Definition at line 91 of file temperature_collector.h.
| temperature_sensor_info kcenon::monitoring::temperature_reading::sensor |
Sensor information.
Definition at line 85 of file temperature_collector.h.
| double kcenon::monitoring::temperature_reading::temperature_celsius {0.0} |
| bool kcenon::monitoring::temperature_reading::thresholds_available {false} |
| std::chrono::system_clock::time_point kcenon::monitoring::temperature_reading::timestamp |
Reading timestamp.
Definition at line 92 of file temperature_collector.h.
| double kcenon::monitoring::temperature_reading::warning_threshold_celsius {0.0} |