JMX problems w/1.2-0.8

7 views
Skip to first unread message

Andrew McConnell

unread,
Jan 10, 2012, 10:17:30 AM1/10/12
to sca...@googlegroups.com
Hello everyone. Long time listener, first time caller.

I am using Pelops 1.2-0.8 and am trying to monitor the connection pools using JMX (via the Cloudkick service, FWIW). I am monitoring other MBeans within the same running application just fine, but am having no luck with the ones supplied in Pelops.

I am using an object name of "com.scale7.cassandra.pelops.pool:type=pool-dealio", with an attribute name of "connectionscreated". The error message that I get from the monitoring service is "No such attrbute:connectionscreated".

The logging output from Pelops is as follows (IP addresses redacted)
09:44:53,335  INFO Cluster  - Dynamic node discovery is enabled, detecting initial list of nodes from [xxx.xxx.xxx.xxx]
09:44:53,488  INFO CommonsBackedPool  - Initialising pool configuration policy: Config{maxActivePerNode=3, maxTotal=5, maxIdlePerNode=2, minIdlePerNode=10, maxWaitForC
onnection=10000, testConnectionsWhileIdle=false, timeBetweenScheduledMaintenanceTaskRunsMillis=60000, nodeDownSuspensionMillis=10000}
09:44:53,488  INFO CommonsBackedPool  - Initialising pool node selection strategy: org.scale7.cassandra.pelops.pool.LeastLoadedNodeSelectionStrategy@6a5eb489
09:44:53,489  INFO CommonsBackedPool  - Initialising pool node suspension strategy: org.scale7.cassandra.pelops.pool.NoOpNodeSuspensionStrategy@2092dcdb
09:44:53,489  INFO CommonsBackedPool  - Initialising pool connection validator: org.scale7.cassandra.pelops.pool.DescribeVersionConnectionValidator@43a6684f
09:44:53,495  INFO CommonsBackedPool  - Pre-initialising connections for nodes: [xxx.xxx.xxx.xxx:9160]
09:44:53,495  INFO CommonsBackedPool  - Adding node 'xxx.xxx.xxx.xxx' to the pool...
09:44:53,497  INFO CommonsBackedPool  - Registering MBean 'com.scale7.cassandra.pelops.pool:type=PooledNode-Deals-xxx.xxx.xxx.xxx'...
09:44:53,512  INFO CommonsBackedPool  - Running maintenance tasks during initialization...
09:44:53,516  INFO CommonsBackedPool  - Configuring scheduled tasks to run every 60000 milliseconds
09:44:53,518  INFO CommonsBackedPool  - Registering MBean 'com.scale7.cassandra.pelops.pool:type=Pool-Deals'...

Any ideas? Thanks.

Andrew McConnell

unread,
Jan 10, 2012, 10:19:35 AM1/10/12
to sca...@googlegroups.com
Also see that there is a discrepancy between the Pelops-reported name (Pool-Deals) and what I am using (pool-dealio). That is not the problem (just an editing error while editing the post).

Dan Washusen

unread,
Jan 10, 2012, 9:26:52 PM1/10/12
to sca...@googlegroups.com
Hi Andrew,
Are you able to browse to the desired attribute in jconsole?  Is it possible that the JMX attribute names are case sensitive (e.g. ConnectionsCreated instead of connectionscreated)?

Regards,
Dan

p.s. How do you find cloudkick?  

-- 
Dan Washusen
Make big files fly
Reply all
Reply to author
Forward
0 new messages