jplouis wrote:
> It doesn't look like ZenJMX is collecting any data at all.  The event is 
> signifying that it can't connect to the JMX server.  You can run the ZenJMX 
> daemon with the -v10 option and it will give you more information in the logs.

Thanks I enabled the debuging option and below you can see the log files as 
they were coming inside the /zenoss/log/zenjmx.log


> 2009-05-15 13:44:10 INFO zen.ZenJMX: collectJmx(): for staging.adomain.net 
> RMI:jmxrmi:4999
> [2009-05-15 13:44:10,604] [DEBUG] [btpool0-3] 
> org.apache.xmlrpc.server.XmlRpcStreamServer:174 - execute: ->
> [2009-05-15 13:44:10,612] [DEBUG] [btpool0-3] 
> com.zenoss.zenpacks.zenjmx.ZenJmxService:48 - processing 2 datasources
> [2009-05-15 13:44:10,613] [DEBUG] [btpool0-3] 
> com.zenoss.zenpacks.zenjmx.call.Utility:55 - using JMX Raw URL option
> [2009-05-15 13:44:10,613] [DEBUG] [btpool0-3] 
> com.zenoss.zenpacks.zenjmx.call.Utility:89 - JMX URL is: 
> service:jmx:rmi:///jndi/rmi://staging.adomain.net:4999/jmxrmi
> [2009-05-15 13:44:10,615] [DEBUG] [btpool0-4] 
> org.apache.xmlrpc.server.XmlRpcStreamServer:174 - execute: ->
> [2009-05-15 13:44:10,622] [DEBUG] [btpool0-4] 
> com.zenoss.zenpacks.zenjmx.ZenJmxService:48 - processing 3 datasources
> [2009-05-15 13:44:10,622] [DEBUG] [btpool0-4] 
> com.zenoss.zenpacks.zenjmx.call.Utility:89 - JMX URL is: 
> service:jmx:rmi:///jndi/rmi://aa.39.2.162:4999/jmxrmi
> [2009-05-15 13:47:19,758] [INFO ] [btpool0-4] 
> com.zenoss.zenpacks.zenjmx.ZenJmxService:55 - finished processing 3 
> datasources for device staging.adomain.net in 189136 ms
> [2009-05-15 13:47:19,759] [DEBUG] [btpool0-4] 
> org.apache.xmlrpc.server.XmlRpcStreamServer:186 - execute: Request performed 
> successfully
> 2009-05-15 13:47:19 DEBUG zen.ZenJMX: rpcCall(): result is [{'device': 
> 'staging.adomain.net', 'eventClass': '/Status/JMX/Connection', 'summary': 
> 'error connecting to server:Failed to connect to 
> service:jmx:rmi:///jndi/rmi://aa.39.2.162:4999/jmxrmi'}]
> 2009-05-15 13:47:19 DEBUG zen.ZenJMX: processResults(): jmx error, sending 
> event for {'device': 'staging.adomain.net', 'eventClass': 
> '/Status/JMX/Connection', 'summary': 'error connecting to server:Failed to 
> connect to service:jmx:rmi:///jndi/rmi://aa.39.2.162:4999/jmxrmi'}
> 2009-05-15 13:47:19 DEBUG zen.ZenJMX: Queueing event {'manager': 'localhost', 
> 'severity': 4, 'device': 'staging.adomain.net', 'eventClass': 
> '/Status/JMX/Connection', 'agent': 'zenjmx', 'summary': 'error connecting to 
> server:Failed to connect to 
> service:jmx:rmi:///jndi/rmi://aa.39.2.162:4999/jmxrmi'}
> 2009-05-15 13:47:19 DEBUG zen.ZenJMX: Total of 1 queued events
> [2009-05-15 13:47:19,764] [DEBUG] [btpool0-4] 
> org.apache.xmlrpc.server.XmlRpcStreamServer:234 - execute: <-
> [2009-05-15 13:47:19,788] [INFO ] [btpool0-3] 
> com.zenoss.zenpacks.zenjmx.ZenJmxService:55 - finished processing 2 
> datasources for device staging.adomain.net in 189176 ms
> [2009-05-15 13:47:19,789] [DEBUG] [btpool0-3] 
> org.apache.xmlrpc.server.XmlRpcStreamServer:186 - execute: Request performed 
> successfully
> 2009-05-15 13:47:19 DEBUG zen.ZenJMX: rpcCall(): result is [{'device': 
> 'staging.adomain.net', 'eventClass': '/Status/JMX/Connection', 'summary': 
> 'error connecting to server:Failed to connect to 
> service:jmx:rmi:///jndi/rmi://staging.adomain.net:4999/jmxrmi'}]
> 2009-05-15 13:47:19 DEBUG zen.ZenJMX: processResults(): jmx error, sending 
> event for {'device': 'staging.adomain.net', 'eventClass': 
> '/Status/JMX/Connection', 'summary': 'error connecting to server:Failed to 
> connect to service:jmx:rmi:///jndi/rmi://staging.adomain.net:4999/jmxrmi'}
> 2009-05-15 13:47:19 DEBUG zen.ZenJMX: Queueing event {'manager': 'localhost', 
> 'severity': 4, 'device': 'staging.adomain.net', 'eventClass': 
> '/Status/JMX/Connection', 'agent': 'zenjmx', 'summary': 'error connecting to 
> server:Failed to connect to 
> service:jmx:rmi:///jndi/rmi://staging.adomain.net:4999/jmxrmi'}
> 2009-05-15 13:47:19 DEBUG zen.ZenJMX: Total of 2 queued events
> 2009-05-15 13:47:19 DEBUG zen.ZenJMX: doCollection(): exiting collection cycle
> 2009-05-15 13:47:19 DEBUG zen.ZenJMX: doCollection(): daemon stats cycle time 
> is 189.190613985
> 2009-05-15 13:47:19 DEBUG zen.ZenJMX: doCollection(): daemon stats data 
> points is 0
> 2009-05-15 13:47:19 DEBUG zen.ZenJMX: doCollection(): daemon stats end cycle 
> is 0
> 2009-05-15 13:47:19 DEBUG zen.ZenJMX: handleFinish(): success [{'device': 
> 'staging.adomain.net', 'eventClass': '/Status/JMX/Connection', 'summary': 
> 'error connecting to server:Failed to connect to 
> service:jmx:rmi:///jndi/rmi://aa.39.2.162:4999/jmxrmi'}]
> 2009-05-15 13:47:19 DEBUG zen.ZenJMX: handleFinish(): success [{'device': 
> 'staging.adomain.net', 'eventClass': '/Status/JMX/Connection', 'summary': 
> 'error connecting to server:Failed to connect to 
> service:jmx:rmi:///jndi/rmi://staging.adomain.net:4999/jmxrmi'}]
> [2009-05-15 13:47:19,793] [DEBUG] [btpool0-3] 
> org.apache.xmlrpc.server.XmlRpcStreamServer:234 - execute: <-
> 2009-05-15 13:49:10 DEBUG zen.ZenJMX: Queueing event {'manager': 'localhost', 
> 'timeout': 900, 'device': 'localhost', 'eventClass': '/Heartbeat', 
> 'component': 'zenjmx', 'agent': 'zenjmx'}
> 2009-05-15 13:49:10 DEBUG zen.ZenJMX: Total of 1 queued events
> 2009-05-15 13:49:10 DEBUG zen.ZenJMX: doCollection(): starting collection 
> cycle
> 2009-05-15 13:49:10 INFO zen.ZenJMX: doCollection(): running collection for 
> staging.adomain.net
> 2009-05-15 13:49:10 INFO zen.ZenJMX: collectJmx(): for staging.adomain.net 
> service:jmx:rmi:///jndi/rmi://staging.adomain.net:4999/jmxrmi
> 2009-05-15 13:49:10 INFO zen.ZenJMX: collectJmx(): for staging.adomain.net 
> RMI:jmxrmi:4999
> [2009-05-15 13:49:10,606] [DEBUG] [btpool0-3] 
> org.apache.xmlrpc.server.XmlRpcStreamServer:174 - execute: ->
> [2009-05-15 13:49:10,609] [DEBUG] [btpool0-3] 
> com.zenoss.zenpacks.zenjmx.ZenJmxService:48 - processing 2 datasources
> [2009-05-15 13:49:10,609] [DEBUG] [btpool0-3] 
> com.zenoss.zenpacks.zenjmx.call.Utility:55 - using JMX Raw URL option
> [2009-05-15 13:49:10,610] [DEBUG] [btpool0-3] 
> com.zenoss.zenpacks.zenjmx.call.Utility:89 - JMX URL is: 
> service:jmx:rmi:///jndi/rmi://staging.adomain.net:4999/jmxrmi
> [2009-05-15 13:49:10,613] [DEBUG] [btpool0-5] 
> org.apache.xmlrpc.server.XmlRpcStreamServer:174 - execute: ->
> [2009-05-15 13:49:10,631] [DEBUG] [btpool0-5] 
> com.zenoss.zenpacks.zenjmx.ZenJmxService:48 - processing 3 datasources
> [2009-05-15 13:49:10,689] [DEBUG] [btpool0-5] 
> com.zenoss.zenpacks.zenjmx.call.Utility:89 - JMX URL is: 
> service:jmx:rmi:///jndi/rmi://aa.39.2.162:4999/jmxrmi
> 2009-05-15 13:49:38 DEBUG zen.ZenJMX: Async delete device 
> webredirector.contentpilot.net
> 2009-05-15 13:49:38 DEBUG zen.ZenJMX: Async device update
> 2009-05-15 13:49:38 DEBUG zen.ZenJMX: updateConfig(): updating config for 
> device staging.adomain.net
> 2009-05-15 13:49:38 DEBUG zen.ZenJMX: updateConfig(): datasource ZenJMX 
> Non-Heap Memory device staging.adomain.net
> 2009-05-15 13:49:38 DEBUG zen.ZenJMX: updateConfig(): datasource ZenJMX Open 
> File Descriptors device staging.adomain.net
> 2009-05-15 13:49:38 DEBUG zen.ZenJMX: updateConfig(): datasource ZenJMX 
> Thread Count device staging.adomain.net
> 2009-05-15 13:49:38 DEBUG zen.ZenJMX: updateConfig(): datasource Session 
> Count device staging.adomain.net
> 2009-05-15 13:49:38 DEBUG zen.ZenJMX: updateConfig(): datasource ZenJMX Heap 
> Memory device staging.adomain.net
> 2009-05-15 13:49:38 DEBUG zen.ZenJMX: Async delete device 
> domU-12-31-38-00-8E-27
> [2009-05-15 13:52:20,035] [INFO ] [btpool0-5] 
> com.zenoss.zenpacks.zenjmx.ZenJmxService:55 - finished processing 3 
> datasources for device staging.adomain.net in 189403 ms
> [2009-05-15 13:52:20,035] [DEBUG] [btpool0-5] 
> org.apache.xmlrpc.server.XmlRpcStreamServer:186 - execute: Request performed 
> successfully
> 2009-05-15 13:52:20 DEBUG zen.ZenJMX: rpcCall(): result is [{'device': 
> 'staging.adomain.net', 'eventClass': '/Status/JMX/Connection', 'summary': 
> 'error connecting to server:Failed to connect to 
> service:jmx:rmi:///jndi/rmi://aa.39.2.162:4999/jmxrmi'}]
> 2009-05-15 13:52:20 DEBUG zen.ZenJMX: processResults(): jmx error, sending 
> event for {'device': 'staging.adomain.net', 'eventClass': 
> '/Status/JMX/Connection', 'summary': 'error connecting to server:Failed to 
> connect to service:jmx:rmi:///jndi/rmi://aa.39.2.162:4999/jmxrmi'}
> 2009-05-15 13:52:20 DEBUG zen.ZenJMX: Queueing event {'manager': 'localhost', 
> 'severity': 4, 'device': 'staging.adomain.net', 'eventClass': 
> '/Status/JMX/Connection', 'agent': 'zenjmx', 'summary': 'error connecting to 
> server:Failed to connect to 
> service:jmx:rmi:///jndi/rmi://aa.39.2.162:4999/jmxrmi'}
> 2009-05-15 13:52:20 DEBUG zen.ZenJMX: Total of 1 queued events
> [2009-05-15 13:52:20,038] [DEBUG] [btpool0-5] 
> org.apache.xmlrpc.server.XmlRpcStreamServer:234 - execute: <-
> [2009-05-15 13:52:20,039] [INFO ] [btpool0-3] 
> com.zenoss.zenpacks.zenjmx.ZenJmxService:55 - finished processing 2 
> datasources for device staging.adomain.net in 189430 ms
> [2009-05-15 13:52:20,039] [DEBUG] [btpool0-3] 
> org.apache.xmlrpc.server.XmlRpcStreamServer:186 - execute: Request performed 
> successfully
> 2009-05-15 13:52:20 DEBUG zen.ZenJMX: rpcCall(): result is [{'device': 
> 'staging.adomain.net', 'eventClass': '/Status/JMX/Connection', 'summary': 
> 'error connecting to server:Failed to connect to 
> service:jmx:rmi:///jndi/rmi://staging.adomain.net:4999/jmxrmi'}]
> 2009-05-15 13:52:20 DEBUG zen.ZenJMX: processResults(): jmx error, sending 
> event for {'device': 'staging.adomain.net', 'eventClass': 
> '/Status/JMX/Connection', 'summary': 'error connecting to server:Failed to 
> connect to service:jmx:rmi:///jndi/rmi://staging.adomain.net:4999/jmxrmi'}
> 2009-05-15 13:52:20 DEBUG zen.ZenJMX: Queueing event {'manager': 'localhost', 
> 'severity': 4, 'device': 'staging.adomain.net', 'eventClass': 
> '/Status/JMX/Connection', 'agent': 'zenjmx', 'summary': 'error connecting to 
> server:Failed to connect to 
> service:jmx:rmi:///jndi/rmi://staging.adomain.net:4999/jmxrmi'}
> 2009-05-15 13:52:20 DEBUG zen.ZenJMX: Total of 2 queued events
> 2009-05-15 13:52:20 DEBUG zen.ZenJMX: doCollection(): exiting collection cycle
> 2009-05-15 13:52:20 DEBUG zen.ZenJMX: doCollection(): daemon stats cycle time 
> is 189.439584017
> 2009-05-15 13:52:20 DEBUG zen.ZenJMX: doCollection(): daemon stats data 
> points is 0
> 2009-05-15 13:52:20 DEBUG zen.ZenJMX: doCollection(): daemon stats end cycle 
> is 0
> 2009-05-15 13:52:20 DEBUG zen.ZenJMX: handleFinish(): success [{'device': 
> 'staging.adomain.net', 'eventClass': '/Status/JMX/Connection', 'summary': 
> 'error connecting to server:Failed to connect to 
> service:jmx:rmi:///jndi/rmi://aa.39.2.162:4999/jmxrmi'}]
> 2009-05-15 13:52:20 DEBUG zen.ZenJMX: handleFinish(): success [{'device': 
> 'staging.adomain.net', 'eventClass': '/Status/JMX/Connection', 'summary': 
> 'error connecting to server:Failed to connect to 
> service:jmx:rmi:///jndi/rmi://staging.adomain.net:4999/jmxrmi'}]
> [2009-05-15 13:52:20,043] [DEBUG] [btpool0-3] 
> org.apache.xmlrpc.server.XmlRpcStreamServer:234 - execute: <-
> 2009-05-15 13:54:10 DEBUG zen.ZenJMX: Queueing event {'manager': 'localhost', 
> 'timeout': 900, 'device': 'localhost', 'eventClass': '/Heartbeat', 
> 'component': 'zenjmx', 'agent': 'zenjmx'}
> 2009-05-15 13:54:10 DEBUG zen.ZenJMX: Total of 1 queued events
> 2009-05-15 13:54:10 DEBUG zen.ZenJMX: doCollection(): starting collection 
> cycle
> 2009-05-15 13:54:10 INFO zen.ZenJMX: doCollection(): running collection for 
> staging.adomain.net
> 2009-05-15 13:54:10 INFO zen.ZenJMX: collectJmx(): for staging.adomain.net 
> service:jmx:rmi:///jndi/rmi://staging.adomain.net:4999/jmxrmi
> 2009-05-15 13:54:10 INFO zen.ZenJMX: collectJmx(): for staging.adomain.net 
> RMI:jmxrmi:4999
> [2009-05-15 13:54:10,607] [DEBUG] [btpool0-3] 
> org.apache.xmlrpc.server.XmlRpcStreamServer:174 - execute: ->
> [2009-05-15 13:54:10,609] [DEBUG] [btpool0-3] 
> com.zenoss.zenpacks.zenjmx.ZenJmxService:48 - processing 2 datasources
> [2009-05-15 13:54:10,610] [DEBUG] [btpool0-3] 
> com.zenoss.zenpacks.zenjmx.call.Utility:55 - using JMX Raw URL option
> [2009-05-15 13:54:10,610] [DEBUG] [btpool0-3] 
> com.zenoss.zenpacks.zenjmx.call.Utility:89 - JMX URL is: 
> service:jmx:rmi:///jndi/rmi://staging.adomain.net:4999/jmxrmi
> [2009-05-15 13:54:10,614] [DEBUG] [btpool0-6] 
> org.apache.xmlrpc.server.XmlRpcStreamServer:174 - execute: ->
> [2009-05-15 13:54:10,622] [DEBUG] [btpool0-6] 
> com.zenoss.zenpacks.zenjmx.ZenJmxService:48 - processing 3 datasources
> [2009-05-15 13:54:10,623] [DEBUG] [btpool0-6] 
> com.zenoss.zenpacks.zenjmx.call.Utility:89 - JMX URL is: 
> service:jmx:rmi:///jndi/rmi://aa.39.2.162:4999/jmxrmi
> 



jplouis wrote:
> I don't know much about the JRockit jvm, but it is possible that it may be 
> the cause of the problems.  Have you tried connecting to your tomcat server 
> using jconsole?  If you can use the jconsole installed on the same machine as 
>  ZenJMX.


Yes I am able to connect to the remote server with jconsole. both using the 
service:jmx:rmi syntax and the remoteIP:portnumber syntax.

Any other ideas?




-------------------- m2f --------------------

Read this topic online here:
http://forums.zenoss.com/viewtopic.php?p=34885#34885

-------------------- m2f --------------------



_______________________________________________
zenoss-users mailing list
[email protected]
http://lists.zenoss.org/mailman/listinfo/zenoss-users

Reply via email to