# portsnap fetch update
# /usr/ports/sysutils/logwatch
# make install clean
# cp /usr/local/etc/logwatch/defaults/logwatch.conf /usr/local/etc/logwatch/defaults/logwatch.conf_bak
# vi /usr/local/etc/logwatch/defaults/logwatch.conf
MailTo = admin@example.com
Set Print to No:
Print = No
# crontab -e
### Logwatch cron job ###
@daily /usr/local/sbin/logwatch.pl
参考
FreeBSD Install Logwatch Tool For Log Analysis and Monitoring
FreeBSD Daily Topics:2008年7月14日
# /usr/ports/sysutils/logwatch
# make install clean
# cp /usr/local/etc/logwatch/defaults/logwatch.conf /usr/local/etc/logwatch/defaults/logwatch.conf_bak
# vi /usr/local/etc/logwatch/defaults/logwatch.conf
MailTo = admin@example.com
Set Print to No:
Print = No
# crontab -e
### Logwatch cron job ###
@daily /usr/local/sbin/logwatch.pl
参考
FreeBSD Install Logwatch Tool For Log Analysis and Monitoring
FreeBSD Daily Topics:2008年7月14日
>>commemt
Copyright (C) 2007-2010 大塚味噌醸造所 All Rights Reserved.