天天看点

在CENTOS上安装APACHE,MUNIN(对MONGODB的PLUGIN未成功)

最近公司忙死,

为了配合大家公司,在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.

~~~~~~~

上个图,自赏一下。:

在CENTOS上安装APACHE,MUNIN(对MONGODB的PLUGIN未成功)