[TNM] having problems getting tnm running on linux for postgres logs
Maria L. Wilson
Maria.L.Wilson-1 at nasa.gov
Thu Jul 14 19:37:55 UTC 2016
here's my config file:
## Config file for the tail_n_mail program
## This file is automatically updated
## Last updated: Thu Jul 14 15:18:12 2016
EMAIL: m.l.wilson at nasa.gov
MAILSUBJECT: Acme HOST Postgres errors UNIQUE : NUMBER
INCLUDE: ERROR:
INCLUDE: FATAL:
INCLUDE: PANIC:
FILE0: /data_loc/LOGS/pgsql_logs/postgresql-2016-07-14_000000.log
LASTFILE0: /data_loc/LOGS/pgsql_logs/postgresql-2016-07-14_000000.log
OFFSET0: 770198
just trying to get it to run without sending email at this point...
here's my latest effort:
[postgres at dsrvrfour tailmail]$ perl tail_n_mail.pl tnm.config.txt
--file=postgresql-2016-07-14_000000.log --offset=0 --nomail
[postgres at dsrvrfour tailmail]$
I have verified that there are definitely errors in the logs:
postgres 198.119.134.170 2016-07-14 15:17:32.902 EDT [49853] [ange]
ERROR: relation "maria" does not exist at character 15
postgres 198.119.134.170 2016-07-14 15:17:32.902 EDT [49853] [ange]
STATEMENT: select * from maria
can someone help?
thanks..... Maria
--
*******************
Maria L. Wilson, SSAI
NASA Langley Research Center
Hampton, Virginia 23681
Phone: (757) 864-3076
E-Mail: m.l.wilson at nasa.gov
*********************
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://mail.endcrypt.com/pipermail/tnm/attachments/20160714/824478ae/attachment.html>
More information about the TNM
mailing list