lire – LogReport
Fedora core 4
1.
yum install perl-DBD-SQLite2 perl-XML-Parser perl-Time-modules perl-libintl perl-DateManip perl-Spreadsheet-WriteExcel
yum install perl-Curses perl-TermReadKey
2.
wget http://download.logreport.org/pub/rpm/fedora/4/i386/perl-Curses-UI-0.93-2.noarch.rpm
wget http://download.logreport.org/pub/rpm/fedora/4/i386/ploticus-2.30-2.i386.rpm
wget http://download.logreport.org/pub/rpm/fedora/4/i386/lire-2.0.2-2.noarch.rpm
rpm -ivh perl-Curses-UI-0.93-2.noarch.rpm ploticus-2.30-2.i386.rpm lire-2.0.2-2.noarch.rpm
3. 產生報告
[ lr_log2report dlf_converter logfile report ]
dlf-converter可用格式
lr_log2report –help dlf-converters
讀取 postfix的 log檔 /var/log/maillog.1來產生 report
lr_log2report postfix /var/log/maillog.1 lire_report_postfix.txt
apache也可 report
lr_log2report combined /var/log/httpd/access_log lire_report_apache.txt
HTML格式報告(產生目錄)
lr_log2report –output html postfix /var/log/maillog.1 lire_report_postfix
4. Lire User Interface
直接下指令 lire
setting
cron
留言