首页
学习
活动
专区
圈层
工具
发布
社区首页 >问答首页 >Centos上的munin

Centos上的munin
EN

Stack Overflow用户
提问于 2012-10-15 16:39:25
回答 1查看 1.7K关注 0票数 3

我已经安装了Munin on Centos 6.2,并成功地配置并启动了它。唯一的问题是,在var/www/html/munin文件夹中,我只有:

代码语言:javascript
复制
/static
/cgi

没有index.html或其他任何东西,所以穆宁不能正常工作./static中有一些附件文件

我的munin节点配置是:

代码语言:javascript
复制
#
# Example config-file for munin-node
#

log_level 4
log_file /var/log/munin/munin-node.log
pid_file /var/run/munin/munin-node.pid

background 1
setsid 1

user root
group root


# Regexps for files to ignore
ignore_file [\#~]$
ignore_file DEADJOE$
ignore_file \.bak$
ignore_file %$
ignore_file \.dpkg-(tmp|new|old|dist)$
ignore_file \.rpm(save|new)$
ignore_file \.pod$

# Set this if the client doesn't report the correct hostname when
# telnetting to localhost, port 4949
#
host_name my.host.is

# A list of addresses that are allowed to connect.  This must be a
# regular expression, since Net::Server does not understand CIDR-style
# network notation unless the perl module Net::CIDR is installed.  You
# may repeat the allow line as many times as you'd like

allow ^127\.0\.0\.1$
allow 192.168.15.173
allow my.host.is

# If you have installed the Net::CIDR perl module, you can use one or more
# cidr_allow and cidr_deny address/mask patterns.  A connecting client must
# match any cidr_allow, and not match any cidr_deny.  Note that a netmask
# *must* be provided, even if it's /32
#
# Example:
#
# cidr_allow 127.0.0.1/32
# cidr_allow 192.0.2.0/24
# cidr_deny  192.0.2.42/32

# Which address to bind to;
host *
#host 127.0.0.1

# And which port
port 4949

所有者和/var/www/html/munin文件夹上的组是munin

当转到/munin url时,Apache引发以下错误:

代码语言:javascript
复制
Directory index forbidden by Options directive: /var/www/html/munin/

有什么线索知道发生了什么以及我怎样才能修好它吗?

EN

回答 1

Stack Overflow用户

发布于 2012-10-22 21:43:41

这是预期的行为,直到/除非您执行下列操作之一:

  • 启用cgi内容生成(2.x版本的默认值)
  • 确保munin-cron调用munin-html来生成内容(1.4.x版本的默认值)

你在你的munin.conf中设置了什么“munin.conf”?

票数 0
EN
页面原文内容由Stack Overflow提供。腾讯云小微IT领域专用引擎提供翻译支持
原文链接:

https://stackoverflow.com/questions/12900101

复制
相关文章

相似问题

领券
问题归档专栏文章快讯文章归档关键词归档开发者手册归档开发者手册 Section 归档