Re: [Nagios-users] check_logfiles

2012-07-08 Thread C. Bensend
> Here's the run of the command I am trying > > [db:~] root% /opt/nagios/libexec/check_logfiles > --logfile=/u01/app/oracle/admin/ecom/bdump/alert_ecom1.log --tag=oracle > --rotation=linux --criticalpattern='ORA-00600' --warningpattern='ORA-*' > OK - no errors or warnings|oracle_lines=0 oracle_w

[Nagios-users] check_logfiles

2012-07-08 Thread Tim Dunphy
Hello, I am trying to use the check_logfiles plugin that I found on the exchange to find some critical patterns in the logs. Here's the run of the command I am trying [db:~] root% /opt/nagios/libexec/check_logfiles --logfile=/u01/app/oracle/admin/ecom/bdump/alert_ecom1.log --tag=oracle -

Re: [Nagios-users] check_logfiles documentation

2008-04-21 Thread Victor Lanza
PROTECTED] Sent: Friday, April 18, 2008 9:31 AM To: 'Victor Lanza'; 'Jay R. Ashworth' Cc: nagios-users@lists.sourceforge.net Subject: AW: [Nagios-users] check_logfiles documentation Hi, > CRITICAL -(17 errors, 1 warning) - [4/17/08 13:51:42:420 EDT] 0037 Jay is ri

Re: [Nagios-users] check_logfiles documentation

2008-04-18 Thread Gerhard Lausser
Hi, > CRITICAL -(17 errors, 1 warning) - [4/17/08 13:51:42:420 EDT] 0037 Jay is right, the code is sprintf "%s - %s...", so there _must_ be a space after the hyphen. Besides that, the nagios servide definition is a bit special (there is no need for a command check_nrpe_log. call it check_nrp

Re: [Nagios-users] check_logfiles documentation

2008-04-17 Thread Jay R. Ashworth
On Thu, Apr 17, 2008 at 03:20:20PM -0400, Victor Lanza wrote: > Ok, so thanks to that small detail I was able to test the check_logfiles and > everything works like a charm, I get the seekfile as well as the protocol > file with results. > > Now when I set up the commands again in Nagios and the s

Re: [Nagios-users] check_logfiles documentation

2008-04-17 Thread Victor Lanza
that's the case) Thanks all, -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Jay R. Ashworth Sent: Thursday, April 17, 2008 2:22 PM To: Gerhard Lausser Cc: nagios-users@lists.sourceforge.net Subject: Re: [Nagios-users] check_logfiles documentation

Re: [Nagios-users] check_logfiles documentation

2008-04-17 Thread Jay R. Ashworth
On Thu, Apr 17, 2008 at 07:34:05PM +0200, Gerhard Lausser wrote: > (There is the option "nologfilenocry" which can be set in a > configurationfile. With this option, a missing logfile is silently > tolerated). It's your plugin, then? That's a *classic* switch name. Cheers, -- jra -- Jay R. Ash

Re: [Nagios-users] check_logfiles documentation

2008-04-17 Thread Victor Lanza
et Subject: Re: [Nagios-users] check_logfiles documentation Hi guys, i just explained it to Victor in private mail, but this seems to be a FAQ. > > OK - no errors or warning|websphere_lines=0 webs

Re: [Nagios-users] check_logfiles documentation

2008-04-17 Thread Gerhard Lausser
Hi guys, i just explained it to Victor in private mail, but this seems to be a FAQ. > > OK - no errors or warning|websphere_lines=0 websphere_warnings=0 ^^ ^^ .._lines=0 means that _no_ lines were scanned

Re: [Nagios-users] check_logfiles documentation

2008-04-17 Thread Jay R. Ashworth
On Thu, Apr 17, 2008 at 11:33:52AM -0400, Victor Lanza wrote: > Ok...Before I tackle the issue with Nagios not getting any feedback from > check_logfiles I decided to test the plugin locally on the host machine. > However I'm not getting the results I should am expecting. > > I execute this at the

Re: [Nagios-users] check_logfiles documentation

2008-04-17 Thread Victor Lanza
hen I check the SystemOut.log, I see the line that contains that error. Am I missing something? -Original Message- From: Jay R. Ashworth [mailto:[EMAIL PROTECTED] Sent: Wednesday, April 16, 2008 3:51 PM To: Victor Lanza Subject: Re: [Nagios-users] check_logfiles documentation On Wed, Apr 16

Re: [Nagios-users] check_logfiles documentation

2008-04-16 Thread Victor Lanza
by the issuing commands like the one above. -Original Message- From: Jay R. Ashworth [mailto:[EMAIL PROTECTED] Sent: Wednesday, April 16, 2008 3:51 PM To: Victor Lanza Subject: Re: [Nagios-users] check_logfiles documentation On Wed, Apr 16, 2008 at 03:31:05PM -0400, Victor Lanza wrote: >

Re: [Nagios-users] check_logfiles documentation

2008-04-16 Thread Victor Lanza
by host". Thanks again, -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of [EMAIL PROTECTED] Sent: Wednesday, April 16, 2008 3:15 PM To: Victor Lanza Cc: Nagios-users@lists.sourceforge.net Subject: Re: [Nagios-users] check_logfiles documentation http:

Re: [Nagios-users] check_logfiles documentation

2008-04-16 Thread kyle . odonnell
http://www.consol.de/opensource/nagios/check-logfiles Theres an english flag in the top left. Near the bottom of the page there's a link with a load of examples. On 4/16/08, Victor Lanza <[EMAIL PROTECTED]> wrote: > Hi, > > > > Does anyone have a detailed doc written for configuring check_logf

[Nagios-users] check_logfiles documentation

2008-04-16 Thread Victor Lanza
Hi, Does anyone have a detailed doc written for configuring check_logfiles. I'm new to Nagios and Linux :-) and I've managed to install Nagios, NRPE, as well as the check_logfiles plugin. I've set up a few hosts, commands, and service checks with and without the use of NRPE and everything is wo

[Nagios-users] check_logfiles retaining state information

2008-04-03 Thread Mohr James
Hi All! I am trying to implement check_logfiles and it is not behaving the way I expect and I was hoping that someone might be able to help . My config-file looks like this: $seekfilesdir = '/var/tmp'; $protocolsdir = '/var/tmp'; @logs = ( { tag => 'jimmo', logfile => '/tmp/messages',