parent
f411e4fb79
commit
3f024a52ad
|
@ -94,7 +94,7 @@ sub check {
|
|||
$key =~ /\.(\d+)$/;
|
||||
my $cpu_Index = $1;
|
||||
|
||||
my $cpu_Status = $result->{$_};
|
||||
my $cpu_Status = $result->{$key};
|
||||
my $cpu_ManufacturerName = $result2->{$oid_cpuManufacturerName . '.' . $cpu_Index};
|
||||
my $cpu_StatusState = $result2->{$oid_cpuStatusState . '.' . $cpu_Index};
|
||||
my $cpu_CurrentSpeed = $result->{$oid_cpuCurrentSpeed . '.' . $cpu_Index};
|
||||
|
|
|
@ -77,7 +77,7 @@ sub check {
|
|||
my ($chassis_Index, $fan_Index) = ($1, $2);
|
||||
my $instance = $chassis_Index . '.' . $fan_Index;
|
||||
|
||||
my $fan_Status = $result->{$_};
|
||||
my $fan_Status = $result->{$key};
|
||||
my $fan_Reading = $result2->{$oid_coolingDeviceReading . '.' . $instance};
|
||||
my $fan_LocationName = $result->{$oid_coolingDeviceLocationName . '.' . $instance};
|
||||
|
||||
|
|
|
@ -103,7 +103,7 @@ sub check {
|
|||
my ($chassis_Index, $psu_Index) = ($1, $2);
|
||||
my $instance = $chassis_Index . '.' . $psu_Index;
|
||||
|
||||
my $psu_Status = $result->{$_};
|
||||
my $psu_Status = $result->{$key};
|
||||
my $psu_Type = $result2->{$oid_powerSupplyType . '.' . $instance};
|
||||
my $psu_SensorState = $result->{$oid__powerSupplySensorState . '.' . $instance};
|
||||
my $psu_ConfigurationErrorType = $result->{$oid__powerSupplyConfigurationErrorType . '.' . $instance};
|
||||
|
|
|
@ -90,7 +90,7 @@ sub check {
|
|||
my ($chassis_Index, $temperature_Index) = ($1, $2);
|
||||
my $instance = $chassis_Index . '.' . $temperature_Index;
|
||||
|
||||
my $temperature_Status = $result->{$_};
|
||||
my $temperature_Status = $result->{$key};
|
||||
my $temperature_Reading = $result2->{$oid_temperatureProbeReading . '.' . $instance};
|
||||
my $temperature_Type = $result2->{$oid_temperatureProbeType . '.' . $instance};
|
||||
my $temperature_LocationName = $result->{$oid_temperatureProbeLocationName . '.' . $instance};
|
||||
|
|
Loading…
Reference in New Issue