From 740c5cc52f560e10631a4d22becf81bb88d0c7cf Mon Sep 17 00:00:00 2001 From: Sims24 Date: Thu, 14 Jan 2016 21:51:10 +0100 Subject: [PATCH] + fix little switch in get_severity call --- hardware/server/cisco/ucs/mode/components/iocard.pm | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/hardware/server/cisco/ucs/mode/components/iocard.pm b/hardware/server/cisco/ucs/mode/components/iocard.pm index b3808608f..f22c86b5d 100644 --- a/hardware/server/cisco/ucs/mode/components/iocard.pm +++ b/hardware/server/cisco/ucs/mode/components/iocard.pm @@ -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'.",