我刚刚从 Fedora 14 上的基本存储库安装了 munin-node,然后启动了它。我发现我的 munin 服务器无法从此节点收集数据,因此我尝试通过 telnet 连接进行测试。通过 telnet 连接时,我看到没有列出任何插件:
[dave@host ~]# telnet localhost 4949
Trying 127.0.0.1...
Connected to localhost.
Escape character is '^]'.
# munin node at host.example.com
list
quit
Connection closed by foreign host.
[dave@host ~]#
安装后我没有修改任何内容。munin-node.conf 允许来自 127.0.0.1 的连接,并且 中的默认插件集/etc/munin/plugins/
与 中的插件符号链接/usr/share/munin/plugins/
。
以下是“list”命令的 telnet 测试的工作输出(在 Fedora 13 主机上):
[dave@www ~]$ telnet localhost 4949
Trying 127.0.0.1...
Connected to localhost.
Escape character is '^]'.
# munin node at www.example.com
list
apache_accesses apache_processes apache_volume cpu df df_inode entropy forks fw_packets if_err_eth0 if_err_eth1 if_eth0 if_eth1 interrupts iostat iostat_ios irqstats load memory munin_stats mysql_ mysql_bytes mysql_innodb mysql_queries mysql_slowqueries mysql_threads netstat open_files open_inodes postfix_mailqueue postfix_mailvolume proc_pri processes swap threads uptime users vmstat yum
quit
Connection closed by foreign host.
[dave@www ~]$
编辑以显示输出munin-node-configure
:
[root@host ~]# munin-node-configure
Plugin | Used | Extra information
------ | ---- | -----------------
acpi | no |
amavis | no |
...
http_loadtime | no |
if_ | yes | eth1 eth0
if_err_ | yes | eth0 eth1
ifx_concurrent_sessions_ | no |
interrupts | yes |
...
uptime | yes |
users | yes |
varnish_ | no |
vserver_resources | no |
yum | yes |
zimbra_ | no |
对于下一步该检查什么,有什么建议吗?
答案1
我希望您编辑了上面的示例,并且您的实际主机名包含大写字母,因为它可能是这个:
看https://bugzilla.redhat.com/show_bug.cgi?id=673263和http://www.munin-monitoring.org/ticket/952
(“Munin 节点返回带有大写主机名的插件的空列表”)。