mirror of
https://github.com/centreon/centreon-plugins.git
synced 2025-07-25 22:55:15 +02:00
Fix nsclient++ new API
This commit is contained in:
parent
76d46aa803
commit
6d98241bc7
@ -142,7 +142,7 @@ sub output_perf {
|
|||||||
|
|
||||||
my $result = 'UNKNOWN';
|
my $result = 'UNKNOWN';
|
||||||
$result = $errors_num{$options{result}} if ($options{result} =~ /[0-3]/);
|
$result = $errors_num{$options{result}} if ($options{result} =~ /[0-3]/);
|
||||||
$result = $options{result}if ($options{result} =~ /\w+/);
|
$result = $options{result} if ($options{result} =~ /[A-Z]+/);
|
||||||
|
|
||||||
my %result = (
|
my %result = (
|
||||||
code => $result,
|
code => $result,
|
||||||
|
Loading…
x
Reference in New Issue
Block a user