【问题标题】:Munin not logging anything after initial setupMunin 在初始设置后没有记录任何内容
【发布时间】:2012-03-05 21:12:41
【问题描述】:

我已按照此处的建议在 Redhat 5 实例上安装了 munin:

http://www.howtoforge.com/server_monitoring_monit_munin

有一个 cron 作业每 5 分钟运行一次守护进程。我的 munin.conf 看起来像这样:

dbdir   /var/lib/munin
htmldir /var/www/vhosts/[myhost.net]/httpdocs/munin
logdir  /var/log/munin
rundir  /var/run/munin

graph_period minute

[localhost]
address 127.0.0.1
use_node_name yes

Munin 确实在我的子域/munin 目录中生成了一个 index.html。我可以访问仅包含“localhost”链接的网页。我的机器有 3 个 IP 地址。

是否应该在munic.conf 中配置每个 IP 地址及其 plesk 域?我是这方面的新手,有什么明显的我想念让 munin 记录任何东西的吗?

【问题讨论】:

    标签: linux performance monitoring munin


    【解决方案1】:

    在我的情况下,不允许 munin 用户访问 /httpdocs 文件夹。在 httpdocs 上执行 chmod 755 解决了这个问题。并确保监控文件夹也是可写的。

    为了确定,请检查您的 /var/log/munin/munin-html.log 文件,看看它是否可以编写图表。

    【讨论】:

      猜你喜欢
      • 2011-08-25
      • 2018-09-03
      • 2011-04-07
      • 2014-06-12
      • 2015-06-17
      • 1970-01-01
      • 2022-01-05
      • 1970-01-01
      • 1970-01-01
      相关资源
      最近更新 更多