File tree Expand file tree Collapse file tree 3 files changed +3
-3
lines changed
src/hardware/server/lenovo/xcc/snmp/mode/components Expand file tree Collapse file tree 3 files changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -36,7 +36,7 @@ sub check {
36
36
$self -> {components }-> {cpu }-> {total }++;
37
37
38
38
$self -> {output }-> output_add(long_msg => sprintf (" '%s ' status is %s [instance: %s ]." ,
39
- $result -> {cpuStatus }, $result -> {cpuString }, $instance ));
39
+ $result -> {cpuString }, $result -> {cpuStatus }, $instance ));
40
40
41
41
my $exit = $self -> get_severity(label => ' default' , section => ' default' , value => $result -> {cpuStatus });
42
42
if (!$self -> {output }-> is_status(value => $exit , compare => ' ok' , litteral => 1)) {
Original file line number Diff line number Diff line change @@ -55,7 +55,7 @@ sub check {
55
55
$self -> {components }-> {health }-> {total }++;
56
56
57
57
$self -> {output }-> output_add(long_msg => sprintf (" health '%s ' status is %s [instance: %s ]." ,
58
- $result -> {healthStatus }, $result -> {healthString }, $instance ));
58
+ $result -> {healthString }, $result -> {healthStatus }, $instance ));
59
59
60
60
my $exit = $self -> get_severity(label => ' default' , section => ' default' , value => $result -> {healthStatus });
61
61
if (!$self -> {output }-> is_status(value => $exit , compare => ' ok' , litteral => 1)) {
Original file line number Diff line number Diff line change @@ -36,7 +36,7 @@ sub check {
36
36
$self -> {components }-> {memory }-> {total }++;
37
37
38
38
$self -> {output }-> output_add(long_msg => sprintf (" '%s ' status is %s [instance: %s ]." ,
39
- $result -> {memoryStatus }, $result -> {memoryString }, $instance ));
39
+ $result -> {memoryString }, $result -> {memoryStatus }, $instance ));
40
40
41
41
my $exit = $self -> get_severity(label => ' default' , section => ' default' , value => $result -> {memoryStatus });
42
42
if (!$self -> {output }-> is_status(value => $exit , compare => ' ok' , litteral => 1)) {
You can’t perform that action at this time.
0 commit comments