This commit is contained in:
garnier-quentin 2019-07-04 17:12:41 +02:00
parent 6e5871afab
commit 1d1efd1a7d
1 changed files with 1 additions and 1 deletions

View File

@ -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}));