[Logcheck-devel] Bug#306695: nagios: logcheck lines, please

Jamie L. Penman-Smithson jamie at silverdream.org
Thu Apr 28 16:19:01 UTC 2005


package logcheck-database
tags 306695 pending
thanks!

On Thu, 2005-04-28 at 10:25 -0400, Stephen Gran wrote:
> This one time, at band camp, Jamie L. Penman-Smithson said:
> > On Wed, 2005-04-27 at 22:10 -0400, Steve Gran wrote:
> > > ^\w{3} [ :0-9]{11} [._[:alnum:]-]+ nagios: EXTERNAL COMMAND: PROCESS_SERVICE_CHECK_RESULT
> > > 
> > Can you provide the log messages that this matches?
> 
> Apr 28 06:28:32 linux01 nagios: EXTERNAL COMMAND: PROCESS_SERVICE_CHECK_RESULT;
> kvfw4.example.com;SSH Service;0;SSH OK - OpenSSH_3.8p1 (protocol 1.99)
> Apr 28 06:28:59 linux01 nagios: EXTERNAL COMMAND: PROCESS_SERVICE_CHECK_RESULT;
> circa-server.circa.local;SMTP Service;0;SMTP OK - 0.001 sec. response time
<snip>

I've added the following rule to CVS which matches the messages you've
supplied:

^\w{3} [ :0-9]{11} [._[:alnum:]-]+ nagios: EXTERNAL COMMAND:
PROCESS_SERVICE_CHECK_RESULT;[._[:alnum:]-]+;[^;]+;[0-9]+;.*$

Thanks for your bug report,

-- 
-jamie <jamie at silverdream.org> | spamtrap: spam at silverdream.org
 w: http://www.silverdream.org | p: sms at silverdream.org
 pgp key @ http://silverdream.org/~jps/pub.key
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: This is a digitally signed message part
Url : http://lists.alioth.debian.org/pipermail/logcheck-devel/attachments/20050428/a14202d9/attachment.pgp 


More information about the Logcheck-devel mailing list