最近公司忙死,
為了配合大家公司,在esx上的centos裡,再上一個作網站資源監控的munin。
(ntop,在考慮當中,測試已認證)
由于對apache執行cgi不甚清楚,搞了很久的這些權限問題。
最後,在一篇最簡單的參考文檔裡搞定。
看來,python和apache的cgi,fastcgi也要去了解一下了。。
url:
<a href="http://www.tecmint.com/install-munin-network-monitoring-in-rhel-cent-6-3-fedora-17/">http://www.tecmint.com/install-munin-network-monitoring-in-rhel-cent-6-3-fedora-17/</a>
installing munin is very simple, just follow my below step-by-step commands to install it on your server.
munin can be installed by using fedora‘s epel repository under rhel 6.3/6.2/6.1/6/5.8 and centos 6.3/6.2/6.1/6/5.8. just, run the following commands as root user to install it using wget.
note : fedora users don’t need to install epel repository, because munin is included in fedora and can be installed using yum.
just run the following command as root user.
by default the above installation creates following directories.
/etc/munin/munin.conf : munin master configuration file.
/etc/cron.d/munin : munin cron file.
/etc/httpd/conf.d/munin.conf : munin apache configuration file.
/var/log/munin : munin log directory.
/var/www/munin : munin web directory.
/etc/munin/munin-node.conf : munin node master configuration file.
/etc/munin/plugins.conf : munin plugins configuration file.
/etc/rc.d/init.d/munin-node : munin start-up service daemon.
open file /etc/httpd/conf/httpd.conf file and add the following lines of code at the bottom.
restart apache and then create system start-up links for munin and start it.
wait for 30 minutes so that munin can generate graphs and displayed it. to see first output of graphs, open your browser and navigate tohttp://www.example.com/munin.
~~~~~~~
上個圖,自賞一下。:
