Fix #1572
This commit is contained in:
parent
6e5871afab
commit
1d1efd1a7d
|
@ -76,7 +76,7 @@ sub check {
|
|||
$result->{cpqRackCommonEnclosureFWRev}
|
||||
)
|
||||
);
|
||||
my $exit = $self->get_severity(label => 'default', section => 'enclosure', value => $$result->{cpqRackCommonEnclosureCondition});
|
||||
my $exit = $self->get_severity(label => 'default', section => 'enclosure', value => $result->{cpqRackCommonEnclosureCondition});
|
||||
if (!$self->{output}->is_status(value => $exit, compare => 'ok', litteral => 1)) {
|
||||
$self->{output}->output_add(severity => $exit,
|
||||
short_msg => sprintf("Enclosure '%s' overall health condition is %s", $instance, $result->{cpqRackCommonEnclosureCondition}));
|
||||
|
|
Loading…
Reference in New Issue