diff --git a/plugins/apache/apache_vhosts/apache_logparser b/plugins/apache/apache_vhosts/apache_logparser index 434ea0f9..22456298 100644 --- a/plugins/apache/apache_vhosts/apache_logparser +++ b/plugins/apache/apache_vhosts/apache_logparser @@ -45,7 +45,9 @@ local $debug=0; my $scan_interval=5; # minutes # perl modules -use File::Tail::Multi; +# "File:Tail:Multi" disappeared from CPAN (somewhen in 2016) - thus it needs +# to be imported carefully (for travis checks). +eval 'use File::Tail::Multi; 1;' or die 'Please install File::Tail::Multi'; use Storable qw(freeze thaw); use List::Util qw(min max); use IPC::ShareLite ':lock';