mirror of
https://github.com/centreon/centreon-plugins.git
synced 2025-07-29 16:45:04 +02:00
fix eventlog
This commit is contained in:
parent
fca2a29672
commit
b150479097
@ -69,7 +69,7 @@ sub run {
|
||||
my ($self, %options) = @_;
|
||||
|
||||
my $content = $options{custom}->execute_command(command => $self->{ls_command});
|
||||
my $result = $self->get_hasharray(content => $content, delim => ':');
|
||||
my $result = $options{custom}->get_hasharray(content => $content, delim => ':');
|
||||
|
||||
my ($num_eventlog_checked, $num_errors) = (0, 0);
|
||||
foreach (@$result) {
|
||||
|
Loading…
x
Reference in New Issue
Block a user