在 hyperic HQ 中连接 RabbitMq 时出错
我正在尝试监视安装了 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 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
也许它需要你的经纪人安装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.