Hi Josh,
Thanks very much, but I went the lazy route.
I modified the following in check_logfiles:
from:
# maybe a rotation situation, a typo in the configfile,...
trace("could not find logfile %s", $loginfo->{logfile});
$lastmsg{UNKNOWN} = sprintf "could not find logfil
Kyle O'Donnell wrote:
> Hi,
>
> I need to check for a string in multiple log files. The names of the
> log files will contain a constant string, and be located in constant
> directory.
>
> Currently I am using the check_logfiles plugin with the following
> configuration:
>
>
> @logs = (
>
Hi,
I need to check for a string in multiple log files. The names of the
log files will contain a constant string, and be located in constant
directory.
Currently I am using the check_logfiles plugin with the following configuration:
@logs = (
{
tag => 'mqrefused',
logfile => '/var/m