From 1363c96e290fef24c5b6dc3e70d019879c971a01 Mon Sep 17 00:00:00 2001 From: Florian Schlichting Date: Tue, 14 Nov 2023 15:36:39 +0100 Subject: [PATCH] fix HELP for temperature_sensor_health (use HealthHelp instead of StateHelp) --- collector/chassis_collector.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/collector/chassis_collector.go b/collector/chassis_collector.go index 5392958..3052384 100755 --- a/collector/chassis_collector.go +++ b/collector/chassis_collector.go @@ -46,7 +46,7 @@ func createChassisMetricMap() map[string]Metric { addToMetricMap(chassisMetrics, ChassisSubsystem, "model_info", "organization responsible for producing the chassis, the name by which the manufacturer generally refers to the chassis, and a part number and sku assigned by the organization that is responsible for producing or manufacturing the chassis", ChassisModel) addToMetricMap(chassisMetrics, ChassisSubsystem, "temperature_sensor_state", fmt.Sprintf("status state of temperature on this chassis component,%s", CommonStateHelp), ChassisTemperatureLabelNames) - addToMetricMap(chassisMetrics, ChassisSubsystem, "temperature_sensor_health", fmt.Sprintf("status health of temperature on this chassis component,%s", CommonStateHelp), ChassisTemperatureLabelNames) + addToMetricMap(chassisMetrics, ChassisSubsystem, "temperature_sensor_health", fmt.Sprintf("health of temperature on this chassis component,%s", CommonHealthHelp), ChassisTemperatureLabelNames) addToMetricMap(chassisMetrics, ChassisSubsystem, "temperature_celsius", "celsius of temperature on this chassis component", ChassisTemperatureLabelNames) addToMetricMap(chassisMetrics, ChassisSubsystem, "fan_health", fmt.Sprintf("fan health on this chassis component,%s", CommonHealthHelp), ChassisFanLabelNames)