UbuntuHelp:Logwatch
来自Ubuntu中文
Oneleaf(讨论 | 贡献)2007年5月13日 (日) 11:27的版本 (New page: {{From|https://help.ubuntu.com/community/Logwatch}} {{Languages|php5}} #format wiki #language en === Logwatch === Logwatch is a tool that will monitor your server's logs and email the admi...)
- format wiki
- language en
Logwatch
Logwatch is a tool that will monitor your server's logs and email the administrator a digest on a daily basis.
Installation
Prerequisites
- Ensure email is working. Instructions for doing so may be found in UbuntuHelp:MailServer.
- Turn on universe repository. Instructions for doing so may be found in UbuntuHelp:Repositories.
Instructions
Update your package list with:
$ sudo apt-get update </code> Install Logwatch with: <pre> $ sudo apt-get install logwatch </code> ===== Notes ===== For Ubuntu systems with apache server: edit /usr/share/logwatch/dist.conf/logfiles/http.conf and add *combined.log files to the list [[category:UbuntuHelp]]