mirror of
https://github.com/centreon/centreon-plugins.git
synced 2025-07-23 13:45:18 +02:00
enhance typo
This commit is contained in:
parent
a6695ab73c
commit
06e69db2f0
@ -33,15 +33,15 @@ sub new {
|
|||||||
bless $self, $class;
|
bless $self, $class;
|
||||||
|
|
||||||
$self->{version} = '1.0';
|
$self->{version} = '1.0';
|
||||||
$options{options}->add_options(arguments =>
|
$options{options}->add_options(arguments => {
|
||||||
{
|
'hostname:s' => { name => 'hostname' },
|
||||||
"hostname:s" => { name => 'hostname' },
|
'username:s' => { name => 'username' },
|
||||||
"username:s" => { name => 'username' },
|
'password:s' => { name => 'password' },
|
||||||
"password:s" => { name => 'password' },
|
'timeout:s' => { name => 'timeout', default => 30 },
|
||||||
"timeout:s" => { name => 'timeout', default => 30 },
|
'memory' => { name => 'memory' },
|
||||||
"memory" => { name => 'memory' },
|
'command-plink:s' => { name => 'command_plink', default => 'plink' },
|
||||||
"command-plink:s" => { name => 'command_plink', default => 'plink' },
|
|
||||||
});
|
});
|
||||||
|
|
||||||
$self->{statefile_cache} = centreon::plugins::statefile->new(%options);
|
$self->{statefile_cache} = centreon::plugins::statefile->new(%options);
|
||||||
return $self;
|
return $self;
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user