Munin 在全新安装时抛出错误

Munin 在全新安装时抛出错误

我刚刚在一个新的 ubuntu 系统上安装了 munin,munin 节点抛出以下错误:

2013/01/30-21:10:02 CONNECT TCP Peer: "[::ffff:127.0.0.1]:39316" Local: "[::ffff:127.0.0.1]:4949"
Use of uninitialized value in pattern match (m//) at /usr/share/perl5/Net/Server.pm line 600.

2013/01/30 21:15:06 [PERL WARNING] Use of uninitialized value in concatenation (.) or string at /usr/share/munin/munin-graph line 74.
2013/01/30 21:15:06 [PERL WARNING] Use of uninitialized value $graph_fh in <HANDLE> at /usr/share/munin/munin-graph line 75.
2013/01/30 21:15:06 [PERL WARNING] readline() on unopened filehandle at /usr/share/munin/munin-graph line 75.

你知道问题出在哪里吗?以下是配置文件:

http://pastebin.com/sU8dVY1N-plugin-conf.d/munin-node

http://pastebin.com/NRHXn8it-munin-node.conf

pastebin.com/HMdiBfTh - munin.conf

非常感谢!

答案1

关于此警告,Use of uninitialized value in pattern match (m//) at /usr/share/perl5/Net/Server.pm line 600.请查看此处:http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=693320. 似乎它在 libnet-server-perl 包的 2.007-1 版本中已修复。

答案2

确保您设置的域名host_name可以munin-node.conf解析。

如果localhost.localdomain您的系统上没有解决,请尝试将其更改为localhost或将条目添加到/etc/hosts

相关内容