我已经做了几个小时了,还没能让munin在我的CentOS 5.3服务器上输出html文件/生成的资源使用图。
下面是我作为munin用户运行的一些内容和结果:
/usr/share/munin/munin-update --nofork --debug(以上工作正常,完成时间为2.4秒)
munin-run cpu(和其他选项/插件(除了'cpu'),所有的工作良好,并提供所需的输出)
munin-cron在以下方面失败:
[FATAL] There is nothing to do here, since there are no nodes with any plugins. Please refer to http://munin-monitoring.org/wiki/FAQ_no_graphs at /usr/share/munin/munin-html line 38我想知道,也许,我的munin.conf文件中的设置可能会导致问题。下面是该文件的内容(如下):
bdir /var/lib/munin/
htmldir /home/archdev/public_html/monitoring
logdir /var/log/munin
rundir /var/run/munin/
tmpldir /etc/munin/templates
[archstl.archstl.org]
address 127.0.0.1
use_node_name yes另外,当我运行telnet localhost 4949命令并列出节点的插件时,它返回默认的munin列表.munin html创建过程似乎有问题。:(
我正在运行1.4.3版本。
发布于 2010-10-18 13:25:32
最后,我通过cPanel/WHM界面安装了munin (一个旧版本),现在一切都很好。奇怪..。
发布于 2011-01-10 16:40:12
可能没有启用插件。查证
munin-node-configure --suggest --shell执行这些命令并执行bam,它应该可以工作。这通常是在启动时完成的,但需要python。
发布于 2012-01-23 16:23:45
我也有同样的问题。原因:在munin.conf中,我只有一个节点"localhost“,而这与munin对自己的想法不同。
解决方案:
telnet localhost 4949
.....
# munin node at your.domain.com
...因此,我把"your.domain.com",即您的FQDN,而不是本地主机在munin.conf中。
https://serverfault.com/questions/134748
复制相似问题