Home > Tags > アプリ
アプリ
Clam AntiVirusのSelfCheckログを止める
- 2009-04-10 (金)
- Linux
/var/log/messagesに、Clam AntiVirusのSelfCheckログが10分ごとに出力されていたので止めてみました。
/var/log/messagesに出力されるログ
Apr 5 07:48:38 centos clamd[2485]: SelfCheck: Database status OK.
Clam AntiVirus設定ファイル編集 [root@centos ~]# vi /etc/freshclam.conf # Use system logger (can work together with LogFile). # Default: no #LogSyslog yes ← ここをコメントアウト Clam AntiVirus再起動 [root@centos ~]# /etc/rc.d/init.d/clamd start
スッキリしました
- Comments: 0
- Trackbacks: 0
muninでネットワークやシステム監視をする
MRTG+NET-SNMPはイマイチ好きではなかったのでmuninのインストールをしてみました。
MRTGより導入が簡単で項目も多いのでお勧めですよ。
では一気にいきます
[root@centos ~]# yum install munin ← 本体 [root@centos ~]# yum install munin-node ← データ収集する方 munin-nodeの設定ファイル編集 [root@centos ~]# vi /etc/munin/munin-node.conf #host_name lisse.leuven.wieers.com host_name centos ← 何でもいい munin-nodeの起動&自動起動設定 [root@centos ~]# /etc/init.d/munin-node start [root@centos ~]# chkconfig munin-node on Apacheの設定でローカルからのみアクセス可にする [root@centos ~]# vi /etc/httpd/conf.d/munin.conf Options None AllowOverride None order deny,allow deny from all allow from 127.0.0.1 Allow from 192.168.1.0/24 Apacheの設定再読込み [root@centos ~]# /etc/init.d/httpd reload
http://サーバーのIP/munin/


こんな感じに表示されます。
muninはインストール時にcron登録されています。「/etc/cron.d/munin」
munin設定ファイル 「/etc/munin/munin.conf」
次回は不必要なプラグイン(表示)を削除したり、プラグインを追加していきます。
- Comments: 0
- Trackbacks: 1
Home > Tags > アプリ