【发布时间】:2015-04-18 00:25:46
【问题描述】:
我在我的 CentOS 6 系统上安装了 munin。 安装过程如下:
rpm -Uvh http://download.fedoraproject.org/pub/epel/6/x86_64/epel-release-6-8.noarch.rpm
yum --enablerepo=epel install munin munin-node rrdtool
vim /etc/httpd/conf.d/munin.conf
htpasswd -cm /etc/munin/munin-htpasswd muninadmin
/etc/init.d/munin-node start
chkconfig munin-node on
service httpd restart
查看图表的网址 - http://[MY_IP]/munin
在 Munin.conf 中,将现有数据替换为以下内容:
Alias /munin /var/www/html/munin
<Directory /var/www/html/munin>
Options FollowSymLinks
AllowOverride None
Order allow,deny
Allow from all
</Directory>
能够查看所有图表,但无法放大其中任何一个。 我附上了我尝试缩放时得到的屏幕截图。
我们对此有任何解决方案吗?我在安装步骤中遗漏了什么吗?
【问题讨论】:
-
看来你错过了Apache的配置:munin-monitoring.org/wiki/MuninConfigurationMasterCGI#Apache2
-
感谢您的回复。我们到底在哪里添加这个 apache 配置?与此一起完成的任何其他配置?
-
您必须将配置保存在您的虚拟主机设置中。一般位于
/etc/httpd/sites-available/。 -
我尝试按照上述链接中的 apache 配置进行操作。但它没有帮助。
标签: apache apache2 centos6 munin