mirror of
https://github.com/centreon/centreon-plugins.git
synced 2025-07-26 15:14:16 +02:00
enhance indent
This commit is contained in:
parent
891c2fa625
commit
48761dac52
@ -66,22 +66,21 @@ sub new {
|
|||||||
my $self = $class->SUPER::new(package => __PACKAGE__, %options);
|
my $self = $class->SUPER::new(package => __PACKAGE__, %options);
|
||||||
bless $self, $class;
|
bless $self, $class;
|
||||||
|
|
||||||
$options{options}->add_options(arguments =>
|
$options{options}->add_options(arguments => {
|
||||||
{
|
'hostname:s' => { name => 'hostname' },
|
||||||
"hostname:s" => { name => 'hostname' },
|
'remote' => { name => 'remote' },
|
||||||
"remote" => { name => 'remote' },
|
'ssh-option:s@' => { name => 'ssh_option' },
|
||||||
"ssh-option:s@" => { name => 'ssh_option' },
|
'ssh-path:s' => { name => 'ssh_path' },
|
||||||
"ssh-path:s" => { name => 'ssh_path' },
|
'ssh-command:s' => { name => 'ssh_command', default => 'ssh' },
|
||||||
"ssh-command:s" => { name => 'ssh_command', default => 'ssh' },
|
'timeout:s' => { name => 'timeout', default => 30 },
|
||||||
"timeout:s" => { name => 'timeout', default => 30 },
|
'sudo' => { name => 'sudo' },
|
||||||
"sudo" => { name => 'sudo' },
|
'command:s' => { name => 'command', default => 'lvs' },
|
||||||
"command:s" => { name => 'command', default => 'lvs' },
|
'command-path:s' => { name => 'command_path' },
|
||||||
"command-path:s" => { name => 'command_path' },
|
'command-options:s' => { name => 'command_options', default => '--separator="," 2>&1' },
|
||||||
"command-options:s" => { name => 'command_options', default => '--separator="," 2>&1' },
|
'filter-lv:s' => { name => 'filter_lv' },
|
||||||
"filter-lv:s" => { name => 'filter_lv', },
|
'filter-vg:s' => { name => 'filter_vg' }
|
||||||
"filter-vg:s" => { name => 'filter_vg', },
|
|
||||||
});
|
});
|
||||||
$self->{result} = {};
|
|
||||||
return $self;
|
return $self;
|
||||||
}
|
}
|
||||||
|
|
||||||
@ -98,7 +97,6 @@ sub manage_selection {
|
|||||||
no_quit => 1
|
no_quit => 1
|
||||||
);
|
);
|
||||||
$self->{dlvm} = {};
|
$self->{dlvm} = {};
|
||||||
|
|
||||||
# LV,VG,Attr,LSize,Pool,Origin,Data%,Meta%,Move,Log,Cpy%Sync,Convert
|
# LV,VG,Attr,LSize,Pool,Origin,Data%,Meta%,Move,Log,Cpy%Sync,Convert
|
||||||
# thinpool,docker,twi-aot---,71.25g,,,1.95,0.06,,,,
|
# thinpool,docker,twi-aot---,71.25g,,,1.95,0.06,,,,
|
||||||
# lv_controlm,vg_sys,-wi-ao----,5.00g,,,,,,,,
|
# lv_controlm,vg_sys,-wi-ao----,5.00g,,,,,,,,
|
||||||
|
Loading…
x
Reference in New Issue
Block a user