+ fix little switch in get_severity call

This commit is contained in:
Sims24 2016-01-14 21:51:10 +01:00
parent fcc9a8b6c6
commit 9eed56aba2
1 changed files with 1 additions and 1 deletions

View File

@ -74,7 +74,7 @@ sub check {
$self->{components}->{iocard}->{total}++;
$exit = $self->get_severity(section => 'default.operability', label => 'iocard.operability', value => $result2->{cucsEquipmentIOCardOperState});
$exit = $self->get_severity(section => 'iocard.operability', label => 'default.operability', value => $result2->{cucsEquipmentIOCardOperState});
if (!$self->{output}->is_status(value => $exit, compare => 'ok', litteral => 1)) {
$self->{output}->output_add(severity => $exit,
short_msg => sprintf("IO cards '%s' state is '%s'.",