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