Merge pull request #1337 from CPbN/netapp

Netapp Typo
This commit is contained in:
qgarnier 2019-01-14 13:15:53 +01:00 committed by GitHub
commit 7c054f89fb
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 3 additions and 3 deletions

View File

@ -114,10 +114,10 @@ sub run {
my $exit = $self->{perfdata}->threshold_check(value => $lag, threshold => [ { label => 'critical', 'exit_litteral' => 'critical' }, { label => 'warning', exit_litteral => 'warning' } ]);
$self->{output}->output_add(long_msg => sprintf("Snapmirror '%s' lag: %s secondes", $name, $lag));
$self->{output}->output_add(long_msg => sprintf("Snapmirror '%s' lag: %s seconds", $name, $lag));
if (!$self->{output}->is_status(value => $exit, compare => 'ok', litteral => 1) || (defined($self->{option_results}->{name}) && !defined($self->{option_results}->{use_regexp}))) {
$self->{output}->output_add(severity => $exit,
short_msg => sprintf("Snapmirror '%s' lag: %s secondes", $name, $lag));
short_msg => sprintf("Snapmirror '%s' lag: %s seconds", $name, $lag));
}
my $extra_label = '';
@ -163,4 +163,4 @@ Allows to use regexp to filter snampmirror name (with option --name).
=back
=cut