/openbmc/phosphor-dbus-interfaces/yaml/xyz/openbmc_project/Telemetry/ |
H A D | Trigger.interface.yaml | 10 If true than trigger uses discrete thresholds as threshold conditions. 17 Defines actions which are taken when threshold conditions are met. 26 Collection of Report objects that are updated when threshold 40 dwell time, direction and threshold value. Array is limited by Type 47 user id, severity, dwell time and threshold value. Discrete value does 49 threshold array is empty then every value change is taken into account 50 of threshold condition. Dwell time specifies for how long condition 60 Defines a action which is taken once threshold condition is met. 72 Defines a context of a message that is logged when numeric threshold 81 Defines in which direction threshold value is crossed to fulfill [all …]
|
/openbmc/dbus-sensors/src/ |
H A D | Thresholds.cpp | 58 std::vector<thresholds::Threshold>& thresholdVector, in parseThresholdsFromConfig() 114 "Malformed threshold on configuration interface: '{INTERFACE}'", in parseThresholdsFromConfig() 139 const thresholds::Threshold& threshold, in persistThreshold() argument 148 [&, path, threshold, thresholdInterface, in persistThreshold() 153 return; // threshold not supported in persistThreshold() 161 lg2::error("No label in threshold configuration"); in persistThreshold() 178 lg2::error("Malformed threshold in configuration"); in persistThreshold() 186 if ((findThresholdLevel(severity) != threshold.level) || in persistThreshold() 187 (findThresholdDirection(dir) != threshold.direction)) in persistThreshold() 192 std::variant<double> value(threshold.value); in persistThreshold() [all …]
|
H A D | Thresholds.hpp | 37 struct Threshold struct 39 Threshold( in Threshold() argument 52 bool operator==(const Threshold& rhs) const in operator ==() argument 78 bool hasActiveTimer(const Threshold& threshold, bool assert) in hasActiveTimer() 84 if ((timer.first.level == threshold.level) && in hasActiveTimer() 85 (timer.first.direction == threshold.direction) && in hasActiveTimer() 95 void stopTimer(const Threshold& threshold, bool assert) in stopTimer() 103 if ((timerUsed.level == threshold.level) && in stopTimer() 104 (timerUsed.direction == threshold.direction) && in stopTimer() 114 const Threshold& threshold, bool assert, [all …]
|
/openbmc/openbmc-test-automation/ipmi/ |
H A D | test_ipmi_cold_reset.robot | 7 ... threshold values, and other 'power up' default state to be restored. 16 ... impact on sensor threshold value change with cold reset. 18 ... The script changes sensor threshold value for Fan sensor, 20 ... compares sensor threshold values of initial and reading after cold reset. 68 Verify Cold Reset Impact On Sensor Threshold Via IPMI 69 [Documentation] Modify sensor threshold, perform cold reset, 70 ... and verify if sensor threshold reverts back to initial value. 76 # Get initial sensor threshold readings. 77 ${sensor_name} ${sensor_threshold}= Get The Sensor Name And Threshold ${sensor_list} 84 # Modify Default Threshold Value For An Sensor To Set An New Threshold Value [all …]
|
/openbmc/bmcweb/redfish-core/include/registries/ |
H A D | environmental_message_registry.hpp | 177 …"Indicates that a flow rate reading is no longer below the lower critical threshold but is still o… 178 …"Flow rate '%1' reading of %2 L/min is now above the %3 lower critical threshold but remains outsi… 191 …"Indicates that a flow rate reading is no longer below the lower fatal threshold but is still outs… 192 …"Flow rate '%1' reading of %2 L/min is now above the %3 lower fatal threshold but remains outside … 205 "Indicates that a flow rate reading is above the upper caution threshold.", 206 "Flow rate '%1' reading of %2 L/min is above the %3 upper caution threshold.", 219 "Indicates that a flow rate reading is above the upper critical threshold.", 220 "Flow rate '%1' reading of %2 L/min is above the %3 upper critical threshold.", 233 "Indicates that a flow rate reading is above the upper fatal threshold.", 234 "Flow rate '%1' reading of %2 L/min is above the %3 upper fatal threshold.", [all …]
|
H A D | power_message_registry.hpp | 105 …"Indicates that a current reading is no longer below the lower critical threshold but is still out… 106 …"Current '%1' reading of %2 amperes is now above the %3 lower critical threshold but remains outsi… 119 …"Indicates that a current reading is no longer below the lower fatal threshold but is still outsid… 120 …"Current '%1' reading of %2 amperes is now above the %3 lower fatal threshold but remains outside … 133 "Indicates that a current reading is above the upper caution threshold.", 134 "Current '%1' reading of %2 amperes is above the %3 upper caution threshold.", 147 "Indicates that a current reading is above the upper critical threshold.", 148 "Current '%1' reading of %2 amperes is above the %3 upper critical threshold.", 161 "Indicates that a current reading is above the upper fatal threshold.", 162 "Current '%1' reading of %2 amperes is above the %3 upper fatal threshold.", [all …]
|
H A D | sensor_event_message_registry.hpp | 57 …"Indicates that a sensor reading is no longer below the lower critical threshold but is still outs… 58 …"Sensor '%1' reading of %2 (%3) is now above the %4 lower critical threshold but remains outside o… 72 …"Indicates that a sensor reading is no longer below the lower fatal threshold but is still outside… 73 …"Sensor '%1' reading of %2 (%3) is now above the %4 lower fatal threshold but remains outside of n… 87 "Indicates that a sensor reading is above the upper caution threshold.", 88 "Sensor '%1' reading of %2 (%3) is above the %4 upper caution threshold.", 102 "Indicates that a sensor reading is above the upper critical threshold.", 103 "Sensor '%1' reading of %2 (%3) is above the %4 upper critical threshold.", 117 "Indicates that a sensor reading is above the upper fatal threshold.", 118 "Sensor '%1' reading of %2 (%3) is above the %4 upper fatal threshold.", [all …]
|
/openbmc/phosphor-virtual-sensor/src/ |
H A D | virtualSensor.hpp | 170 /** @brief The critical threshold interface object */ 171 std::unique_ptr<Threshold<CriticalObject>> criticalIface; 172 /** @brief The warning threshold interface object */ 173 std::unique_ptr<Threshold<WarningObject>> warningIface; 174 /** @brief The soft shutdown threshold interface object */ 175 std::unique_ptr<Threshold<SoftShutdownObject>> softShutdownIface; 176 /** @brief The hard shutdown threshold interface object */ 177 std::unique_ptr<Threshold<HardShutdownObject>> hardShutdownIface; 178 /** @brief The performance loss threshold interface object */ 179 std::unique_ptr<Threshold<PerformanceLossObject>> perfLossIface; [all …]
|
H A D | virtualSensor.cpp | 125 "Invalid threshold direction specified in entity manager"); in getThresholdType() 146 "Invalid threshold severity specified in entity manager"); in getSeverityField() 158 "Invalid threshold severity specified in entity manager"); in getSeverityField() 180 auto threshold = getThresholdType(direction, severity); in parseThresholds() local 181 thresholds[threshold] = value; in parseThresholds() 187 thresholds[threshold + "Hysteresis"] = hysteresis; in parseThresholds() 192 thresholds[threshold + "Direction"] = entityInterface; in parseThresholds() 243 /* Get threshold values if defined in config */ in initVirtualSensor() 244 auto threshold = sensorConfig.value("Threshold", empty); in initVirtualSensor() local 246 createThresholds(threshold, objPath, units); in initVirtualSensor() [all …]
|
/openbmc/pldm/platform-mc/ |
H A D | numeric_sensor.hpp | 13 #include <xyz/openbmc_project/Sensor/Threshold/Critical/server.hpp> 14 #include <xyz/openbmc_project/Sensor/Threshold/HardShutdown/server.hpp> 15 #include <xyz/openbmc_project/Sensor/Threshold/Warning/server.hpp> 37 sdbusplus::xyz::openbmc_project::Sensor::Threshold::server::Warning>; 39 sdbusplus::xyz::openbmc_project::Sensor::Threshold::server::Critical>; 41 sdbusplus::xyz::openbmc_project::Sensor::Threshold::server::HardShutdown>; 95 /** @brief Check if value is over threshold. 98 * @param[in] direction - upper or lower threshold checking 100 * @param[in] threshold - threshold value 105 double threshold, double hyst); [all …]
|
/openbmc/qemu/tests/unit/ |
H A D | test-write-threshold.c | 2 * Test block device write threshold 11 #include "block/write-threshold.h" 16 uint64_t threshold = 4 * 1024 * 1024; in test_threshold_not_trigger() local 21 bdrv_write_threshold_set(&bs, threshold); in test_threshold_not_trigger() 23 g_assert_cmpuint(bdrv_write_threshold_get(&bs), ==, threshold); in test_threshold_not_trigger() 29 uint64_t threshold = 4 * 1024 * 1024; in test_threshold_trigger() local 34 bdrv_write_threshold_set(&bs, threshold); in test_threshold_trigger() 35 bdrv_write_threshold_check_write(&bs, threshold - 1024, 2 * 1024); in test_threshold_trigger() 43 g_test_add_func("/write-threshold/not-trigger", test_threshold_not_trigger); in main() 44 g_test_add_func("/write-threshold/trigger", test_threshold_trigger); in main()
|
/openbmc/phosphor-dbus-interfaces/gen/xyz/openbmc_project/Sensor/Threshold/ |
H A D | meson.build | 8 sdbusplus_current_path = 'xyz/openbmc_project/Sensor/Threshold' 13 '../../../../../yaml/xyz/openbmc_project/Sensor/Threshold.errors.yaml', 14 '../../../../../yaml/xyz/openbmc_project/Sensor/Threshold.events.yaml', 28 'xyz/openbmc_project/Sensor/Threshold', 41 'xyz/openbmc_project/Sensor/Threshold/Critical__markdown'.underscorify(), 43 '../../../../../yaml/xyz/openbmc_project/Sensor/Threshold/Critical.interface.yaml', 57 'xyz/openbmc_project/Sensor/Threshold/Critical', 65 'xyz/openbmc_project/Sensor/Threshold/HardShutdown__markdown'.underscorify(), 67 '../../../../../yaml/xyz/openbmc_project/Sensor/Threshold/HardShutdown.interface.yaml', 81 'xyz/openbmc_project/Sensor/Threshold/HardShutdown', [all …]
|
/openbmc/phosphor-health-monitor/ |
H A D | bmc_health_config_json.md | 38 - This indicates the number of samples being used for threshold value 46 - `Threshold` 47 - The following threshold levels (with bounds) are supported. 58 - Threshold may have following attributes 60 - This indicates the percentage value at which specific threshold gets 62 - For lower bound, the threshold gets asserted if metric value falls 63 below the specified threshold percentage value. 64 - For upper bound, the threshold gets asserted if metric value goes 65 beyond the specified threshold percentage value. 67 shall be logged when threshold gets asserted. [all …]
|
/openbmc/phosphor-fan-presence/monitor/config_files/p10bmc/com.ibm.Hardware.Chassis.Model.Rainier2U/ |
H A D | config.json | 18 "threshold": 30, number 23 "threshold": 30, number 43 "threshold": 30, number 48 "threshold": 30, number 68 "threshold": 30, number 73 "threshold": 30, number 93 "threshold": 30, number 98 "threshold": 30, number 118 "threshold": 30, number 123 "threshold": 30, number [all …]
|
/openbmc/phosphor-fan-presence/monitor/config_files/p10bmc/com.ibm.Hardware.Chassis.Model.BlueRidge2U/ |
H A D | config.json | 18 "threshold": 45, number 23 "threshold": 45, number 43 "threshold": 45, number 48 "threshold": 45, number 68 "threshold": 45, number 73 "threshold": 45, number 93 "threshold": 45, number 98 "threshold": 45, number 118 "threshold": 45, number 123 "threshold": 45, number [all …]
|
/openbmc/phosphor-dbus-interfaces/yaml/xyz/openbmc_project/Common/ |
H A D | Threshold.interface.yaml | 2 Provides threshold functionality for Metrics and Sensors. Any object 3 implementing Threshold interface must implement a Value interface at 10 This indicates the threshold ranges applicable for the corresponding 26 This indicates the assertion change for a threshold. 31 This indicates the threshold type for the assertion. 35 This indicates the threshold bound for the assertion. 49 This indicates the type of threshold. 68 This indicates the threshold direction. 72 Indicates the upper bound of the threshold. 75 Indicates the lower bound of the threshold.
|
/openbmc/phosphor-dbus-interfaces/yaml/xyz/openbmc_project/Sensor/Threshold/ |
H A D | SoftShutdown.interface.yaml | 3 implementing Sensor.Threshold.Shutdown must be instantiated in the correct 20 Additionally, any object implementing Sensor.Threshold.SoftShutdown must 28 The upper bound of the soft shutdown threshold. A value of 'NaN' is 29 used to indicate there is no threshold of this type. 34 The lower bound of the soft shutdown threshold. A value of 'NaN' is 35 used to indicate there is no threshold of this type. 56 The high threshold alarm asserted. 64 The high threshold alarm deasserted. 72 The low threshold alarm asserted. 80 The low threshold alarm deasserted.
|
H A D | PerformanceLoss.interface.yaml | 3 implementing Sensor.Threshold.PerformanceLoss must be instantiated in the 20 Additionally, any object implementing Sensor.Threshold.PerformanceLoss must 28 The upper bound of the warning threshold. A value of 'NaN' is used to 29 indicate there is no threshold of this type. 34 The lower bound of the warning threshold. A value of 'NaN' is used to 35 indicate there is no threshold of this type. 57 The high threshold alarm asserted. 65 The high threshold alarm deasserted. 73 The low threshold alarm asserted. 81 The low threshold alarm deasserted.
|
H A D | HardShutdown.interface.yaml | 4 implementing Sensor.Threshold.HardShutdown must be instantiated in the 21 Additionally, any object implementing Sensor.Threshold.HardShutdown must 29 The upper bound of the shutdown threshold. A value of 'NaN' is used 30 to indicate there is no threshold of this type. 35 The lower bound of the shutdown threshold. A value of 'NaN' is used 36 to indicate there is no threshold of this type. 57 The high threshold alarm asserted. 65 The high threshold alarm deasserted. 73 The low threshold alarm asserted. 81 The low threshold alarm deasserted.
|
H A D | Warning.interface.yaml | 3 Sensor.Threshold.Warning must be instantiated in the correct hierarchy 20 Additionally, any object implementing Sensor.Threshold.Warning must also 28 The upper bound of the warning threshold. A value of 'NaN' is used to 29 indicate there is no threshold of this type. 34 The lower bound of the warning threshold. A value of 'NaN' is used to 35 indicate there is no threshold of this type. 55 The high threshold alarm asserted. 63 The high threshold alarm deasserted. 71 The low threshold alarm asserted. 79 The low threshold alarm deasserted.
|
H A D | Critical.interface.yaml | 3 Sensor.Threshold.Critical must be instantiated in the correct hierarchy 20 Additionally, any object implementing Sensor.Threshold.Critical must also 28 The upper bound of the critical threshold. A value of 'NaN' is used 29 to indicate there is no threshold of this type. 34 The lower bound of the critical threshold. A value of 'NaN' is used 35 to indicate there is no threshold of this type. 55 The high threshold alarm asserted. 63 The high threshold alarm deasserted. 71 The low threshold alarm asserted. 79 The low threshold alarm deasserted.
|
/openbmc/openbmc/meta-facebook/meta-catalina/recipes-phosphor/fans/phosphor-fan/catalina/ |
H A D | config.json | 17 "threshold": 5, number 26 "threshold": 5, number 46 "threshold": 5, number 55 "threshold": 5, number 75 "threshold": 5, number 84 "threshold": 5, number 104 "threshold": 5, number 113 "threshold": 5, number 133 "threshold": 5, number 142 "threshold": 5, number [all …]
|
/openbmc/qemu/include/block/ |
H A D | write-threshold.h | 2 * QEMU System Emulator block write threshold notification 19 * Set the write threshold for block devices, in bytes. 20 * Notify when a write exceeds the threshold, meaning the device 31 * Get the configured write threshold, in bytes. 32 * Zero means no threshold configured. 39 * Check whether the specified request exceeds the write threshold. 40 * If so, send a corresponding event and disable write threshold checking.
|
/openbmc/phosphor-fan-presence/monitor/config_files/p10bmc/com.ibm.Hardware.Chassis.Model.Everest/ |
H A D | config.json | 16 "threshold": 45, number 21 "threshold": 45, number 39 "threshold": 45, number 44 "threshold": 45, number 62 "threshold": 45, number 67 "threshold": 45, number 85 "threshold": 45, number 90 "threshold": 45, number
|
/openbmc/phosphor-fan-presence/monitor/config_files/p10bmc/com.ibm.Hardware.Chassis.Model.Fuji/ |
H A D | config.json | 16 "threshold": 45, number 21 "threshold": 45, number 39 "threshold": 45, number 44 "threshold": 45, number 62 "threshold": 45, number 67 "threshold": 45, number 85 "threshold": 45, number 90 "threshold": 45, number
|