在 hyperic HQ 中连接 RabbitMq 时出错

发布于 2024-11-10 10:49:18 字数 1423 浏览 3 评论 0原文


我正在尝试监视安装了 RabbitMQ 的机器。
RabbitMQ 的代理在该机器上运行良好。
现在我想使用开源 HypricHQ 软件来监控该机器。
问题是 HypricHQ 服务器找不到我的 RabbitMQ 代理。
我的 Hypric 代理也工作正常,即在 HypricHQ 服务器中显示了 RabbitMQ 机器的详细信息。

我已经检查了agent.log文件中的错误,该文件中记录的错误是:

2011-05-30 15:24:16,549 INFO  [Thread-1] [SingleConnectionFactory] Established shared Rabbit Connection: org.springframework.erlang.connection.DefaultConnection@1265109
2011-05-30 15:24:16,574 ERROR [Thread-1] [AutoScan] AutoScan failed for RabbitMQ
org.springframework.erlang.ErlangBadRpcException: {badrpc,{'EXIT',{undef,[{rabbit_access_control,list_vhosts,[]},{rpc,'-handle_call_call/6-fun-0-',5}]}}}
    at org.hyperic.hq.plugin.rabbitmq.core.HypericErlangTemplate.executeRpcAndConvert(HypericErlangTemplate.java:72)
    at org.hyperic.hq.plugin.rabbitmq.core.HypericRabbitAdmin.getVirtualHosts(HypericRabbitAdmin.java:75)
    at org.hyperic.hq.plugin.rabbitmq.detect.RabbitServerDetector.getServerResources(RabbitServerDetector.java:106)
    at org.hyperic.hq.autoinventory.scanimpl.NullScan.scan(NullScan.java:83)
    at org.hyperic.hq.autoinventory.Scanner.start(Scanner.java:198)
    at org.hyperic.hq.autoinventory.ScanManager.mainRunLoop(ScanManager.java:141)
    at org.hyperic.hq.autoinventory.ScanManager.access$000(ScanManager.java:41)
    at org.hyperic.hq.autoinventory.ScanManager$1.run(ScanManager.java:107)

为什么会发生此错误? 我怎样才能克服这个错误?我使用的操作系统是Windows 7。

I am trying to monitor a machine in which RabbitMQ is installed.
RabbitMQ's broker is working well in that machine.
Now I want to monitor that machine using open source HypricHQ software.

The problem is the HypricHQ server can't find my RabbitMQ broker.
My Hypric Agent is also working fine, i.e. in HypricHQ server the detail of RabbitMQ machine is showing.

I have checked the error in agent.log file the error logged in that file is:

2011-05-30 15:24:16,549 INFO  [Thread-1] [SingleConnectionFactory] Established shared Rabbit Connection: org.springframework.erlang.connection.DefaultConnection@1265109
2011-05-30 15:24:16,574 ERROR [Thread-1] [AutoScan] AutoScan failed for RabbitMQ
org.springframework.erlang.ErlangBadRpcException: {badrpc,{'EXIT',{undef,[{rabbit_access_control,list_vhosts,[]},{rpc,'-handle_call_call/6-fun-0-',5}]}}}
    at org.hyperic.hq.plugin.rabbitmq.core.HypericErlangTemplate.executeRpcAndConvert(HypericErlangTemplate.java:72)
    at org.hyperic.hq.plugin.rabbitmq.core.HypericRabbitAdmin.getVirtualHosts(HypericRabbitAdmin.java:75)
    at org.hyperic.hq.plugin.rabbitmq.detect.RabbitServerDetector.getServerResources(RabbitServerDetector.java:106)
    at org.hyperic.hq.autoinventory.scanimpl.NullScan.scan(NullScan.java:83)
    at org.hyperic.hq.autoinventory.Scanner.start(Scanner.java:198)
    at org.hyperic.hq.autoinventory.ScanManager.mainRunLoop(ScanManager.java:141)
    at org.hyperic.hq.autoinventory.ScanManager.access$000(ScanManager.java:41)
    at org.hyperic.hq.autoinventory.ScanManager$1.run(ScanManager.java:107)

Why this error occure?
How can I overcome this error? The OS I am using is Windows 7.

如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

扫码二维码加入Web技术交流群

发布评论

需要 登录 才能够评论, 你可以免费 注册 一个本站的账号。

评论(1

恬淡成诗 2024-11-17 10:49:18

也许它需要你的经纪人安装rabbitmq管理插件?

登录到运行 RabbitMQ 代理的服务器并输入

sudorabbitmqctl status

检查该版本是否是 Hypric 支持的版本。许多 Linux 发行版都安装了非常旧版本的 RabbitMQ。使用 RabbitMQ 站点上的 .deb 或 .rpm 二进制文件进行升级非常容易,因此您应该考虑这样做。

Maybe it needs your broker to have the rabbitmq-management plugin installed?

Log into the server running the RabbitMQ broker and type

sudo rabbitmqctl status

Check that the version is one that is supported by Hypric. A lot of Linux distros have a very old version of RabbitMQ installed. It is easy enough to upgrade using the .deb or .rpm binaries on the RabbitMQ site so you should consider doing that.

~没有更多了~
我们使用 Cookies 和其他技术来定制您的体验包括您的登录状态等。通过阅读我们的 隐私政策 了解更多相关信息。 单击 接受 或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
原文