From 5bbf19a5d00b5b882687d2482f8aca2ccc8ddf01 Mon Sep 17 00:00:00 2001 From: Kevin Duret Date: Fri, 31 Jan 2014 11:47:37 +0100 Subject: [PATCH] Add type to output --- hardware/server/dell/openmanage/mode/components/psu.pm | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/hardware/server/dell/openmanage/mode/components/psu.pm b/hardware/server/dell/openmanage/mode/components/psu.pm index 92fa79c35..b7f9aeeb4 100644 --- a/hardware/server/dell/openmanage/mode/components/psu.pm +++ b/hardware/server/dell/openmanage/mode/components/psu.pm @@ -106,9 +106,9 @@ sub check { my $psu_ConfigurationErrorType = $result->{$oid__powerSupplyConfigurationErrorType . '.' . $instance}; $self->{components}->{psu}->{total}++; - $self->{output}->output_add(long_msg => sprintf("psu %d status is %s, state is %s [chassis: %d].", + $self->{output}->output_add(long_msg => sprintf("psu %d status is %s, state is %s [chassis: %d, type: %d].", $psu_Index, ${$status{$psu_Status}}[0], ${$state{$psu_SensorState}}[0], - $chassis_Index + $chassis_Index, ${$type{$psu_Type}}[0] )); if ($psu_Status != 3) { $self->{output}->output_add(severity => ${$status{$psu_Status}}[1],