+ Typo fix in f5
This commit is contained in:
parent
cd2c9c2554
commit
9524c062f2
|
@ -48,10 +48,10 @@ sub new {
|
||||||
$self->{version} = '1.0';
|
$self->{version} = '1.0';
|
||||||
$options{options}->add_options(arguments =>
|
$options{options}->add_options(arguments =>
|
||||||
{
|
{
|
||||||
"warning-client:s" => { name => 'warning_client' },
|
"warning-client:s" => { name => 'warning_client' },
|
||||||
"critical-client:s" => { name => 'critical_client' },
|
"critical-client:s" => { name => 'critical_client' },
|
||||||
"warning-server:s" => { name => 'warning_server' },
|
"warning-server:s" => { name => 'warning_server' },
|
||||||
"critical-server:s" => { name => 'critical_server' },
|
"critical-server:s" => { name => 'critical_server' },
|
||||||
});
|
});
|
||||||
|
|
||||||
return $self;
|
return $self;
|
||||||
|
@ -77,8 +77,6 @@ sub check_options {
|
||||||
$self->{output}->add_option_msg(short_msg => "Wrong critical-server threshold '" . $self->{option_results}->{critical_client} . "'.");
|
$self->{output}->add_option_msg(short_msg => "Wrong critical-server threshold '" . $self->{option_results}->{critical_client} . "'.");
|
||||||
$self->{output}->option_exit();
|
$self->{output}->option_exit();
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
||||||
sub run {
|
sub run {
|
||||||
|
@ -129,9 +127,6 @@ sub run {
|
||||||
|
|
||||||
$self->{output}->display();
|
$self->{output}->display();
|
||||||
$self->{output}->exit();
|
$self->{output}->exit();
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
||||||
1;
|
1;
|
||||||
|
|
|
@ -53,8 +53,8 @@ sub new {
|
||||||
{
|
{
|
||||||
"exclude:s" => { name => 'exclude' },
|
"exclude:s" => { name => 'exclude' },
|
||||||
"component:s" => { name => 'component', default => 'all' },
|
"component:s" => { name => 'component', default => 'all' },
|
||||||
"warning:s" => { name => 'warning', default => '' },
|
"warning:s" => { name => 'warning' },
|
||||||
"critical:s" => { name => 'critical', default => '' },
|
"critical:s" => { name => 'critical' },
|
||||||
});
|
});
|
||||||
$self->{components} = {};
|
$self->{components} = {};
|
||||||
return $self;
|
return $self;
|
||||||
|
|
Loading…
Reference in New Issue