mirror of
https://github.com/centreon/centreon-plugins.git
synced 2025-07-24 06:05:17 +02:00
parent
c0b8715030
commit
2479fe890c
@ -29,7 +29,7 @@
|
||||
# do not wish to do so, delete this exception statement from your version.
|
||||
#
|
||||
# For more information : contact@centreon.com
|
||||
# Author : Quentin Garnier <qgarnier@merethis.com>
|
||||
# Author : Simon Bomm <sbomm@merethis.com>
|
||||
#
|
||||
####################################################################################
|
||||
|
||||
@ -120,7 +120,7 @@ sub run {
|
||||
value => $globalCount,
|
||||
warning => $self->{perfdata}->get_perfdata_for_output(label => 'warning'),
|
||||
critical => $self->{perfdata}->get_perfdata_for_output(label => 'critical'),
|
||||
);
|
||||
min => 0);
|
||||
$self->{output}->display();
|
||||
$self->{output}->exit();
|
||||
}
|
||||
@ -158,7 +158,7 @@ __END__
|
||||
|
||||
=head1 MODE
|
||||
|
||||
Count files in an FTP directory, cab be recursive
|
||||
Count files in an FTP directory (can be recursive).
|
||||
|
||||
=over 8
|
||||
|
||||
|
@ -50,7 +50,7 @@ sub new {
|
||||
'login' => 'apps::protocols::ftp::mode::login',
|
||||
'commands' => 'apps::protocols::ftp::mode::commands',
|
||||
'date' => 'apps::protocols::ftp::mode::date',
|
||||
'filescount'=> 'apps::protocols::ftp::mode::filescount',
|
||||
'filescount' => 'apps::protocols::ftp::mode::filescount',
|
||||
);
|
||||
return $self;
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user