[TNM] tail_n_mail for non-postgres log monitoring
deepak deore
deepakdeore2004 at gmail.com
Wed Sep 25 07:09:37 UTC 2013
I m trying to use tail_n_mail for catalina.out, conf file pattern is as
below: -
INCLUDE: ERROR:
INCLUDE: FATAL:
INCLUDE: PANIC:
INCLUDE: .*Unable to authenticate.*
INCLUDE: Exception
INCLUDE: org.cli.delivery.common.util.AuthenticationException: Unable to
authenticate
INCLUDE: archive command failed with exit code
But the pattern is not coming.
$ ./tail_n_mail tnm.conf --verbose --offset=1
Log line prefix regex: (?-xism:^((\d\d\d\d-\d\d-\d\d \d\d:\d\d:\d\d
\w\w\w\w?) \[(\d+)\])(.*))
Log line prefix regex2: (?-xism:^\d\d\d\d-\d\d-\d\d \d\d:\d\d:\d\d
\w\w\w\w? \[\d+\])
Log line prefix regex3: (?-xism:^\d\d\d\d-\d\d-\d\d \d\d:\d\d:\d\d
\w\w\w\w?)
File: /tmp/tmp Offset: 1 Size: 4,373 Maxsize: 10,737,418,240
Inclusion:
(?-xism:ERROR:)|(?-xism:FATAL:)|(?-xism:PANIC:)|(?-xism:.*Unable to
authenticate.*)|(?-xism:Exception)|(?-xism:org.cli.delivery.common.util.AuthenticationException:
Unable to authenticate)|(?-xism:archive command failed with exit code)
No new lines found in file /tmp/tmp
Can someone help ?
Thanks,
Deepak
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://mail.endcrypt.com/pipermail/tnm/attachments/20130925/ab15c74f/attachment.html>
More information about the TNM
mailing list