From 5530a6ce36a60173a719f1e613504d65c2e21db6 Mon Sep 17 00:00:00 2001 From: qgarnier Date: Thu, 10 Aug 2017 13:36:20 +0200 Subject: [PATCH] fix unitialized value --- hardware/server/hp/proliant/snmp/mode/components/lnic.pm | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/hardware/server/hp/proliant/snmp/mode/components/lnic.pm b/hardware/server/hp/proliant/snmp/mode/components/lnic.pm index abf51302c..211f08429 100644 --- a/hardware/server/hp/proliant/snmp/mode/components/lnic.pm +++ b/hardware/server/hp/proliant/snmp/mode/components/lnic.pm @@ -86,10 +86,10 @@ sub check { my $exit = $self->get_severity(section => 'lnic', value => $result3->{cpqNicIfLogMapCondition}); if (!$self->{output}->is_status(value => $exit, compare => 'ok', litteral => 1)) { $self->{output}->output_add(severity => $exit, - short_msg => sprintf("logical nic '%s' is %s (%s)", + short_msg => sprintf("logical nic '%s' is %s", $instance, $result3->{cpqNicIfLogMapCondition})); } } } -1; \ No newline at end of file +1;