2011年10月4日 星期二

Munin系統監控

使用RRDTool, 設置簡單, port: 4949

apt-get install munin
apt-get install munin munin-node
/etc/init.d/munin-node restart



設定檔: /etc/munin/munin.conf

預設只給localhost連, 外部連會出現403 Forbidden 的錯:
/etc/munin/apache.conf

把Allow from 127.0.0.1 ::1 改成Allow from all
重啟apache就好了

加密碼要設定apache.conf的htpasswd路徑
AuthUserFile /var/www/.htpasswd

產生認證密碼
htpasswd -c /var/www/.htpasswd admin

沒有留言: