| # Top-level configuration groups |
| cfg_groups { |
| key: "repairability_basic_cfg_group" |
| value { |
| req_fqp_names: "temperature" |
| req_fqp_names: "fan" |
| } |
| } |
| |
| # Second-level FQP configurations |
| req_fqp_configs { |
| key: "fan" |
| value { |
| req_fqp { |
| fqp { |
| specifier: "/redfish/v1/Chassis/MyBMC/Sensors/fantach_fan0_tach" |
| type: FQP_TYPE_REDFISH_RESOURCE |
| } |
| priority: FQP_PRI_HIG |
| mode: SAMPLING_MODE_THRESHOLD |
| encoding: ENCODING_PROTO_KEYVALUE |
| variant_fields_only: true |
| threshold_config: "normal" |
| req_fqp_name: "fantach_fan0_tach" |
| } |
| req_fqp { |
| fqp { |
| specifier: "/redfish/v1/Chassis/MyBMC/Sensors/fantach_fan1_tach" |
| type: FQP_TYPE_REDFISH_RESOURCE |
| } |
| priority: FQP_PRI_HIG |
| mode: SAMPLING_MODE_THRESHOLD |
| encoding: ENCODING_PROTO_KEYVALUE |
| variant_fields_only: true |
| threshold_config: "normal" |
| req_fqp_name: "fantach_fan1_tach" |
| } |
| req_fqp { |
| fqp { |
| specifier: "/redfish/v1/Chassis/MyBMC/Sensors/fantach_fan2_tach" |
| type: FQP_TYPE_REDFISH_RESOURCE |
| } |
| priority: FQP_PRI_HIG |
| mode: SAMPLING_MODE_THRESHOLD |
| encoding: ENCODING_PROTO_KEYVALUE |
| variant_fields_only: true |
| threshold_config: "normal" |
| req_fqp_name: "fantach_fan2_tach" |
| } |
| req_fqp { |
| fqp { |
| specifier: "/redfish/v1/Chassis/MyBMC/Sensors/fantach_fan3_tach" |
| type: FQP_TYPE_REDFISH_RESOURCE |
| } |
| priority: FQP_PRI_HIG |
| mode: SAMPLING_MODE_THRESHOLD |
| encoding: ENCODING_PROTO_KEYVALUE |
| variant_fields_only: true |
| threshold_config: "normal" |
| req_fqp_name: "fantach_fan3_tach" |
| } |
| req_fqp { |
| fqp { |
| specifier: "/redfish/v1/Chassis/MyPSU/Sensors/fantach_fan4_tach" |
| type: FQP_TYPE_REDFISH_RESOURCE |
| } |
| priority: FQP_PRI_HIG |
| mode: SAMPLING_MODE_THRESHOLD |
| encoding: ENCODING_PROTO_KEYVALUE |
| variant_fields_only: true |
| threshold_config: "normal" |
| req_fqp_name: "fantach_fan4_tach" |
| } |
| req_fqp { |
| fqp { |
| specifier: "/redfish/v1/Chassis/MyPSU/Sensors/fantach_fan5_tach" |
| type: FQP_TYPE_REDFISH_RESOURCE |
| } |
| priority: FQP_PRI_HIG |
| mode: SAMPLING_MODE_THRESHOLD |
| encoding: ENCODING_PROTO_KEYVALUE |
| variant_fields_only: true |
| threshold_config: "normal" |
| req_fqp_name: "fantach_fan5_tach" |
| } |
| } |
| } |
| |
| req_fqp_configs { |
| key: "temperature" |
| value { |
| req_fqp { |
| fqp { |
| specifier: "/redfish/v1/Chassis/MyBMC/Sensors/temperature_CPU0_NBM_T" |
| type: FQP_TYPE_REDFISH_RESOURCE |
| } |
| priority: FQP_PRI_MED |
| mode: SAMPLING_MODE_THRESHOLD |
| encoding: ENCODING_PROTO_KEYVALUE |
| variant_fields_only: true |
| threshold_config: "normal" |
| req_fqp_name: "temperature_CPU0_NBM_T" |
| } |
| req_fqp { |
| fqp { |
| specifier: "/redfish/v1/Chassis/MyBMC/Sensors/temperature_CPU1_NBM_T" |
| type: FQP_TYPE_REDFISH_RESOURCE |
| } |
| priority: FQP_PRI_MED |
| mode: SAMPLING_MODE_THRESHOLD |
| encoding: ENCODING_PROTO_KEYVALUE |
| variant_fields_only: true |
| threshold_config: "normal" |
| req_fqp_name: "temperature_CPU1_NBM_T" |
| } |
| req_fqp { |
| fqp { |
| specifier: "/redfish/v1/Chassis/MyPSU/Sensors/temperature_BRICK1_P12V_T" |
| type: FQP_TYPE_REDFISH_RESOURCE |
| } |
| priority: FQP_PRI_HIG |
| mode: SAMPLING_MODE_THRESHOLD |
| encoding: ENCODING_PROTO_KEYVALUE |
| variant_fields_only: true |
| threshold_config: "normal" |
| req_fqp_name: "temperature_BRICK1_P12V_T" |
| } |
| } |
| } |
| |
| # Threshold configurations |
| threshold_config { |
| key: "fantach_fan4_tach" |
| value { |
| # Set pwm to 30 to enter this range (8192) |
| threshold { |
| index: 0 # lower_critical |
| sample_frequency_expect_ns: 5000000 # 5ms |
| export_frequency_ns: 500000000 # 500ms |
| cross_above_value { double_val: 8300 } |
| name: "lower_critical" |
| } |
| # Set pwm to 40 to enter this range (10000) |
| threshold { |
| index: 1 # lower_caution |
| sample_frequency_expect_ns: 50000000 # 50ms |
| export_frequency_ns: 5000000000 # 5s |
| cross_above_value { double_val: 10500 } |
| cross_below_value { double_val: 8300 } |
| name: "lower_caution" |
| } |
| # Set pwm to 50 to enter this range (11700) |
| threshold { |
| index: 2 # normal |
| sample_frequency_expect_ns: 1000000000 # 1s |
| export_frequency_ns: 10000000000 # 10s |
| cross_above_value { double_val: 14000 } |
| cross_below_value { double_val: 10500 } |
| name: "normal" |
| } |
| # Set pwm to 60 to enter this range (13653) |
| threshold { |
| index: 3 # upper_caution |
| sample_frequency_expect_ns: 50000000 # 50ms |
| export_frequency_ns: 5000000000 # 5s |
| cross_above_value { double_val: 15500 } |
| cross_below_value { double_val: 14000 } |
| name: "upper_caution" |
| } |
| # Set pwm to 80 to enter this range (19275) |
| threshold { |
| index: 4 # upper_critical |
| sample_frequency_expect_ns: 5000000 # 5ms |
| export_frequency_ns: 500000000 # 500ms |
| cross_below_value { double_val: 15500 } |
| name: "upper_critical" |
| } |
| } |
| } |
| |
| threshold_config { |
| key: "fantach_fan0_tach" |
| value { |
| threshold { |
| index: 0 # lower_critical |
| sample_frequency_expect_ns: 5000000 # 5ms |
| export_frequency_ns: 500000000 # 500ms |
| cross_above_value { double_val: 3275 } |
| name: "lower_critical" |
| } |
| threshold { |
| index: 1 # lower_caution |
| sample_frequency_expect_ns: 50000000 # 50ms |
| export_frequency_ns: 5000000000 # 5s |
| cross_above_value { double_val: 4000 } |
| cross_below_value { double_val: 3275 } |
| name: "lower_caution" |
| } |
| threshold { |
| index: 2 # normal |
| sample_frequency_expect_ns: 1000000000 # 1s |
| export_frequency_ns: 10000000000 # 10s |
| cross_above_value { double_val: 5560 } |
| cross_below_value { double_val: 4000 } |
| name: "normal" |
| } |
| threshold { |
| index: 3 # upper_caution |
| sample_frequency_expect_ns: 50000000 # 50ms |
| export_frequency_ns: 5000000000 # 5s |
| cross_above_value { double_val: 6150 } |
| cross_below_value { double_val: 5560 } |
| name: "upper_caution" |
| } |
| threshold { |
| index: 4 # upper_critical |
| sample_frequency_expect_ns: 5000000 # 5ms |
| export_frequency_ns: 500000000 # 500ms |
| cross_below_value { double_val: 6150 } |
| name: "upper_critical" |
| } |
| } |
| } |
| |
| threshold_config { |
| key: "fantach_fan1_tach" |
| value { |
| threshold { |
| index: 0 # lower_critical |
| sample_frequency_expect_ns: 5000000 # 5ms |
| export_frequency_ns: 500000000 # 500ms |
| cross_above_value { double_val: 3260 } |
| name: "lower_critical" |
| } |
| threshold { |
| index: 1 # lower_caution |
| sample_frequency_expect_ns: 50000000 # 50ms |
| export_frequency_ns: 5000000000 # 5s |
| cross_above_value { double_val: 3980 } |
| cross_below_value { double_val: 3260 } |
| name: "lower_caution" |
| } |
| threshold { |
| index: 2 # normal |
| sample_frequency_expect_ns: 1000000000 # 1s |
| export_frequency_ns: 10000000000 # 10s |
| cross_above_value { double_val: 5540 } |
| cross_below_value { double_val: 3980 } |
| name: "normal" |
| } |
| threshold { |
| index: 3 # upper_caution |
| sample_frequency_expect_ns: 50000000 # 50ms |
| export_frequency_ns: 5000000000 # 5s |
| cross_above_value { double_val: 6120 } |
| cross_below_value { double_val: 5540 } |
| name: "upper_caution" |
| } |
| threshold { |
| index: 4 # upper_critical |
| sample_frequency_expect_ns: 5000000 # 5ms |
| export_frequency_ns: 500000000 # 500ms |
| cross_below_value { double_val: 6120 } |
| name: "upper_critical" |
| } |
| } |
| } |
| |
| threshold_config { |
| key: "fantach_fan2_tach" |
| value { |
| threshold { |
| index: 0 # lower_critical |
| sample_frequency_expect_ns: 5000000 # 5ms |
| export_frequency_ns: 500000000 # 500ms |
| cross_above_value { double_val: 7710 } |
| name: "lower_critical" |
| } |
| threshold { |
| index: 1 # lower_caution |
| sample_frequency_expect_ns: 50000000 # 50ms |
| export_frequency_ns: 5000000000 # 5s |
| cross_above_value { double_val: 9420 } |
| cross_below_value { double_val: 7710 } |
| name: "lower_caution" |
| } |
| threshold { |
| index: 2 # normal |
| sample_frequency_expect_ns: 1000000000 # 1s |
| export_frequency_ns: 10000000000 # 10s |
| cross_above_value { double_val: 13110 } |
| cross_below_value { double_val: 9420 } |
| name: "normal" |
| } |
| threshold { |
| index: 3 # upper_caution |
| sample_frequency_expect_ns: 50000000 # 50ms |
| export_frequency_ns: 5000000000 # 5s |
| cross_above_value { double_val: 14500 } |
| cross_below_value { double_val: 13110 } |
| name: "upper_caution" |
| } |
| threshold { |
| index: 4 # upper_critical |
| sample_frequency_expect_ns: 5000000 # 5ms |
| export_frequency_ns: 500000000 # 500ms |
| cross_below_value { double_val: 14500 } |
| name: "upper_critical" |
| } |
| } |
| } |
| |
| threshold_config { |
| key: "fantach_fan3_tach" |
| value { |
| threshold { |
| index: 0 # lower_critical |
| sample_frequency_expect_ns: 5000000 # 5ms |
| export_frequency_ns: 500000000 # 500ms |
| cross_above_value { double_val: 7710 } |
| name: "lower_critical" |
| } |
| threshold { |
| index: 1 # lower_caution |
| sample_frequency_expect_ns: 50000000 # 50ms |
| export_frequency_ns: 5000000000 # 5s |
| cross_above_value { double_val: 9420 } |
| cross_below_value { double_val: 7710 } |
| name: "lower_caution" |
| } |
| threshold { |
| index: 2 # normal |
| sample_frequency_expect_ns: 1000000000 # 1s |
| export_frequency_ns: 10000000000 # 10s |
| cross_above_value { double_val: 13110 } |
| cross_below_value { double_val: 9420 } |
| name: "normal" |
| } |
| threshold { |
| index: 3 # upper_caution |
| sample_frequency_expect_ns: 50000000 # 50ms |
| export_frequency_ns: 5000000000 # 5s |
| cross_above_value { double_val: 14500 } |
| cross_below_value { double_val: 13110 } |
| name: "upper_caution" |
| } |
| threshold { |
| index: 4 # upper_critical |
| sample_frequency_expect_ns: 5000000 # 5ms |
| export_frequency_ns: 500000000 # 500ms |
| cross_below_value { double_val: 14500 } |
| name: "upper_critical" |
| } |
| } |
| } |
| |
| threshold_config { |
| key: "fantach_fan5_tach" |
| value { |
| threshold { |
| index: 0 # lower_critical |
| sample_frequency_expect_ns: 5000000 # 5ms |
| export_frequency_ns: 500000000 # 500ms |
| cross_above_value { double_val: 16520 } |
| name: "lower_critical" |
| } |
| threshold { |
| index: 1 # lower_caution |
| sample_frequency_expect_ns: 50000000 # 50ms |
| export_frequency_ns: 5000000000 # 5s |
| cross_above_value { double_val: 20180 } |
| cross_below_value { double_val: 16520 } |
| name: "lower_caution" |
| } |
| threshold { |
| index: 2 # normal |
| sample_frequency_expect_ns: 1000000000 # 1s |
| export_frequency_ns: 10000000000 # 10s |
| cross_above_value { double_val: 28090 } |
| cross_below_value { double_val: 20180 } |
| name: "normal" |
| } |
| threshold { |
| index: 3 # upper_caution |
| sample_frequency_expect_ns: 50000000 # 50ms |
| export_frequency_ns: 5000000000 # 5s |
| cross_above_value { double_val: 31090 } |
| cross_below_value { double_val: 28090 } |
| name: "upper_caution" |
| } |
| threshold { |
| index: 4 # upper_critical |
| sample_frequency_expect_ns: 5000000 # 5ms |
| export_frequency_ns: 500000000 # 500ms |
| cross_below_value { double_val: 31090 } |
| name: "upper_critical" |
| } |
| } |
| } |
| |
| threshold_config { |
| key: "temperature_CPU0_NBM_T" |
| value { |
| threshold { |
| index: 0 # normal |
| sample_frequency_expect_ns: 1000000000 # 1s |
| export_frequency_ns: 10000000000 # 10s |
| cross_above_value { double_val: 70.0 } |
| name: "normal" |
| } |
| threshold { |
| index: 1 # caution |
| sample_frequency_expect_ns: 50000000 # 50ms |
| export_frequency_ns: 5000000000 # 5s |
| cross_above_value { double_val: 80.0 } |
| cross_below_value { double_val: 70.0 } |
| name: "caution" |
| } |
| threshold { |
| index: 2 # warning |
| sample_frequency_expect_ns: 50000000 # 50ms |
| export_frequency_ns: 5000000000 # 5s |
| cross_above_value { double_val: 100.0 } |
| cross_below_value { double_val: 80.0 } |
| name: "warning" |
| } |
| threshold { |
| index: 3 # critical |
| sample_frequency_expect_ns: 5000000 # 5ms |
| export_frequency_ns: 500000000 # 500ms |
| cross_above_value { double_val: 105.0 } |
| cross_below_value { double_val: 100.0 } |
| name: "critical" |
| } |
| threshold { |
| index: 4 # fatal |
| sample_frequency_expect_ns: 5000000 # 5ms |
| export_frequency_ns: 500000000 # 500ms |
| cross_above_value { double_val: 105.0 } |
| name: "fatal" |
| } |
| } |
| } |
| |
| threshold_config { |
| key: "temperature_CPU1_NBM_T" |
| value { |
| threshold { |
| index: 0 # normal |
| sample_frequency_expect_ns: 1000000000 # 1s |
| export_frequency_ns: 10000000000 # 10s |
| cross_above_value { double_val: 70.0 } |
| name: "normal" |
| } |
| threshold { |
| index: 1 # caution |
| sample_frequency_expect_ns: 50000000 # 50ms |
| export_frequency_ns: 5000000000 # 5s |
| cross_above_value { double_val: 80.0 } |
| cross_below_value { double_val: 70.0 } |
| name: "caution" |
| } |
| threshold { |
| index: 2 # warning |
| sample_frequency_expect_ns: 50000000 # 50ms |
| export_frequency_ns: 5000000000 # 5s |
| cross_above_value { double_val: 100.0 } |
| cross_below_value { double_val: 80.0 } |
| name: "warning" |
| } |
| threshold { |
| index: 3 # critical |
| sample_frequency_expect_ns: 5000000 # 5ms |
| export_frequency_ns: 500000000 # 500ms |
| cross_above_value { double_val: 105.0 } |
| cross_below_value { double_val: 100.0 } |
| name: "critical" |
| } |
| threshold { |
| index: 4 # fatal |
| sample_frequency_expect_ns: 5000000 # 5ms |
| export_frequency_ns: 500000000 # 500ms |
| cross_above_value { double_val: 105.0 } |
| name: "fatal" |
| } |
| } |
| } |
| |
| threshold_config { |
| key: "temperature_BRICK1_P12V_T" |
| value { |
| threshold { |
| index: 0 # normal |
| sample_frequency_expect_ns: 1000000000 # 1s |
| export_frequency_ns: 10000000000 # 10s |
| cross_above_value { double_val: 70.0 } |
| name: "normal" |
| } |
| threshold { |
| index: 1 # caution |
| sample_frequency_expect_ns: 50000000 # 50ms |
| export_frequency_ns: 5000000000 # 5s |
| cross_above_value { double_val: 85.0 } |
| cross_below_value { double_val: 70.0 } |
| name: "caution" |
| } |
| threshold { |
| index: 2 # warning |
| sample_frequency_expect_ns: 50000000 # 50ms |
| export_frequency_ns: 5000000000 # 5s |
| cross_above_value { double_val: 108.0 } |
| cross_below_value { double_val: 85.0 } |
| name: "warning" |
| } |
| threshold { |
| index: 3 # critical |
| sample_frequency_expect_ns: 5000000 # 5ms |
| export_frequency_ns: 500000000 # 500ms |
| cross_above_value { double_val: 113.0 } |
| cross_below_value { double_val: 108.0 } |
| name: "critical" |
| } |
| threshold { |
| index: 4 # fatal |
| sample_frequency_expect_ns: 5000000 # 5ms |
| export_frequency_ns: 500000000 # 500ms |
| cross_above_value { double_val: 113.0 } |
| name: "fatal" |
| } |
| } |
| } |