mirror of
https://github.com/centreon/centreon-plugins.git
synced 2025-07-27 15:44:21 +02:00
+ fix little switch in get_severity call
This commit is contained in:
parent
9482009f14
commit
740c5cc52f
@ -74,7 +74,7 @@ sub check {
|
|||||||
|
|
||||||
$self->{components}->{iocard}->{total}++;
|
$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)) {
|
if (!$self->{output}->is_status(value => $exit, compare => 'ok', litteral => 1)) {
|
||||||
$self->{output}->output_add(severity => $exit,
|
$self->{output}->output_add(severity => $exit,
|
||||||
short_msg => sprintf("IO cards '%s' state is '%s'.",
|
short_msg => sprintf("IO cards '%s' state is '%s'.",
|
||||||
|
Loading…
x
Reference in New Issue
Block a user