Logwatch 自作スクリプト

Logwatch自身のconfファイルとディレクトリ:
/usr/share/logwatch/script/default.conf/logwatch.conf

Script File Directory: /usr/share/logwatch/script/services/File_Name
(ここに自作シェルスクリプトを置く)

Config File Directory: /usr/share/logwatch/Default.conf/services/File_Name.conf
(ここにはconfファイル、今回はzz-disk_space.confをコピーし編集)

上記2つのファイルがあればLogwatchとして機能する。

参考サイト:
http://jviz.research.iat.sfu.ca/wiki/index.php?title=Customizing_Logwatch

http://www.atmarkit.co.jp/fsecurity/rensai/iprotect06/iprotect02.html

http://www.gobu.jp/osfc4_3.php

コメントをどうぞ

コメントを投稿するにはログインしてください。