星期一, 5月 08, 2006

圖形化的server status monitor 程式 : munin

在 "Howto forge" 看到的。一個用圖形顯示 Server的資料:
Disk, Exim.Mysql,Postfix,Process,System 的daemon。
這個Daemon 產生html報表,但還是要用Apache 作html server。

安裝方式也很簡單,在Debian下,只要用apt-get:
#apt-get install munin munin-node
。Debian 很方便的會create group/user munin. 產生config和/etc/init.d/munin。
裝完會自動run minun node :
#/etc/init.d/munin restart
修改config : /etc/munin/munin.conf
其實不用修改也可以,

Debian已經修改munin 產生html報表的目錄在/var/www/munin。
所以如果Apache已經安裝,啟動好了(apache的default root path是/var/www)。

用瀏覽器看 http://(server's ip address or nam)/minun,就可以看到各類報表。
但是因為剛剛run,data還沒有很多,所以只看到一個空的圖表,等一陣子(couple minintes),就可以看到一點點的資料。

沒有留言:

網誌存檔