archive_log_host
Differences
This shows you the differences between two versions of the page.
| Both sides previous revisionPrevious revisionNext revision | Previous revision | ||
| archive_log_host [2013/10/12 20:00] – Text replace - "^" to "<div style="width:55%;margin:0 auto;border:2px solid;border-left:20px solid;border-color:#d9534f;text-align:center;padding:5px;font-weight:bold;">This page is out of date and needs rewriting.<br /> _hayden | archive_log_host [2026/09/26 19:08] (current) – removed - external edit (Unknown date) 127.0.0.1 | ||
|---|---|---|---|
| Line 1: | Line 1: | ||
| - | {{OODNotice}} | ||
| - | Most Tardis Linux machines are set to send log messages to the log host (currently [[piper]]) for easy consultation and to provide log summary emails. | ||
| - | |||
| - | To make syslog send logs to the log host, put | ||
| - | | ||
| - | *.* | ||
| - | |||
| - | into ''/ | ||
| - | |||
| - | To get syslog to accept remote logs, you need to edit ''/ | ||
| - | |||
| - | Some newer installs have rsyslogd rather than syslog. | ||
| - | | ||
| - | $template sysklogd,"< | ||
| - | *.* @loghost; | ||
| - | |||
| - | |||
| - | To receive hourly log summaries by email, add yourself to the sysmans-logs and root aliases in / | ||
| - | |||
| - | |||
| - | ===== Ignoring more or less messages ===== | ||
| - | |||
| - | |||
| - | To adjust which messages make it into the log summaries, you can adjust the | ||
| - | following files in ''/ | ||
| - | |||
| - | | '' | ||
| - | | '' | ||
| - | | '' | ||
| - | |||
| - | |||
| - | In the '' | ||
| - | | ||
| - | ^sshd\[[0-9]+\]: | ||
| - | |||
| - | in the '' | ||
| - | the host name is in parentheses. | ||
| - | |||
| - | After changing the '' | ||
| - | |||
| - | The number and timing of the email messages sent out can also be adjusted: | ||
| - | | ||
| - | crontab -e -u piperlog | ||
| - | |||
| - | |||
| - | |||
| - | ===== Firewall logging ===== | ||
| - | |||
| - | |||
| - | The one exception to the above is the firewall, which generates its own log emails. | ||
| - | |||
| - | |||
| - | |||
archive_log_host.1381608038.txt.gz · Last modified: (external edit)
