Re: [Nagios-users] checking multiple log files

2007-04-03 Thread Kyle O'Donnell
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

Re: [Nagios-users] checking multiple log files

2007-04-03 Thread Josh Yost
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 = ( >

[Nagios-users] checking multiple log files

2007-04-03 Thread Kyle O'Donnell
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