尝试将JBoss MBeanServer连接到Hyperic时,使用以下JMX连接配置
<config><option name="jmx.url" description="JMX URL to MBeanServer" default="service:jmx:remoting-jmx://localhost:9999" /> <option name="jmx.username" description="JMX username" optional="true" /> <option name="jmx.password" description="JMX password" optional="true" type="secret" /></config>
我在Hyperic代理
中收到NullPointerExceptionjava.lang.NullPointerException
at org.hyperic.hq.product.jmx.MxUtil$JMXConnectorKey.hashCode(MxUtil.java:495)
at java.util.HashMap.get(Unknown Source)
at org.hyperic.hq.product.jmx.MxUtil.getCachedMBeanConnector(MxUtil.java:435)
at org.hyperic.hq.product.jmx.MxUtil.getValue(MxUtil.java:654)
at org.hyperic.hq.product.jmx.MxUtil.getValue(MxUtil.java:313)
at org.hyperic.hq.product.jmx.MxMeasurementPlugin.getValue(MxMeasurementPlugin.java:58)
at org.hyperic.hq.product.MeasurementPluginManager.getPluginValue(MeasurementPluginManager.java:171)
at org.hyperic.hq.product.MeasurementPluginManager.getValue(MeasurementPluginManager.java:269)
at org.hyperic.hq.product.MeasurementPluginManager.getValue(MeasurementPluginManager.java:130)
at org.hyperic.hq.product.MeasurementPluginManager.getValue(MeasurementPluginManager.java:122)
at org.hyperic.hq.measurement.agent.server.MeasurementCommandsService.getMeasurements(MeasurementCommandsService.java:212)
at org.hyperic.hq.measurement.agent.server.MeasurementCommandsServer.dispatchCommand(MeasurementCommandsServer.java:174)
at org.hyperic.hq.agent.server.CommandDispatcher.processRequest(CommandDispatcher.java:113)
at org.hyperic.hq.agent.server.CommandListener.handleConn(CommandListener.java:216)
at org.hyperic.hq.agent.server.CommandListener.access$100(CommandListener.java:57)
at org.hyperic.hq.agent.server.CommandListener$AgentDispatchTask.run(CommandListener.java:200)
at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(Unknown Source)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(Unknown Source)
at java.lang.Thread.run(Unknown Source)
答案 0 :(得分:1)
您可以在此处找到所有Hyperic(服务器和代理)来源 - http://git.springsource.org/hq/hq/trees/master
我不确定'出口'是什么意思。如果你可以描述你想要做什么,也许我可以提供帮助(我之前已经写了一些自定义插件)。