[TNM-announce] Version 1.25.0 released
Greg Sabino Mullane
greg at endpoint.com
Mon Apr 30 15:41:27 UTC 2012
http://bucardo.org/wiki/Tail_n_mail
Version 1.25.0 of tail_n_mail has just been released. This version
brings a fairly major change: support for multiple FILE definitions
in the config. For example, if you previously had three separate
configs for three separate hosts you are tracking, you can combine
them all into a single config and thus single email by doing:
FILE: /var/log/pg_log/host/alpha/postgres-%Y-%m-%d.log
FILE: /var/log/pg_log/host/beta/postgres-%Y-%m-%d.log
FILE: /var/log/pg_log/host/charlie/postgres-%Y-%m-%d.log
Upon rewriting the config, tnm will give each one a number
so that it can keep the LASTFILE and OFFSETs distinct. So the
file will end up looking like this:
FILE1: /var/log/pg_log/host/alpha/postgres-%Y-%m-%d.log
OFFSET1: 1251
LASTFILE1: /var/log/pg_log/host/alpha/postgres-2012-04-30.log
FILE2: /var/log/pg_log/host/beta/postgres-%Y-%m-%d.log
OFFSET2: 4141
LASTFILE2: /var/log/pg_log/host/beta/postgres-2012-04-30.log
FILE3: /var/log/pg_log/host/charlie/postgres-%Y-%m-%d.log
LASTFILE3: /var/log/pg_log/host/charlie/postgres-2012-04-30.log
OFFSET3: 99223
You don't need to worry about the numbers. If you want to add
a new entry, just add one or more plain FILE: entries and tnm
will add them to the end of the queue.
--
Greg Sabino Mullane greg at endpoint.com
End Point Corporation
PGP Key: 0x14964AC8
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 163 bytes
Desc: not available
URL: <https://mail.endcrypt.com/pipermail/tnm-announce/attachments/20120430/8ad4a45b/attachment.sig>
More information about the TNM-announce
mailing list